View Source GoogleApi.Content.V21.Model.UnitInvoice (google_api_content v0.66.0)

Attributes

  • additionalCharges (type: list(GoogleApi.Content.V21.Model.UnitInvoiceAdditionalCharge.t), default: nil) - Additional charges for a unit, for example, shipping costs.
  • unitPrice (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - [required] Pre-tax or post-tax price of one unit depending on the locality of the order. Note: Invoicing works on a per unit basis. The unitPrice is the price of a single unit, and will be multiplied by the number of entries in shipmentUnitId.
  • unitPriceTaxes (type: list(GoogleApi.Content.V21.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.V21.Model.UnitInvoice{
  additionalCharges:
    [GoogleApi.Content.V21.Model.UnitInvoiceAdditionalCharge.t()] | nil,
  unitPrice: GoogleApi.Content.V21.Model.Price.t() | nil,
  unitPriceTaxes: [GoogleApi.Content.V21.Model.UnitInvoiceTaxLine.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.