class Google::Apis::ContentV2::InvoiceSummary
Attributes
Summary of the total amounts of the additional charges. Corresponds to the JSON property `additionalChargeSummaries` @return [Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>]
Deprecated. Corresponds to the JSON property `customerBalance` @return [Google::Apis::ContentV2::Amount]
Deprecated. Corresponds to the JSON property `googleBalance` @return [Google::Apis::ContentV2::Amount]
Deprecated. Corresponds to the JSON property `merchantBalance` @return [Google::Apis::ContentV2::Amount]
- required
-
Total price for the product.
Corresponds to the JSON property `productTotal` @return [Google::Apis::ContentV2::Amount]
Deprecated. Corresponds to the JSON property `promotionSummaries` @return [Array<Google::Apis::ContentV2::Promotion>]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 3356 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 3361 def update!(**args) @additional_charge_summaries = args[:additional_charge_summaries] if args.key?(:additional_charge_summaries) @customer_balance = args[:customer_balance] if args.key?(:customer_balance) @google_balance = args[:google_balance] if args.key?(:google_balance) @merchant_balance = args[:merchant_balance] if args.key?(:merchant_balance) @product_total = args[:product_total] if args.key?(:product_total) @promotion_summaries = args[:promotion_summaries] if args.key?(:promotion_summaries) end