GoogleApi.WalletObjects.V1.Model.TemplateItem (google_api_wallet_objects v0.12.0)
View SourceAttributes
-
firstValue
(type:GoogleApi.WalletObjects.V1.Model.FieldSelector.t
, default:nil
) - A reference to a field to display. If bothfirstValue
andsecondValue
are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". -
predefinedItem
(type:String.t
, default:nil
) - A predefined item to display. Only one offirstValue
orpredefinedItem
may be set. -
secondValue
(type:GoogleApi.WalletObjects.V1.Model.FieldSelector.t
, default:nil
) - A reference to a field to display. This may only be populated if thefirstValue
field is populated.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WalletObjects.V1.Model.TemplateItem{ firstValue: GoogleApi.WalletObjects.V1.Model.FieldSelector.t() | nil, predefinedItem: String.t() | nil, secondValue: GoogleApi.WalletObjects.V1.Model.FieldSelector.t() | nil }