Class: Google::Apis::ContentV2_1::InvoiceSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InvoiceSummary
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#additional_charge_summaries ⇒ Array<Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary>
Summary of the total amounts of the additional charges.
-
#product_total ⇒ Google::Apis::ContentV2_1::Amount
[required] Total price for the product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InvoiceSummary
constructor
A new instance of InvoiceSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InvoiceSummary
Returns a new instance of InvoiceSummary.
3455 3456 3457 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_charge_summaries ⇒ Array<Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary>
Summary of the total amounts of the additional charges.
Corresponds to the JSON property additionalChargeSummaries
3448 3449 3450 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3448 def additional_charge_summaries @additional_charge_summaries end |
#product_total ⇒ Google::Apis::ContentV2_1::Amount
[required] Total price for the product.
Corresponds to the JSON property productTotal
3453 3454 3455 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3453 def product_total @product_total end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3460 3461 3462 3463 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3460 def update!(**args) @additional_charge_summaries = args[:additional_charge_summaries] if args.key?(:additional_charge_summaries) @product_total = args[:product_total] if args.key?(:product_total) end |