GoogleApi.Content.V21.Model.MonetaryAmount (google_api_content v0.58.1) View Source

Attributes

  • priceAmount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The pre-tax or post-tax price depends on the location of the order. - For countries (e.g. US) where price attribute excludes tax, this field corresponds to the pre-tax value. - For coutries (e.g. France) where price attribute includes tax, this field corresponds to the post-tax value .
  • taxAmount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - Tax value, present only for countries where price attribute excludes tax (e.g. US). No tax is referenced as 0 value with the corresponding currency.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.MonetaryAmount{
  priceAmount: GoogleApi.Content.V21.Model.Price.t() | nil,
  taxAmount: GoogleApi.Content.V21.Model.Price.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.