class Google::Apis::ContentV2::InvoiceSummary

Attributes

additional_charge_summaries[RW]

Summary of the total amounts of the additional charges. Corresponds to the JSON property `additionalChargeSummaries` @return [Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>]

customer_balance[RW]

Deprecated. Corresponds to the JSON property `customerBalance` @return [Google::Apis::ContentV2::Amount]

google_balance[RW]

Deprecated. Corresponds to the JSON property `googleBalance` @return [Google::Apis::ContentV2::Amount]

merchant_balance[RW]

Deprecated. Corresponds to the JSON property `merchantBalance` @return [Google::Apis::ContentV2::Amount]

product_total[RW]
required

Total price for the product.

Corresponds to the JSON property `productTotal` @return [Google::Apis::ContentV2::Amount]

promotion_summaries[RW]

Deprecated. Corresponds to the JSON property `promotionSummaries` @return [Array<Google::Apis::ContentV2::Promotion>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 3356
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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