| Package | Description |
|---|---|
| com.google.api.services.walletobjects | |
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Loyaltyclass.Insert |
Walletobjects.Loyaltyclass.insert(LoyaltyClass content)
Inserts an loyalty class with the given ID and properties.
|
Walletobjects.Loyaltyclass.Patch |
Walletobjects.Loyaltyclass.patch(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
Walletobjects.Loyaltyclass.Update |
Walletobjects.Loyaltyclass.update(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
| Constructor and Description |
|---|
Insert(LoyaltyClass content)
Inserts an loyalty class with the given ID and properties.
|
Patch(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
Update(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyClass |
LoyaltyClass.clone() |
LoyaltyClass |
LoyaltyObject.getClassReference()
A copy of the inherited fields of the parent class.
|
LoyaltyClass |
LoyaltyClassAddMessageResponse.getResource()
The updated LoyaltyClass resource.
|
LoyaltyClass |
LoyaltyClass.set(String fieldName,
Object value) |
LoyaltyClass |
LoyaltyClass.setAccountIdLabel(String accountIdLabel)
The account ID label, such as "Member ID." Recommended maximum length is 15 characters to
ensure full string is displayed on smaller screens.
|
LoyaltyClass |
LoyaltyClass.setAccountNameLabel(String accountNameLabel)
The account name label, such as "Member Name." Recommended maximum length is 15 characters to
ensure full string is displayed on smaller screens.
|
LoyaltyClass |
LoyaltyClass.setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
Deprecated.
|
LoyaltyClass |
LoyaltyClass.setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
LoyaltyClass |
LoyaltyClass.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.
|
LoyaltyClass |
LoyaltyClass.setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
LoyaltyClass |
LoyaltyClass.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.
|
LoyaltyClass |
LoyaltyClass.setDiscoverableProgram(DiscoverableProgram discoverableProgram)
Information about how the class may be discovered and instantiated from within the Google Pay
app.
|
LoyaltyClass |
LoyaltyClass.setEnableSmartTap(Boolean enableSmartTap)
Identifies whether this class supports Smart Tap.
|
LoyaltyClass |
LoyaltyClass.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
LoyaltyClass |
LoyaltyClass.setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
LoyaltyClass |
LoyaltyClass.setHomepageUri(Uri homepageUri)
The URI of your application's home page.
|
LoyaltyClass |
LoyaltyClass.setId(String id)
Required.
|
LoyaltyClass |
LoyaltyClass.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
LoyaltyClass |
LoyaltyClass.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
LoyaltyClass |
LoyaltyClass.setIssuerName(String issuerName)
Required.
|
LoyaltyClass |
LoyaltyClass.setKind(String kind)
Identifies what kind of resource this is.
|
LoyaltyClass |
LoyaltyClass.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
LoyaltyClass |
LoyaltyClass.setLocalizedAccountIdLabel(LocalizedString localizedAccountIdLabel)
Translated strings for the account_id_label.
|
LoyaltyClass |
LoyaltyClass.setLocalizedAccountNameLabel(LocalizedString localizedAccountNameLabel)
Translated strings for the account_name_label.
|
LoyaltyClass |
LoyaltyClass.setLocalizedIssuerName(LocalizedString localizedIssuerName)
Translated strings for the issuer_name.
|
LoyaltyClass |
LoyaltyClass.setLocalizedProgramName(LocalizedString localizedProgramName)
Translated strings for the program_name.
|
LoyaltyClass |
LoyaltyClass.setLocalizedRewardsTier(LocalizedString localizedRewardsTier)
Translated strings for the rewards_tier.
|
LoyaltyClass |
LoyaltyClass.setLocalizedRewardsTierLabel(LocalizedString localizedRewardsTierLabel)
Translated strings for the rewards_tier_label.
|
LoyaltyClass |
LoyaltyClass.setLocalizedSecondaryRewardsTier(LocalizedString localizedSecondaryRewardsTier)
Translated strings for the secondary_rewards_tier.
|
LoyaltyClass |
LoyaltyClass.setLocalizedSecondaryRewardsTierLabel(LocalizedString localizedSecondaryRewardsTierLabel)
Translated strings for the secondary_rewards_tier_label.
|
LoyaltyClass |
LoyaltyClass.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
LoyaltyClass |
LoyaltyClass.setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
LoyaltyClass |
LoyaltyClass.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
LoyaltyClass |
LoyaltyClass.setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
LoyaltyClass |
LoyaltyClass.setNotifyPreference(String notifyPreference)
Whether or not field updates to this class should trigger notifications.
|
LoyaltyClass |
LoyaltyClass.setProgramLogo(Image programLogo)
Required.
|
LoyaltyClass |
LoyaltyClass.setProgramName(String programName)
Required.
|
LoyaltyClass |
LoyaltyClass.setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
LoyaltyClass |
LoyaltyClass.setReview(Review review)
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
LoyaltyClass |
LoyaltyClass.setReviewStatus(String reviewStatus)
Required.
|
LoyaltyClass |
LoyaltyClass.setRewardsTier(String rewardsTier)
The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to
ensure full string is displayed on smaller screens.
|
LoyaltyClass |
LoyaltyClass.setRewardsTierLabel(String rewardsTierLabel)
The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to
ensure full string is displayed on smaller screens.
|
LoyaltyClass |
LoyaltyClass.setSecondaryRewardsTier(String secondaryRewardsTier)
The secondary rewards tier, such as "Gold" or "Platinum."
|
LoyaltyClass |
LoyaltyClass.setSecondaryRewardsTierLabel(String secondaryRewardsTierLabel)
The secondary rewards tier label, such as "Rewards Tier."
|
LoyaltyClass |
LoyaltyClass.setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
LoyaltyClass |
LoyaltyClass.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
LoyaltyClass |
LoyaltyClass.setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
LoyaltyClass |
LoyaltyClass.setVersion(Long version)
Deprecated
|
LoyaltyClass |
LoyaltyClass.setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the loyalty card.
|
LoyaltyClass |
LoyaltyClass.setWideProgramLogo(Image wideProgramLogo)
The wide logo of the loyalty program or company.
|
LoyaltyClass |
LoyaltyClass.setWordMark(Image wordMark)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<LoyaltyClass> |
Resources.getLoyaltyClasses()
A list of loyalty classes.
|
List<LoyaltyClass> |
LoyaltyClassListResponse.getResources()
Resources corresponding to the list request.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyObject |
LoyaltyObject.setClassReference(LoyaltyClass classReference)
A copy of the inherited fields of the parent class.
|
LoyaltyClassAddMessageResponse |
LoyaltyClassAddMessageResponse.setResource(LoyaltyClass resource)
The updated LoyaltyClass resource.
|
| Modifier and Type | Method and Description |
|---|---|
Resources |
Resources.setLoyaltyClasses(List<LoyaltyClass> loyaltyClasses)
A list of loyalty classes.
|
LoyaltyClassListResponse |
LoyaltyClassListResponse.setResources(List<LoyaltyClass> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2025 Google. All rights reserved.