google_api_content v0.1.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): Customer balance on this invoice. A positive amount means the customer is paying, a negative one means the customer is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0. Defaults to: null.
  • googleBalance (Amount): Google balance on this invoice. A positive amount means Google is paying, a negative one means Google is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0. Defaults to: null.
  • merchantBalance (Amount): Merchant balance on this invoice. A positive amount means the merchant is paying, a negative one means the merchant is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0. Defaults to: null.
  • productTotal (Amount): 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

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.