GenericClass
import type { GenericClass } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";
Generic Class
§Properties
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.
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.
Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
Available only to Smart Tap enabled partners. Contact support for additional guidance.
Required. The unique identifier for the class. This ID must be unique
across all from an issuer. This value needs to follow the format
issuerID.identifier
where issuerID
is issued by Google and identifier
is chosen by you. The unique identifier can only include alphanumeric
characters, .
, _
, or -
.
Image module data. If imageModulesData
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.
Links module data. If linksModuleData
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.
Identifies whether multiple users and devices will save the same object referencing this class.
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 enableSmartTap
and
object level smartTapRedemptionLevel
fields must also be set up correctly
in order for a pass to support Smart Tap.
Optional information about the security animation. If this is set a security animation will be rendered on pass details.
Text module data. If textModulesData
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.