Class GenericClass
Generic Class
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class GenericClass : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("appLinkData")]
public virtual AppLinkData AppLinkData { get; set; }
Property Value
Type | Description |
---|---|
AppLinkData |
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.
Declaration
[JsonProperty("callbackOptions")]
public virtual CallbackOptions CallbackOptions { get; set; }
Property Value
Type | Description |
---|---|
CallbackOptions |
ClassTemplateInfo
Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display.
Declaration
[JsonProperty("classTemplateInfo")]
public virtual ClassTemplateInfo ClassTemplateInfo { get; set; }
Property Value
Type | Description |
---|---|
ClassTemplateInfo |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableSmartTap
Available only to Smart Tap enabled partners. Contact support for additional guidance.
Declaration
[JsonProperty("enableSmartTap")]
public virtual bool? EnableSmartTap { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 issuerID.identifier
where issuerID
is issued by Google and identifier
is
chosen by you. The unique identifier can only include alphanumeric characters, .
, _
, or -
.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageModulesData
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.
Declaration
[JsonProperty("imageModulesData")]
public virtual IList<ImageModuleData> ImageModulesData { get; set; }
Property Value
Type | Description |
---|---|
IList<ImageModuleData> |
LinksModuleData
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.
Declaration
[JsonProperty("linksModuleData")]
public virtual LinksModuleData LinksModuleData { get; set; }
Property Value
Type | Description |
---|---|
LinksModuleData |
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.
Declaration
[JsonProperty("messages")]
public virtual IList<Message> Messages { get; set; }
Property Value
Type | Description |
---|---|
IList<Message> |
MultipleDevicesAndHoldersAllowedStatus
Identifies whether multiple users and devices will save the same object referencing this class.
Declaration
[JsonProperty("multipleDevicesAndHoldersAllowedStatus")]
public virtual string MultipleDevicesAndHoldersAllowedStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
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 enableSmartTap
and object level smartTapRedemptionLevel
fields must also be set up correctly in order for a pass to
support Smart Tap.
Declaration
[JsonProperty("redemptionIssuers")]
public virtual IList<long?> RedemptionIssuers { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
SecurityAnimation
Optional information about the security animation. If this is set a security animation will be rendered on pass details.
Declaration
[JsonProperty("securityAnimation")]
public virtual SecurityAnimation SecurityAnimation { get; set; }
Property Value
Type | Description |
---|---|
SecurityAnimation |
TextModulesData
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.
Declaration
[JsonProperty("textModulesData")]
public virtual IList<TextModuleData> TextModulesData { get; set; }
Property Value
Type | Description |
---|---|
IList<TextModuleData> |
ValueAddedModuleData
Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.
Declaration
[JsonProperty("valueAddedModuleData")]
public virtual IList<ValueAddedModuleData> ValueAddedModuleData { get; set; }
Property Value
Type | Description |
---|---|
IList<ValueAddedModuleData> |
ViewUnlockRequirement
View Unlock Requirement options for the generic pass.
Declaration
[JsonProperty("viewUnlockRequirement")]
public virtual string ViewUnlockRequirement { get; set; }
Property Value
Type | Description |
---|---|
string |