Parcelable representing an offer wallet object. This could represent an offer from the merchant such as a coupon, etc. It has a buyerId that identifies the user to the merchant. If the offer is associated to a loyalty program, then this could be an identifier for that program. The offer also has a redemptionCode that will typically be used in the transaction, like a discount code or similar that the user would otherwise have to enter manually.
| class | OfferWalletObject.Builder | Builder to create a OfferWalletObject. |
|
| public static final Creator<OfferWalletObject> | CREATOR |
| String |
getBarcodeAlternateText()
Returns human-readable text to display to the user in addition to the encoded
barcode value (ex: "3492013").
|
| String |
getBarcodeLabel()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
| String |
getBarcodeType()
Returns barcode type.
|
| String |
getBarcodeValue()
Returns encoded barcode value.
|
| String |
getClassId()
Returns offer Class Id.
|
| String |
getId()
Returns the unique identifier for this Wallet Object.
|
| ArrayList<UriData> |
getImageModuleDataMainImageUris()
Returns image module main image uris.
|
| String |
getInfoModuleDataHexBackgroundColor()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
| String |
getInfoModuleDataHexFontColor()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
| ArrayList<LabelValueRow> |
getInfoModuleDataLabelValueRows()
Returns info module label value rows.
|
| boolean |
getInfoModuleDataShowLastUpdateTime()
Returns info module show last update time flag.
|
| String |
getIssuerName()
Returns offer issuer name.
|
| ArrayList<UriData> |
getLinksModuleDataUris()
Returns links module uris.
|
| ArrayList<LatLng> |
getLocations()
Returns locations where the object is considered valid.
|
| ArrayList<WalletObjectMessage> |
getMessages()
Returns offer Object messages.
|
| String |
getRedemptionCode()
Returns the redemption code of the offer.
|
| int |
getState()
Returns offer Object state.
|
| ArrayList<TextModuleData> |
getTextModulesData()
Returns text modules.
|
| String |
getTitle()
Returns the title of the offer.
|
| TimeInterval |
getValidTimeInterval()
Returns time interval within which the object is considered valid.
|
| int | |
| static OfferWalletObject.Builder |
newBuilder()
Returns a new
OfferWalletObject.Builder.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Returns human-readable text to display to the user in addition to the encoded barcode value (ex: "3492013").
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns barcode type. Possible values include "codabar", "qrCode", "textOnly", etc...
Returns encoded barcode value.
Returns offer Class Id.
Returns the unique identifier for this Wallet Object.
This method is deprecated.
This value is unused by the platform and will be removed in the future.
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns info module label value rows.
Returns info module show last update time flag.
Returns offer issuer name.
Returns locations where the object is considered valid.
Returns offer Object messages.
Returns the redemption code of the offer. This would be a coupon code or similar that user could enter to gain a discount, reward, etc.
Returns offer Object state.
Returns text modules.
Returns the title of the offer.
Returns time interval within which the object is considered valid.
Returns a new OfferWalletObject.Builder.