| Package | Description |
|---|---|
| com.google.api.services.walletobjects | |
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Giftcardclass.Insert |
Walletobjects.Giftcardclass.insert(GiftCardClass content)
Inserts an gift card class with the given ID and properties.
|
Walletobjects.Giftcardclass.Patch |
Walletobjects.Giftcardclass.patch(String resourceId,
GiftCardClass content)
Updates the gift card class referenced by the given class ID.
|
Walletobjects.Giftcardclass.Update |
Walletobjects.Giftcardclass.update(String resourceId,
GiftCardClass content)
Updates the gift card class referenced by the given class ID.
|
| Constructor and Description |
|---|
Insert(GiftCardClass content)
Inserts an gift card class with the given ID and properties.
|
Patch(String resourceId,
GiftCardClass content)
Updates the gift card class referenced by the given class ID.
|
Update(String resourceId,
GiftCardClass content)
Updates the gift card class referenced by the given class ID.
|
| Modifier and Type | Method and Description |
|---|---|
GiftCardClass |
GiftCardClass.clone() |
GiftCardClass |
GiftCardObject.getClassReference()
A copy of the inherited fields of the parent class.
|
GiftCardClass |
GiftCardClassAddMessageResponse.getResource()
The updated GiftCardClass resource.
|
GiftCardClass |
GiftCardClass.set(String fieldName,
Object value) |
GiftCardClass |
GiftCardClass.setAllowBarcodeRedemption(Boolean allowBarcodeRedemption)
Determines whether the merchant supports gift card redemption using barcode.
|
GiftCardClass |
GiftCardClass.setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
Deprecated.
|
GiftCardClass |
GiftCardClass.setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
GiftCardClass |
GiftCardClass.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.
|
GiftCardClass |
GiftCardClass.setCardNumberLabel(String cardNumberLabel)
The label to display for the card number, such as "Card Number".
|
GiftCardClass |
GiftCardClass.setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
GiftCardClass |
GiftCardClass.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.
|
GiftCardClass |
GiftCardClass.setEnableSmartTap(Boolean enableSmartTap)
Identifies whether this class supports Smart Tap.
|
GiftCardClass |
GiftCardClass.setEventNumberLabel(String eventNumberLabel)
The label to display for event number, such as "Target Event #".
|
GiftCardClass |
GiftCardClass.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
GiftCardClass |
GiftCardClass.setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
GiftCardClass |
GiftCardClass.setHomepageUri(Uri homepageUri)
The URI of your application's home page.
|
GiftCardClass |
GiftCardClass.setId(String id)
Required.
|
GiftCardClass |
GiftCardClass.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
GiftCardClass |
GiftCardClass.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
GiftCardClass |
GiftCardClass.setIssuerName(String issuerName)
Required.
|
GiftCardClass |
GiftCardClass.setKind(String kind)
Identifies what kind of resource this is.
|
GiftCardClass |
GiftCardClass.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
GiftCardClass |
GiftCardClass.setLocalizedCardNumberLabel(LocalizedString localizedCardNumberLabel)
Translated strings for the card_number_label.
|
GiftCardClass |
GiftCardClass.setLocalizedEventNumberLabel(LocalizedString localizedEventNumberLabel)
Translated strings for the event_number_label.
|
GiftCardClass |
GiftCardClass.setLocalizedIssuerName(LocalizedString localizedIssuerName)
Translated strings for the issuer_name.
|
GiftCardClass |
GiftCardClass.setLocalizedMerchantName(LocalizedString localizedMerchantName)
Translated strings for the merchant_name.
|
GiftCardClass |
GiftCardClass.setLocalizedPinLabel(LocalizedString localizedPinLabel)
Translated strings for the pin_label.
|
GiftCardClass |
GiftCardClass.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
GiftCardClass |
GiftCardClass.setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
GiftCardClass |
GiftCardClass.setMerchantName(String merchantName)
Merchant name, such as "Adam's Apparel".
|
GiftCardClass |
GiftCardClass.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
GiftCardClass |
GiftCardClass.setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
GiftCardClass |
GiftCardClass.setNotifyPreference(String notifyPreference)
Whether or not field updates to this class should trigger notifications.
|
GiftCardClass |
GiftCardClass.setPinLabel(String pinLabel)
The label to display for the PIN, such as "4-digit PIN".
|
GiftCardClass |
GiftCardClass.setProgramLogo(Image programLogo)
The logo of the gift card program or company.
|
GiftCardClass |
GiftCardClass.setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
GiftCardClass |
GiftCardClass.setReview(Review review)
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
GiftCardClass |
GiftCardClass.setReviewStatus(String reviewStatus)
Required.
|
GiftCardClass |
GiftCardClass.setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
GiftCardClass |
GiftCardClass.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
GiftCardClass |
GiftCardClass.setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
GiftCardClass |
GiftCardClass.setVersion(Long version)
Deprecated
|
GiftCardClass |
GiftCardClass.setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the gift card.
|
GiftCardClass |
GiftCardClass.setWideProgramLogo(Image wideProgramLogo)
The wide logo of the gift card program or company.
|
GiftCardClass |
GiftCardClass.setWordMark(Image wordMark)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<GiftCardClass> |
Resources.getGiftCardClasses()
A list of gift card classes.
|
List<GiftCardClass> |
GiftCardClassListResponse.getResources()
Resources corresponding to the list request.
|
| Modifier and Type | Method and Description |
|---|---|
GiftCardObject |
GiftCardObject.setClassReference(GiftCardClass classReference)
A copy of the inherited fields of the parent class.
|
GiftCardClassAddMessageResponse |
GiftCardClassAddMessageResponse.setResource(GiftCardClass resource)
The updated GiftCardClass resource.
|
| Modifier and Type | Method and Description |
|---|---|
Resources |
Resources.setGiftCardClasses(List<GiftCardClass> giftCardClasses)
A list of gift card classes.
|
GiftCardClassListResponse |
GiftCardClassListResponse.setResources(List<GiftCardClass> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2025 Google. All rights reserved.