View Source GoogleApi.WalletObjects.V1.Model.GenericClass (google_api_wallet_objects v0.3.0)
Generic Class
Attributes
-
callbackOptions
(type:GoogleApi.WalletObjects.V1.Model.CallbackOptions.t
, default:nil
) - Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. -
classTemplateInfo
(type:GoogleApi.WalletObjects.V1.Model.ClassTemplateInfo.t
, default:nil
) - Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. -
enableSmartTap
(type:boolean()
, default:nil
) - Available only to Smart Tap enabled partners. Contact support for additional guidance. -
id
(type:String.t
, default:nil
) - Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the formatissuerID.identifier
whereissuerID
is issued by Google andidentifier
is chosen by you. The unique identifier can only include alphanumeric characters,.
,_
, or-
. -
imageModulesData
(type:list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t)
, default:nil
) - Image module data. IfimageModulesData
is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set. -
linksModuleData
(type:GoogleApi.WalletObjects.V1.Model.LinksModuleData.t
, default:nil
) - Links module data. IflinksModuleData
is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. -
messages
(type:list(GoogleApi.WalletObjects.V1.Model.Message.t)
, default:nil
) - An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. -
multipleDevicesAndHoldersAllowedStatus
(type:String.t
, default:nil
) - Identifies whether multiple users and devices will save the same object referencing this class. -
redemptionIssuers
(type:list(String.t)
, default:nil
) - Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. TheenableSmartTap
and object levelsmartTapRedemptionLevel
fields must also be set up correctly in order for a pass to support Smart Tap. -
securityAnimation
(type:GoogleApi.WalletObjects.V1.Model.SecurityAnimation.t
, default:nil
) - Optional information about the security animation. If this is set a security animation will be rendered on pass details. -
textModulesData
(type:list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)
, default:nil
) - Text module data. IftextModulesData
is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. -
viewUnlockRequirement
(type:String.t
, default:nil
) - View Unlock Requirement options for the generic pass.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WalletObjects.V1.Model.GenericClass{ callbackOptions: GoogleApi.WalletObjects.V1.Model.CallbackOptions.t() | nil, classTemplateInfo: GoogleApi.WalletObjects.V1.Model.ClassTemplateInfo.t() | nil, enableSmartTap: boolean() | nil, id: String.t() | nil, imageModulesData: [GoogleApi.WalletObjects.V1.Model.ImageModuleData.t()] | nil, linksModuleData: GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil, messages: [GoogleApi.WalletObjects.V1.Model.Message.t()] | nil, multipleDevicesAndHoldersAllowedStatus: String.t() | nil, redemptionIssuers: [String.t()] | nil, securityAnimation: GoogleApi.WalletObjects.V1.Model.SecurityAnimation.t() | nil, textModulesData: [GoogleApi.WalletObjects.V1.Model.TextModuleData.t()] | nil, viewUnlockRequirement: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.