public final class GenericClass
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Wallet API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GenericClass() |
| Modifier and Type | Method and Description |
|---|---|
GenericClass |
clone() |
AppLinkData |
getAppLinkData()
Optional app or website link that will be displayed as a button on the front of the pass.
|
CallbackOptions |
getCallbackOptions()
Callback options to be used to call the issuer back for every save/delete of an object for this
class by the end-user.
|
ClassTemplateInfo |
getClassTemplateInfo()
Template information about how the class should be displayed.
|
Boolean |
getEnableSmartTap()
Available only to Smart Tap enabled partners.
|
String |
getId()
Required.
|
List<ImageModuleData> |
getImageModulesData()
Image module data.
|
LinksModuleData |
getLinksModuleData()
Links module data.
|
List<MerchantLocation> |
getMerchantLocations()
Merchant locations.
|
List<Message> |
getMessages()
An array of messages displayed in the app.
|
String |
getMultipleDevicesAndHoldersAllowedStatus()
Identifies whether multiple users and devices will save the same object referencing this class.
|
List<Long> |
getRedemptionIssuers()
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
SecurityAnimation |
getSecurityAnimation()
Optional information about the security animation.
|
List<TextModuleData> |
getTextModulesData()
Text module data.
|
List<ValueAddedModuleData> |
getValueAddedModuleData()
Optional value added module data.
|
String |
getViewUnlockRequirement()
View Unlock Requirement options for the generic pass.
|
GenericClass |
set(String fieldName,
Object value) |
GenericClass |
setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
GenericClass |
setCallbackOptions(CallbackOptions 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.
|
GenericClass |
setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
GenericClass |
setEnableSmartTap(Boolean enableSmartTap)
Available only to Smart Tap enabled partners.
|
GenericClass |
setId(String id)
Required.
|
GenericClass |
setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
GenericClass |
setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
GenericClass |
setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
GenericClass |
setMessages(List<Message> messages)
An array of messages displayed in the app.
|
GenericClass |
setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
GenericClass |
setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
GenericClass |
setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
GenericClass |
setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
GenericClass |
setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
GenericClass |
setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the generic pass.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic AppLinkData getAppLinkData()
null for nonepublic GenericClass setAppLinkData(AppLinkData appLinkData)
appLinkData - appLinkData or null for nonepublic CallbackOptions getCallbackOptions()
null for nonepublic GenericClass setCallbackOptions(CallbackOptions callbackOptions)
callbackOptions - callbackOptions or null for nonepublic ClassTemplateInfo getClassTemplateInfo()
null for nonepublic GenericClass setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
classTemplateInfo - classTemplateInfo or null for nonepublic Boolean getEnableSmartTap()
null for nonepublic GenericClass setEnableSmartTap(Boolean enableSmartTap)
enableSmartTap - enableSmartTap or null for nonepublic String getId()
null for nonepublic GenericClass setId(String id)
id - id or null for nonepublic List<ImageModuleData> getImageModulesData()
null for nonepublic GenericClass setImageModulesData(List<ImageModuleData> imageModulesData)
imageModulesData - imageModulesData or null for nonepublic LinksModuleData getLinksModuleData()
null for nonepublic GenericClass setLinksModuleData(LinksModuleData linksModuleData)
linksModuleData - linksModuleData or null for nonepublic List<MerchantLocation> getMerchantLocations()
null for nonepublic GenericClass setMerchantLocations(List<MerchantLocation> merchantLocations)
merchantLocations - merchantLocations or null for nonepublic List<Message> getMessages()
null for nonepublic GenericClass setMessages(List<Message> messages)
messages - messages or null for nonepublic String getMultipleDevicesAndHoldersAllowedStatus()
null for nonepublic GenericClass setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
multipleDevicesAndHoldersAllowedStatus - multipleDevicesAndHoldersAllowedStatus or null for nonepublic List<Long> getRedemptionIssuers()
null for nonepublic GenericClass setRedemptionIssuers(List<Long> redemptionIssuers)
redemptionIssuers - redemptionIssuers or null for nonepublic SecurityAnimation getSecurityAnimation()
null for nonepublic GenericClass setSecurityAnimation(SecurityAnimation securityAnimation)
securityAnimation - securityAnimation or null for nonepublic List<TextModuleData> getTextModulesData()
null for nonepublic GenericClass setTextModulesData(List<TextModuleData> textModulesData)
textModulesData - textModulesData or null for nonepublic List<ValueAddedModuleData> getValueAddedModuleData()
null for nonepublic GenericClass setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
valueAddedModuleData - valueAddedModuleData or null for nonepublic String getViewUnlockRequirement()
null for nonepublic GenericClass setViewUnlockRequirement(String viewUnlockRequirement)
viewUnlockRequirement - viewUnlockRequirement or null for nonepublic GenericClass set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GenericClass clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.