Resource: GenericClass
Generic Class
JSON representation |
---|
{ "id": string, "classTemplateInfo": { object ( |
Fields | |
---|---|
id |
Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format |
classTemplateInfo |
Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. |
imageModulesData[] |
Image module data. If |
textModulesData[] |
Text module data. If |
linksModuleData |
Links module data. If |
enableSmartTap |
Available only to Smart Tap enabled partners. Contact support for additional guidance. |
redemptionIssuers[] |
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. The |
securityAnimation |
Optional information about the security animation. If this is set a security animation will be rendered on pass details. |
multipleDevicesAndHoldersAllowedStatus |
Identifies whether multiple users and devices will save the same object referencing this class. |
callbackOptions |
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. |
viewUnlockRequirement |
View Unlock Requirement options for the generic pass. |
messages[] |
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. |
appLinkData |
Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. |
Methods |
|
---|---|
|
Adds a message to the generic class referenced by the given class ID. |
|
Returns the generic class with the given class ID. |
|
Inserts a generic class with the given ID and properties. |
|
Returns a list of all generic classes for a given issuer ID. |
|
Updates the generic class referenced by the given class ID. |
|
Updates the Generic class referenced by the given class ID. |