google_api_content v0.2.0 GoogleApi.Content.V2.Model.InvoiceSummary View Source
Attributes
- additionalChargeSummaries ([InvoiceSummaryAdditionalChargeSummary]): Summary of the total amounts of the additional charges. Defaults to:
null
. - customerBalance (Amount): [required] Customer balance on this invoice. A negative amount means the customer is paying, a positive one means the customer is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero. Furthermore the absolute value of this amount is expected to be equal to the sum of product amount and additional charges, minus promotions. Defaults to:
null
. - googleBalance (Amount): [required] Google balance on this invoice. A negative amount means Google is paying, a positive one means Google is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero. Defaults to:
null
. - merchantBalance (Amount): [required] Merchant balance on this invoice. A negative amount means the merchant is paying, a positive one means the merchant is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero. Defaults to:
null
. - productTotal (Amount): [required] Total price for the product. Defaults to:
null
. - promotionSummaries ([Promotion]): Summary for each promotion. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t() :: %GoogleApi.Content.V2.Model.InvoiceSummary{ additionalChargeSummaries: [ GoogleApi.Content.V2.Model.InvoiceSummaryAdditionalChargeSummary.t() ], customerBalance: GoogleApi.Content.V2.Model.Amount.t(), googleBalance: GoogleApi.Content.V2.Model.Amount.t(), merchantBalance: GoogleApi.Content.V2.Model.Amount.t(), productTotal: GoogleApi.Content.V2.Model.Amount.t(), promotionSummaries: [GoogleApi.Content.V2.Model.Promotion.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.