Class: Google::Apis::ContentV2_1::InvoiceSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InvoiceSummary
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InvoiceSummary
Returns a new instance of InvoiceSummary.
2723 2724 2725 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2723 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
2716 2717 2718 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2716 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
2721 2722 2723 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2721 def product_total @product_total end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2728 2729 2730 2731 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2728 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 |