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

View Source

Attributes

  • oneItem (type: GoogleApi.WalletObjects.V1.Model.CardRowOneItem.t, default: nil) - Template for a row containing one item. Exactly one of "one_item", "two_items", "three_items" must be set.
  • threeItems (type: GoogleApi.WalletObjects.V1.Model.CardRowThreeItems.t, default: nil) - Template for a row containing three items. Exactly one of "one_item", "two_items", "three_items" must be set.
  • twoItems (type: GoogleApi.WalletObjects.V1.Model.CardRowTwoItems.t, default: nil) - Template for a row containing two items. Exactly one of "one_item", "two_items", "three_items" must be set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.CardRowTemplateInfo{
  oneItem: GoogleApi.WalletObjects.V1.Model.CardRowOneItem.t() | nil,
  threeItems: GoogleApi.WalletObjects.V1.Model.CardRowThreeItems.t() | nil,
  twoItems: GoogleApi.WalletObjects.V1.Model.CardRowTwoItems.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.