| Package | Description |
|---|---|
| com.google.api.services.walletobjects | |
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Offerobject.Insert |
Walletobjects.Offerobject.insert(OfferObject content)
Inserts an offer object with the given ID and properties.
|
Walletobjects.Offerobject.Patch |
Walletobjects.Offerobject.patch(String resourceId,
OfferObject content)
Updates the offer object referenced by the given object ID.
|
Walletobjects.Offerobject.Update |
Walletobjects.Offerobject.update(String resourceId,
OfferObject content)
Updates the offer object referenced by the given object ID.
|
| Constructor and Description |
|---|
Insert(OfferObject content)
Inserts an offer object with the given ID and properties.
|
Patch(String resourceId,
OfferObject content)
Updates the offer object referenced by the given object ID.
|
Update(String resourceId,
OfferObject content)
Updates the offer object referenced by the given object ID.
|
| Modifier and Type | Method and Description |
|---|---|
OfferObject |
OfferObject.clone() |
OfferObject |
OfferObjectAddMessageResponse.getResource()
The updated OfferObject resource.
|
OfferObject |
OfferObject.set(String fieldName,
Object value) |
OfferObject |
OfferObject.setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
OfferObject |
OfferObject.setBarcode(Barcode barcode)
The barcode type and value.
|
OfferObject |
OfferObject.setClassId(String classId)
Required.
|
OfferObject |
OfferObject.setClassReference(OfferClass classReference)
A copy of the inherited fields of the parent class.
|
OfferObject |
OfferObject.setDisableExpirationNotification(Boolean disableExpirationNotification)
Indicates if notifications should explicitly be suppressed.
|
OfferObject |
OfferObject.setGroupingInfo(GroupingInfo groupingInfo)
Information that controls how passes are grouped together.
|
OfferObject |
OfferObject.setHasLinkedDevice(Boolean hasLinkedDevice)
Whether this object is currently linked to a single device.
|
OfferObject |
OfferObject.setHasUsers(Boolean hasUsers)
Indicates if the object has users.
|
OfferObject |
OfferObject.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
OfferObject |
OfferObject.setId(String id)
Required.
|
OfferObject |
OfferObject.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
OfferObject |
OfferObject.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
OfferObject |
OfferObject.setKind(String kind)
Identifies what kind of resource this is.
|
OfferObject |
OfferObject.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 offer object.
|
OfferObject |
OfferObject.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
OfferObject |
OfferObject.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
OfferObject |
OfferObject.setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
OfferObject |
OfferObject.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
OfferObject |
OfferObject.setNotifyPreference(String notifyPreference)
Whether or not field updates to this object should trigger notifications.
|
OfferObject |
OfferObject.setPassConstraints(PassConstraints passConstraints)
Pass constraints for the object.
|
OfferObject |
OfferObject.setRotatingBarcode(RotatingBarcode rotatingBarcode)
The rotating barcode type and value.
|
OfferObject |
OfferObject.setSaveRestrictions(SaveRestrictions saveRestrictions)
Restrictions on the object that needs to be verified before the user tries to save the pass.
|
OfferObject |
OfferObject.setSmartTapRedemptionValue(String smartTapRedemptionValue)
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
|
OfferObject |
OfferObject.setState(String state)
Required.
|
OfferObject |
OfferObject.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
OfferObject |
OfferObject.setValidTimeInterval(TimeInterval validTimeInterval)
The time period this object will be `active` and object can be used.
|
OfferObject |
OfferObject.setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
OfferObject |
OfferObject.setVersion(Long version)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
List<OfferObject> |
Resources.getOfferObjects()
A list of offer objects.
|
List<OfferObject> |
OfferObjectListResponse.getResources()
Resources corresponding to the list request.
|
| Modifier and Type | Method and Description |
|---|---|
OfferObjectAddMessageResponse |
OfferObjectAddMessageResponse.setResource(OfferObject resource)
The updated OfferObject resource.
|
| Modifier and Type | Method and Description |
|---|---|
Resources |
Resources.setOfferObjects(List<OfferObject> offerObjects)
A list of offer objects.
|
OfferObjectListResponse |
OfferObjectListResponse.setResources(List<OfferObject> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2025 Google. All rights reserved.