| Package | Description |
|---|---|
| com.google.api.services.walletobjects | |
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Loyaltyobject.Insert |
Walletobjects.Loyaltyobject.insert(LoyaltyObject content)
Inserts an loyalty object with the given ID and properties.
|
Walletobjects.Loyaltyobject.Patch |
Walletobjects.Loyaltyobject.patch(String resourceId,
LoyaltyObject content)
Updates the loyalty object referenced by the given object ID.
|
Walletobjects.Loyaltyobject.Update |
Walletobjects.Loyaltyobject.update(String resourceId,
LoyaltyObject content)
Updates the loyalty object referenced by the given object ID.
|
| Constructor and Description |
|---|
Insert(LoyaltyObject content)
Inserts an loyalty object with the given ID and properties.
|
Patch(String resourceId,
LoyaltyObject content)
Updates the loyalty object referenced by the given object ID.
|
Update(String resourceId,
LoyaltyObject content)
Updates the loyalty object referenced by the given object ID.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyObject |
LoyaltyObject.clone() |
LoyaltyObject |
LoyaltyObjectAddMessageResponse.getResource()
The updated LoyaltyObject resource.
|
LoyaltyObject |
LoyaltyObject.set(String fieldName,
Object value) |
LoyaltyObject |
LoyaltyObject.setAccountId(String accountId)
The loyalty account identifier.
|
LoyaltyObject |
LoyaltyObject.setAccountName(String accountName)
The loyalty account holder name, such as "John Smith." Recommended maximum length is 20
characters to ensure full string is displayed on smaller screens.
|
LoyaltyObject |
LoyaltyObject.setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
LoyaltyObject |
LoyaltyObject.setBarcode(Barcode barcode)
The barcode type and value.
|
LoyaltyObject |
LoyaltyObject.setClassId(String classId)
Required.
|
LoyaltyObject |
LoyaltyObject.setClassReference(LoyaltyClass classReference)
A copy of the inherited fields of the parent class.
|
LoyaltyObject |
LoyaltyObject.setDisableExpirationNotification(Boolean disableExpirationNotification)
Indicates if notifications should explicitly be suppressed.
|
LoyaltyObject |
LoyaltyObject.setGroupingInfo(GroupingInfo groupingInfo)
Information that controls how passes are grouped together.
|
LoyaltyObject |
LoyaltyObject.setHasLinkedDevice(Boolean hasLinkedDevice)
Whether this object is currently linked to a single device.
|
LoyaltyObject |
LoyaltyObject.setHasUsers(Boolean hasUsers)
Indicates if the object has users.
|
LoyaltyObject |
LoyaltyObject.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
LoyaltyObject |
LoyaltyObject.setId(String id)
Required.
|
LoyaltyObject |
LoyaltyObject.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
LoyaltyObject |
LoyaltyObject.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
LoyaltyObject |
LoyaltyObject.setKind(String kind)
Identifies what kind of resource this is.
|
LoyaltyObject |
LoyaltyObject.setLinkedObjectIds(List<String> linkedObjectIds)
linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic,
giftcard, transit and boarding pass that should be automatically attached to this loyalty
object.
|
LoyaltyObject |
LoyaltyObject.setLinkedOfferIds(List<String> linkedOfferIds)
A list of offer objects linked to this loyalty card.
|
LoyaltyObject |
LoyaltyObject.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
LoyaltyObject |
LoyaltyObject.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
LoyaltyObject |
LoyaltyObject.setLoyaltyPoints(LoyaltyPoints loyaltyPoints)
The loyalty reward points label, balance, and type.
|
LoyaltyObject |
LoyaltyObject.setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
LoyaltyObject |
LoyaltyObject.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
LoyaltyObject |
LoyaltyObject.setNotifyPreference(String notifyPreference)
Whether or not field updates to this object should trigger notifications.
|
LoyaltyObject |
LoyaltyObject.setPassConstraints(PassConstraints passConstraints)
Pass constraints for the object.
|
LoyaltyObject |
LoyaltyObject.setRotatingBarcode(RotatingBarcode rotatingBarcode)
The rotating barcode type and value.
|
LoyaltyObject |
LoyaltyObject.setSaveRestrictions(SaveRestrictions saveRestrictions)
Restrictions on the object that needs to be verified before the user tries to save the pass.
|
LoyaltyObject |
LoyaltyObject.setSecondaryLoyaltyPoints(LoyaltyPoints secondaryLoyaltyPoints)
The secondary loyalty reward points label, balance, and type.
|
LoyaltyObject |
LoyaltyObject.setSmartTapRedemptionValue(String smartTapRedemptionValue)
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
|
LoyaltyObject |
LoyaltyObject.setState(String state)
Required.
|
LoyaltyObject |
LoyaltyObject.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
LoyaltyObject |
LoyaltyObject.setValidTimeInterval(TimeInterval validTimeInterval)
The time period this object will be `active` and object can be used.
|
LoyaltyObject |
LoyaltyObject.setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
LoyaltyObject |
LoyaltyObject.setVersion(Long version)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
List<LoyaltyObject> |
Resources.getLoyaltyObjects()
A list of loyalty objects.
|
List<LoyaltyObject> |
LoyaltyObjectListResponse.getResources()
Resources corresponding to the list request.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyObjectAddMessageResponse |
LoyaltyObjectAddMessageResponse.setResource(LoyaltyObject resource)
The updated LoyaltyObject resource.
|
| Modifier and Type | Method and Description |
|---|---|
Resources |
Resources.setLoyaltyObjects(List<LoyaltyObject> loyaltyObjects)
A list of loyalty objects.
|
LoyaltyObjectListResponse |
LoyaltyObjectListResponse.setResources(List<LoyaltyObject> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2025 Google. All rights reserved.