GoogleApi.WalletObjects.V1.Model.Money (google_api_wallet_objects v0.12.0)

View Source

Attributes

  • currencyCode (type: String.t, default: nil) - The currency code, such as "USD" or "EUR."
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#money".
  • micros (type: String.t, default: nil) - The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.Money{
  currencyCode: String.t() | nil,
  kind: String.t() | nil,
  micros: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.