public final class EventTicketClass
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 |
|---|
EventTicketClass() |
| Modifier and Type | Method and Description |
|---|---|
EventTicketClass |
clone() |
Boolean |
getAllowMultipleUsersPerObject()
Deprecated.
|
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.
|
String |
getConfirmationCodeLabel()
The label to use for the confirmation code value
(`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view.
|
String |
getCountryCode()
Country code used to display the card's country (when the user is not in that country), as well
as to display localized content when content is not available in the user's locale.
|
LocalizedString |
getCustomConfirmationCodeLabel()
A custom label to use for the confirmation code value
(`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view.
|
LocalizedString |
getCustomGateLabel()
A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail
view.
|
LocalizedString |
getCustomRowLabel()
A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail
view.
|
LocalizedString |
getCustomSeatLabel()
A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail
view.
|
LocalizedString |
getCustomSectionLabel()
A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card
detail view.
|
EventDateTime |
getDateTime()
The date & time information of the event.
|
Boolean |
getEnableSmartTap()
Identifies whether this class supports Smart Tap.
|
String |
getEventId()
The ID of the event.
|
LocalizedString |
getEventName()
Required.
|
LocalizedString |
getFinePrint()
The fine print, terms, or conditions of the ticket.
|
String |
getGateLabel()
The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail
view.
|
Image |
getHeroImage()
Optional banner image displayed on the front of the card.
|
String |
getHexBackgroundColor()
The background color for the card.
|
Uri |
getHomepageUri()
The URI of your application's home page.
|
String |
getId()
Required.
|
List<ImageModuleData> |
getImageModulesData()
Image module data.
|
InfoModuleData |
getInfoModuleData()
Deprecated.
|
String |
getIssuerName()
Required.
|
String |
getKind()
Identifies what kind of resource this is.
|
LinksModuleData |
getLinksModuleData()
Links module data.
|
LocalizedString |
getLocalizedIssuerName()
Translated strings for the issuer_name.
|
List<LatLongPoint> |
getLocations()
Note: This field is currently not supported to trigger geo notifications.
|
Image |
getLogo()
The logo image of the ticket.
|
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.
|
String |
getNotifyPreference()
Whether or not field updates to this class should trigger notifications.
|
List<Long> |
getRedemptionIssuers()
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
Review |
getReview()
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
String |
getReviewStatus()
Required.
|
String |
getRowLabel()
The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view.
|
String |
getSeatLabel()
The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail
view.
|
String |
getSectionLabel()
The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card
detail view.
|
SecurityAnimation |
getSecurityAnimation()
Optional information about the security animation.
|
List<TextModuleData> |
getTextModulesData()
Text module data.
|
List<ValueAddedModuleData> |
getValueAddedModuleData()
Optional value added module data.
|
EventVenue |
getVenue()
Event venue details.
|
Long |
getVersion()
Deprecated
|
String |
getViewUnlockRequirement()
View Unlock Requirement options for the event ticket.
|
Image |
getWideLogo()
The wide logo of the ticket.
|
Image |
getWordMark()
Deprecated.
|
EventTicketClass |
set(String fieldName,
Object value) |
EventTicketClass |
setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
Deprecated.
|
EventTicketClass |
setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
EventTicketClass |
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.
|
EventTicketClass |
setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
EventTicketClass |
setConfirmationCodeLabel(String confirmationCodeLabel)
The label to use for the confirmation code value
(`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view.
|
EventTicketClass |
setCountryCode(String countryCode)
Country code used to display the card's country (when the user is not in that country), as well
as to display localized content when content is not available in the user's locale.
|
EventTicketClass |
setCustomConfirmationCodeLabel(LocalizedString customConfirmationCodeLabel)
A custom label to use for the confirmation code value
(`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view.
|
EventTicketClass |
setCustomGateLabel(LocalizedString customGateLabel)
A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail
view.
|
EventTicketClass |
setCustomRowLabel(LocalizedString customRowLabel)
A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail
view.
|
EventTicketClass |
setCustomSeatLabel(LocalizedString customSeatLabel)
A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail
view.
|
EventTicketClass |
setCustomSectionLabel(LocalizedString customSectionLabel)
A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card
detail view.
|
EventTicketClass |
setDateTime(EventDateTime dateTime)
The date & time information of the event.
|
EventTicketClass |
setEnableSmartTap(Boolean enableSmartTap)
Identifies whether this class supports Smart Tap.
|
EventTicketClass |
setEventId(String eventId)
The ID of the event.
|
EventTicketClass |
setEventName(LocalizedString eventName)
Required.
|
EventTicketClass |
setFinePrint(LocalizedString finePrint)
The fine print, terms, or conditions of the ticket.
|
EventTicketClass |
setGateLabel(String gateLabel)
The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail
view.
|
EventTicketClass |
setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
EventTicketClass |
setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
EventTicketClass |
setHomepageUri(Uri homepageUri)
The URI of your application's home page.
|
EventTicketClass |
setId(String id)
Required.
|
EventTicketClass |
setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
EventTicketClass |
setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
EventTicketClass |
setIssuerName(String issuerName)
Required.
|
EventTicketClass |
setKind(String kind)
Identifies what kind of resource this is.
|
EventTicketClass |
setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
EventTicketClass |
setLocalizedIssuerName(LocalizedString localizedIssuerName)
Translated strings for the issuer_name.
|
EventTicketClass |
setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
EventTicketClass |
setLogo(Image logo)
The logo image of the ticket.
|
EventTicketClass |
setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
EventTicketClass |
setMessages(List<Message> messages)
An array of messages displayed in the app.
|
EventTicketClass |
setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
EventTicketClass |
setNotifyPreference(String notifyPreference)
Whether or not field updates to this class should trigger notifications.
|
EventTicketClass |
setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
EventTicketClass |
setReview(Review review)
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
EventTicketClass |
setReviewStatus(String reviewStatus)
Required.
|
EventTicketClass |
setRowLabel(String rowLabel)
The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view.
|
EventTicketClass |
setSeatLabel(String seatLabel)
The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail
view.
|
EventTicketClass |
setSectionLabel(String sectionLabel)
The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card
detail view.
|
EventTicketClass |
setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
EventTicketClass |
setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
EventTicketClass |
setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
EventTicketClass |
setVenue(EventVenue venue)
Event venue details.
|
EventTicketClass |
setVersion(Long version)
Deprecated
|
EventTicketClass |
setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the event ticket.
|
EventTicketClass |
setWideLogo(Image wideLogo)
The wide logo of the ticket.
|
EventTicketClass |
setWordMark(Image wordMark)
Deprecated.
|
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 Boolean getAllowMultipleUsersPerObject()
null for nonepublic EventTicketClass setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
allowMultipleUsersPerObject - allowMultipleUsersPerObject or null for nonepublic AppLinkData getAppLinkData()
null for nonepublic EventTicketClass setAppLinkData(AppLinkData appLinkData)
appLinkData - appLinkData or null for nonepublic CallbackOptions getCallbackOptions()
null for nonepublic EventTicketClass setCallbackOptions(CallbackOptions callbackOptions)
callbackOptions - callbackOptions or null for nonepublic ClassTemplateInfo getClassTemplateInfo()
null for nonepublic EventTicketClass setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
classTemplateInfo - classTemplateInfo or null for nonepublic String getConfirmationCodeLabel()
null for nonepublic EventTicketClass setConfirmationCodeLabel(String confirmationCodeLabel)
confirmationCodeLabel - confirmationCodeLabel or null for nonepublic String getCountryCode()
null for nonepublic EventTicketClass setCountryCode(String countryCode)
countryCode - countryCode or null for nonepublic LocalizedString getCustomConfirmationCodeLabel()
null for nonepublic EventTicketClass setCustomConfirmationCodeLabel(LocalizedString customConfirmationCodeLabel)
customConfirmationCodeLabel - customConfirmationCodeLabel or null for nonepublic LocalizedString getCustomGateLabel()
null for nonepublic EventTicketClass setCustomGateLabel(LocalizedString customGateLabel)
customGateLabel - customGateLabel or null for nonepublic LocalizedString getCustomRowLabel()
null for nonepublic EventTicketClass setCustomRowLabel(LocalizedString customRowLabel)
customRowLabel - customRowLabel or null for nonepublic LocalizedString getCustomSeatLabel()
null for nonepublic EventTicketClass setCustomSeatLabel(LocalizedString customSeatLabel)
customSeatLabel - customSeatLabel or null for nonepublic LocalizedString getCustomSectionLabel()
null for nonepublic EventTicketClass setCustomSectionLabel(LocalizedString customSectionLabel)
customSectionLabel - customSectionLabel or null for nonepublic EventDateTime getDateTime()
null for nonepublic EventTicketClass setDateTime(EventDateTime dateTime)
dateTime - dateTime or null for nonepublic Boolean getEnableSmartTap()
null for nonepublic EventTicketClass setEnableSmartTap(Boolean enableSmartTap)
enableSmartTap - enableSmartTap or null for nonepublic String getEventId()
null for nonepublic EventTicketClass setEventId(String eventId)
eventId - eventId or null for nonepublic LocalizedString getEventName()
null for nonepublic EventTicketClass setEventName(LocalizedString eventName)
eventName - eventName or null for nonepublic LocalizedString getFinePrint()
null for nonepublic EventTicketClass setFinePrint(LocalizedString finePrint)
finePrint - finePrint or null for nonepublic String getGateLabel()
null for nonepublic EventTicketClass setGateLabel(String gateLabel)
gateLabel - gateLabel or null for nonepublic Image getHeroImage()
null for nonepublic EventTicketClass setHeroImage(Image heroImage)
heroImage - heroImage or null for nonepublic String getHexBackgroundColor()
null for nonepublic EventTicketClass setHexBackgroundColor(String hexBackgroundColor)
hexBackgroundColor - hexBackgroundColor or null for nonepublic Uri getHomepageUri()
null for nonepublic EventTicketClass setHomepageUri(Uri homepageUri)
homepageUri - homepageUri or null for nonepublic String getId()
null for nonepublic EventTicketClass setId(String id)
id - id or null for nonepublic List<ImageModuleData> getImageModulesData()
null for nonepublic EventTicketClass setImageModulesData(List<ImageModuleData> imageModulesData)
imageModulesData - imageModulesData or null for nonepublic InfoModuleData getInfoModuleData()
null for nonepublic EventTicketClass setInfoModuleData(InfoModuleData infoModuleData)
infoModuleData - infoModuleData or null for nonepublic String getIssuerName()
null for nonepublic EventTicketClass setIssuerName(String issuerName)
issuerName - issuerName or null for nonepublic String getKind()
null for nonepublic EventTicketClass setKind(String kind)
kind - kind or null for nonepublic LinksModuleData getLinksModuleData()
null for nonepublic EventTicketClass setLinksModuleData(LinksModuleData linksModuleData)
linksModuleData - linksModuleData or null for nonepublic LocalizedString getLocalizedIssuerName()
null for nonepublic EventTicketClass setLocalizedIssuerName(LocalizedString localizedIssuerName)
localizedIssuerName - localizedIssuerName or null for nonepublic List<LatLongPoint> getLocations()
null for nonepublic EventTicketClass setLocations(List<LatLongPoint> locations)
locations - locations or null for nonepublic Image getLogo()
null for nonepublic EventTicketClass setLogo(Image logo)
logo - logo or null for nonepublic List<MerchantLocation> getMerchantLocations()
null for nonepublic EventTicketClass setMerchantLocations(List<MerchantLocation> merchantLocations)
merchantLocations - merchantLocations or null for nonepublic List<Message> getMessages()
null for nonepublic EventTicketClass setMessages(List<Message> messages)
messages - messages or null for nonepublic String getMultipleDevicesAndHoldersAllowedStatus()
null for nonepublic EventTicketClass setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
multipleDevicesAndHoldersAllowedStatus - multipleDevicesAndHoldersAllowedStatus or null for nonepublic String getNotifyPreference()
null for nonepublic EventTicketClass setNotifyPreference(String notifyPreference)
notifyPreference - notifyPreference or null for nonepublic List<Long> getRedemptionIssuers()
null for nonepublic EventTicketClass setRedemptionIssuers(List<Long> redemptionIssuers)
redemptionIssuers - redemptionIssuers or null for nonepublic Review getReview()
null for nonepublic EventTicketClass setReview(Review review)
review - review or null for nonepublic String getReviewStatus()
null for nonepublic EventTicketClass setReviewStatus(String reviewStatus)
reviewStatus - reviewStatus or null for nonepublic String getRowLabel()
null for nonepublic EventTicketClass setRowLabel(String rowLabel)
rowLabel - rowLabel or null for nonepublic String getSeatLabel()
null for nonepublic EventTicketClass setSeatLabel(String seatLabel)
seatLabel - seatLabel or null for nonepublic String getSectionLabel()
null for nonepublic EventTicketClass setSectionLabel(String sectionLabel)
sectionLabel - sectionLabel or null for nonepublic SecurityAnimation getSecurityAnimation()
null for nonepublic EventTicketClass setSecurityAnimation(SecurityAnimation securityAnimation)
securityAnimation - securityAnimation or null for nonepublic List<TextModuleData> getTextModulesData()
null for nonepublic EventTicketClass setTextModulesData(List<TextModuleData> textModulesData)
textModulesData - textModulesData or null for nonepublic List<ValueAddedModuleData> getValueAddedModuleData()
null for nonepublic EventTicketClass setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
valueAddedModuleData - valueAddedModuleData or null for nonepublic EventVenue getVenue()
null for nonepublic EventTicketClass setVenue(EventVenue venue)
venue - venue or null for nonepublic Long getVersion()
null for nonepublic EventTicketClass setVersion(Long version)
version - version or null for nonepublic String getViewUnlockRequirement()
null for nonepublic EventTicketClass setViewUnlockRequirement(String viewUnlockRequirement)
viewUnlockRequirement - viewUnlockRequirement or null for nonepublic Image getWideLogo()
null for nonepublic EventTicketClass setWideLogo(Image wideLogo)
wideLogo - wideLogo or null for nonepublic Image getWordMark()
null for nonepublic EventTicketClass setWordMark(Image wordMark)
wordMark - wordMark or null for nonepublic EventTicketClass set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EventTicketClass clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.