View Source GoogleApi.Content.V2.Model.UnitInvoice (google_api_content v0.67.1)

Attributes

  • additionalCharges (type: list(GoogleApi.Content.V2.Model.UnitInvoiceAdditionalCharge.t), default: nil) - Additional charges for a unit, e.g. shipping costs.
  • promotions (type: list(GoogleApi.Content.V2.Model.Promotion.t), default: nil) - Deprecated.
  • unitPricePretax (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - [required] Price of the unit, before applying taxes.
  • unitPriceTaxes (type: list(GoogleApi.Content.V2.Model.UnitInvoiceTaxLine.t), default: nil) - Tax amounts to apply to the unit price.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.UnitInvoice{
  additionalCharges:
    [GoogleApi.Content.V2.Model.UnitInvoiceAdditionalCharge.t()] | nil,
  promotions: [GoogleApi.Content.V2.Model.Promotion.t()] | nil,
  unitPricePretax: GoogleApi.Content.V2.Model.Price.t() | nil,
  unitPriceTaxes: [GoogleApi.Content.V2.Model.UnitInvoiceTaxLine.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.