Package | Description |
---|---|
com.google.api.services.walletobjects | |
com.google.api.services.walletobjects.model |
Modifier and Type | Method and Description |
---|---|
Walletobjects.Offerclass.Insert |
Walletobjects.Offerclass.insert(OfferClass content)
Inserts an offer class with the given ID and properties.
|
Walletobjects.Offerclass.Patch |
Walletobjects.Offerclass.patch(String resourceId,
OfferClass content)
Updates the offer class referenced by the given class ID.
|
Walletobjects.Offerclass.Update |
Walletobjects.Offerclass.update(String resourceId,
OfferClass content)
Updates the offer class referenced by the given class ID.
|
Constructor and Description |
---|
Insert(OfferClass content)
Inserts an offer class with the given ID and properties.
|
Patch(String resourceId,
OfferClass content)
Updates the offer class referenced by the given class ID.
|
Update(String resourceId,
OfferClass content)
Updates the offer class referenced by the given class ID.
|
Modifier and Type | Method and Description |
---|---|
OfferClass |
OfferClass.clone() |
OfferClass |
OfferObject.getClassReference()
A copy of the inherited fields of the parent class.
|
OfferClass |
OfferClassAddMessageResponse.getResource()
The updated OfferClass resource.
|
OfferClass |
OfferClass.set(String fieldName,
Object value) |
OfferClass |
OfferClass.setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
Deprecated.
|
OfferClass |
OfferClass.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.
|
OfferClass |
OfferClass.setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
OfferClass |
OfferClass.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.
|
OfferClass |
OfferClass.setDetails(String details)
The details of the offer.
|
OfferClass |
OfferClass.setEnableSmartTap(Boolean enableSmartTap)
Identifies whether this class supports Smart Tap.
|
OfferClass |
OfferClass.setFinePrint(String finePrint)
The fine print or terms of the offer, such as "20% off any t-shirt at Adam's Apparel."
|
OfferClass |
OfferClass.setHelpUri(Uri helpUri)
The help link for the offer, such as `http://myownpersonaldomain.com/help`
|
OfferClass |
OfferClass.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
OfferClass |
OfferClass.setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
OfferClass |
OfferClass.setHomepageUri(Uri homepageUri)
The URI of your application's home page.
|
OfferClass |
OfferClass.setId(String id)
Required.
|
OfferClass |
OfferClass.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
OfferClass |
OfferClass.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
OfferClass |
OfferClass.setIssuerName(String issuerName)
Required.
|
OfferClass |
OfferClass.setKind(String kind)
Identifies what kind of resource this is.
|
OfferClass |
OfferClass.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
OfferClass |
OfferClass.setLocalizedDetails(LocalizedString localizedDetails)
Translated strings for the details.
|
OfferClass |
OfferClass.setLocalizedFinePrint(LocalizedString localizedFinePrint)
Translated strings for the fine_print.
|
OfferClass |
OfferClass.setLocalizedIssuerName(LocalizedString localizedIssuerName)
Translated strings for the issuer_name.
|
OfferClass |
OfferClass.setLocalizedProvider(LocalizedString localizedProvider)
Translated strings for the provider.
|
OfferClass |
OfferClass.setLocalizedShortTitle(LocalizedString localizedShortTitle)
Translated strings for the short title.
|
OfferClass |
OfferClass.setLocalizedTitle(LocalizedString localizedTitle)
Translated strings for the title.
|
OfferClass |
OfferClass.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
OfferClass |
OfferClass.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
OfferClass |
OfferClass.setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
OfferClass |
OfferClass.setProvider(String provider)
Required.
|
OfferClass |
OfferClass.setRedemptionChannel(String redemptionChannel)
Required.
|
OfferClass |
OfferClass.setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
OfferClass |
OfferClass.setReview(Review review)
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
OfferClass |
OfferClass.setReviewStatus(String reviewStatus)
Required.
|
OfferClass |
OfferClass.setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
OfferClass |
OfferClass.setShortTitle(String shortTitle)
A shortened version of the title of the offer, such as "20% off," shown to users as a quick
reference to the offer contents.
|
OfferClass |
OfferClass.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
OfferClass |
OfferClass.setTitle(String title)
Required.
|
OfferClass |
OfferClass.setTitleImage(Image titleImage)
The title image of the offer.
|
OfferClass |
OfferClass.setVersion(Long version)
Deprecated
|
OfferClass |
OfferClass.setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the offer.
|
OfferClass |
OfferClass.setWideTitleImage(Image wideTitleImage)
The wide title image of the offer.
|
OfferClass |
OfferClass.setWordMark(Image wordMark)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<OfferClass> |
Resources.getOfferClasses() |
List<OfferClass> |
OfferClassListResponse.getResources()
Resources corresponding to the list request.
|
Modifier and Type | Method and Description |
---|---|
OfferObject |
OfferObject.setClassReference(OfferClass classReference)
A copy of the inherited fields of the parent class.
|
OfferClassAddMessageResponse |
OfferClassAddMessageResponse.setResource(OfferClass resource)
The updated OfferClass resource.
|
Modifier and Type | Method and Description |
---|---|
Resources |
Resources.setOfferClasses(List<OfferClass> offerClasses) |
OfferClassListResponse |
OfferClassListResponse.setResources(List<OfferClass> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2024 Google. All rights reserved.