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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GenericClass() |
Modifier and Type | Method and Description |
---|---|
GenericClass |
clone() |
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.
|
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.
|
String |
getViewUnlockRequirement()
View Unlock Requirement options for the generic pass.
|
GenericClass |
set(String fieldName,
Object value) |
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 |
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 |
setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the generic pass.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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 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.GenericJson
public GenericClass clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.