| Package | Description |
|---|---|
| com.google.api.services.walletobjects | |
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Giftcardobject.Insert |
Walletobjects.Giftcardobject.insert(GiftCardObject content)
Inserts an gift card object with the given ID and properties.
|
Walletobjects.Giftcardobject.Patch |
Walletobjects.Giftcardobject.patch(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
Walletobjects.Giftcardobject.Update |
Walletobjects.Giftcardobject.update(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
| Constructor and Description |
|---|
Insert(GiftCardObject content)
Inserts an gift card object with the given ID and properties.
|
Patch(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
Update(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
| Modifier and Type | Method and Description |
|---|---|
GiftCardObject |
GiftCardObject.clone() |
GiftCardObject |
GiftCardObjectAddMessageResponse.getResource()
The updated GiftCardObject resource.
|
GiftCardObject |
GiftCardObject.set(String fieldName,
Object value) |
GiftCardObject |
GiftCardObject.setAppLinkData(AppLinkData appLinkData)
Optional information about the partner app link.
|
GiftCardObject |
GiftCardObject.setBalance(Money balance)
The card's monetary balance.
|
GiftCardObject |
GiftCardObject.setBalanceUpdateTime(DateTime balanceUpdateTime)
The date and time when the balance was last updated.
|
GiftCardObject |
GiftCardObject.setBarcode(Barcode barcode)
The barcode type and value.
|
GiftCardObject |
GiftCardObject.setCardNumber(String cardNumber)
Required.
|
GiftCardObject |
GiftCardObject.setClassId(String classId)
Required.
|
GiftCardObject |
GiftCardObject.setClassReference(GiftCardClass classReference)
A copy of the inherited fields of the parent class.
|
GiftCardObject |
GiftCardObject.setDisableExpirationNotification(Boolean disableExpirationNotification)
Indicates if notifications should explicitly be suppressed.
|
GiftCardObject |
GiftCardObject.setEventNumber(String eventNumber)
The card's event number, an optional field used by some gift cards.
|
GiftCardObject |
GiftCardObject.setGroupingInfo(GroupingInfo groupingInfo)
Information that controls how passes are grouped together.
|
GiftCardObject |
GiftCardObject.setHasLinkedDevice(Boolean hasLinkedDevice)
Whether this object is currently linked to a single device.
|
GiftCardObject |
GiftCardObject.setHasUsers(Boolean hasUsers)
Indicates if the object has users.
|
GiftCardObject |
GiftCardObject.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
GiftCardObject |
GiftCardObject.setId(String id)
Required.
|
GiftCardObject |
GiftCardObject.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
GiftCardObject |
GiftCardObject.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
GiftCardObject |
GiftCardObject.setKind(String kind)
Identifies what kind of resource this is.
|
GiftCardObject |
GiftCardObject.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
GiftCardObject |
GiftCardObject.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
GiftCardObject |
GiftCardObject.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
GiftCardObject |
GiftCardObject.setPassConstraints(PassConstraints passConstraints)
Pass constraints for the object.
|
GiftCardObject |
GiftCardObject.setPin(String pin)
The card's PIN.
|
GiftCardObject |
GiftCardObject.setRotatingBarcode(RotatingBarcode rotatingBarcode)
The rotating barcode type and value.
|
GiftCardObject |
GiftCardObject.setSmartTapRedemptionValue(String smartTapRedemptionValue)
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
|
GiftCardObject |
GiftCardObject.setState(String state)
Required.
|
GiftCardObject |
GiftCardObject.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
GiftCardObject |
GiftCardObject.setValidTimeInterval(TimeInterval validTimeInterval)
The time period this object will be `active` and object can be used.
|
GiftCardObject |
GiftCardObject.setVersion(Long version)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
List<GiftCardObject> |
Resources.getGiftCardObjects() |
List<GiftCardObject> |
GiftCardObjectListResponse.getResources()
Resources corresponding to the list request.
|
| Modifier and Type | Method and Description |
|---|---|
GiftCardObjectAddMessageResponse |
GiftCardObjectAddMessageResponse.setResource(GiftCardObject resource)
The updated GiftCardObject resource.
|
| Modifier and Type | Method and Description |
|---|---|
Resources |
Resources.setGiftCardObjects(List<GiftCardObject> giftCardObjects) |
GiftCardObjectListResponse |
GiftCardObjectListResponse.setResources(List<GiftCardObject> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2024 Google. All rights reserved.