Parcelable representing a loyalty wallet object. An example loyalty wallet object could be a rewards membership where the membership id is placed in the accountId.
Nested Class Summary
Inherited Constant Summary
Field Summary
public static final Creator < LoyaltyWalletObject > | CREATOR |
Public Method Summary
String | |
String | |
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 | |
String | |
String | |
String | |
ArrayList < UriData > | |
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 > | |
boolean | |
String | |
ArrayList < UriData > | |
ArrayList <LatLng> | |
LoyaltyPoints | |
ArrayList < WalletObjectMessage > | |
String | |
int | |
ArrayList < TextModuleData > | |
TimeInterval | |
static LoyaltyWalletObject.Builder | newBuilder
()
|
void |
Inherited Method Summary
Fields
public static final Creator < LoyaltyWalletObject > CREATOR
Public Methods
public String getAccountId ()
Returns loyalty account identifier to be displayed to the user (ex: "12345678").
public String getAccountName ()
Returns loyalty account holder name (ex: "John Smith").
public String getBarcodeAlternateText ()
Returns human-readable text to display to the user in addition to the encoded barcode value (ex: "3492013").
public String getBarcodeLabel ()
This method is deprecated.This value is unused by the platform and will be removed in the future.
Returns
- Barcode label.
public String getBarcodeType ()
Returns barcode type. Possible values include "codabar", "qrCode", "textOnly", etc...
public String getBarcodeValue ()
Returns encoded barcode value.
public String getClassId ()
Returns wallet Object Class Id.
public String getId ()
Returns the unique identifier for this Wallet Object.
public ArrayList < UriData > getImageModuleDataMainImageUris ()
Returns image module main image uris.
public String getInfoModuleDataHexBackgroundColor ()
This method is deprecated.This value is unused by the platform and will be removed in the future.
Returns
- Info module hex background color.
public String getInfoModuleDataHexFontColor ()
This method is deprecated.This value is unused by the platform and will be removed in the future.
Returns
- Info module hex font color.
public ArrayList < LabelValueRow > getInfoModuleDataLabelValueRows ()
Returns info module label value rows.
public boolean getInfoModuleDataShowLastUpdateTime ()
Returns info module show last update time flag.
public String getIssuerName ()
Returns the name of who issued this loyalty object.
public ArrayList <LatLng> getLocations ()
Returns locations where the object is considered valid.
public LoyaltyPoints getLoyaltyPoints ()
Returns loyalty points.
public ArrayList < WalletObjectMessage > getMessages ()
Returns wallet Object messages.
public String getProgramName ()
Returns the name of the loyalty program associated to this object.
public int getState ()
Returns wallet Object state.
public ArrayList < TextModuleData > getTextModulesData ()
Returns text modules.
public TimeInterval getValidTimeInterval ()
Returns time interval within which the object is considered valid.