View Source GoogleApi.Content.V21.Model.Amount (google_api_content v0.67.1)

Attributes

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.Amount{
  priceAmount: 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.