View Source GoogleApi.MerchantAPI.Reports_v1beta.Model.Price (google_api_merchant_api v0.3.0)

The price represented as a number and currency.

Attributes

  • amountMicros (type: String.t, default: nil) - The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
  • currencyCode (type: String.t, default: nil) - The currency of the price using three-letter acronyms according to ISO 4217.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MerchantAPI.Reports_v1beta.Model.Price{
  amountMicros: String.t() | nil,
  currencyCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.