LoyaltyWalletObject

public final class LoyaltyWalletObject extends Object
implements Parcelable

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

class LoyaltyWalletObject.Builder Builder to create a LoyaltyWalletObject

Inherited Constant Summary

Field Summary

public static final Creator<LoyaltyWalletObject> CREATOR

Public Method Summary

String
getAccountId()
Returns loyalty account identifier to be displayed to the user (ex: "12345678").
String
getAccountName()
Returns loyalty account holder name (ex: "John Smith").
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 wallet Object 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 the name of who issued this loyalty object.
ArrayList<UriData>
getLinksModuleDataUris()
Returns links module uris.
ArrayList<LatLng>
getLocations()
Returns locations where the object is considered valid.
LoyaltyPoints
getLoyaltyPoints()
Returns loyalty points.
ArrayList<WalletObjectMessage>
getMessages()
Returns wallet Object messages.
String
getProgramName()
Returns the name of the loyalty program associated to this object.
int
getState()
Returns wallet Object state.
ArrayList<TextModuleData>
getTextModulesData()
Returns text modules.
TimeInterval
getValidTimeInterval()
Returns time interval within which the object is considered valid.
static LoyaltyWalletObject.Builder
void
writeToParcel(Parcel dest, int flags)

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<UriData> getLinksModuleDataUris ()

Returns links module uris.

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.

public static LoyaltyWalletObject.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)