LoyaltyWalletObject

public final classLoyaltyWalletObjectextendsObject
implementsParcelable

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 aLoyaltyWalletObject.

Inherited Constant Summary

Field Summary

public static finalCreator<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(Parceldest, int flags)

Inherited Method Summary

Fields

public static finalCreator<LoyaltyWalletObject> CREATOR

Public Methods

publicStringgetAccountId()

Returns loyalty account identifier to be displayed to the user (ex: "12345678" ).

publicStringgetAccountName()

Returns loyalty account holder name (ex: "John Smith" ).

publicStringgetBarcodeAlternateText()

Returns human-readable text to display to the user in addition to the encoded barcode value (ex: "3492013" ).

publicStringgetBarcodeLabel()

This method is deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • Barcode label.

publicStringgetBarcodeType()

Returns barcode type. Possible values include "codabar", "qrCode", "textOnly", etc...

publicStringgetBarcodeValue()

Returns encoded barcode value.

publicStringgetClassId()

Returns wallet Object Class Id.

publicStringgetId()

Returns the unique identifier for this Wallet Object.

publicArrayList<UriData> getImageModuleDataMainImageUris()

Returns image module main image uris.

publicStringgetInfoModuleDataHexBackgroundColor()

This method is deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • Info module hex background color.

publicStringgetInfoModuleDataHexFontColor()

This method is deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • Info module hex font color.

publicArrayList<LabelValueRow> getInfoModuleDataLabelValueRows()

Returns info module label value rows.

public booleangetInfoModuleDataShowLastUpdateTime()

Returns info module show last update time flag.

publicStringgetIssuerName()

Returns the name of who issued this loyalty object.

publicArrayList<UriData> getLinksModuleDataUris()

Returns links module uris.

publicArrayList<LatLng> getLocations()

Returns locations where the object is considered valid.

publicLoyaltyPoints getLoyaltyPoints()

Returns loyalty points.

publicArrayList<WalletObjectMessage> getMessages()

Returns wallet Object messages.

publicStringgetProgramName()

Returns the name of the loyalty program associated to this object.

public intgetState()

Returns wallet Object state.

publicArrayList<TextModuleData> getTextModulesData()

Returns text modules.

publicTimeInterval getValidTimeInterval()

Returns time interval within which the object is considered valid.

public staticLoyaltyWalletObject.Builder newBuilder()

public voidwriteToParcel(Parceldest, int flags)