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

Attributes

  • priceAmount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The pre-tax or post-tax price depending on the location of the order.
  • remittedTaxAmount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - Remitted tax value.
  • taxAmount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - Tax value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ProductAmount{
  priceAmount: GoogleApi.Content.V21.Model.Price.t() | nil,
  remittedTaxAmount: GoogleApi.Content.V21.Model.Price.t() | nil,
  taxAmount: GoogleApi.Content.V21.Model.Price.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.