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

View Source

Attributes

  • double (type: float(), default: nil) - The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
  • int (type: integer(), default: nil) - The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
  • money (type: GoogleApi.WalletObjects.V1.Model.Money.t, default: nil) - The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated.
  • string (type: String.t, default: nil) - The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.LoyaltyPointsBalance{
  double: float() | nil,
  int: integer() | nil,
  money: GoogleApi.WalletObjects.V1.Model.Money.t() | nil,
  string: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.