public final class

LoyaltyWalletObject

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.wallet.LoyaltyWalletObject

Class Overview

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.

Summary

Nested Classes
class LoyaltyWalletObject.Builder Builder to create a LoyaltyWalletObject
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<LoyaltyWalletObject> CREATOR
Public Methods
String getAccountId()
String getAccountName()
String getBarcodeAlternateText()
String getBarcodeLabel()
String getBarcodeType()
String getBarcodeValue()
String getClassId()
String getId()
ArrayList<UriData> getImageModuleDataMainImageUris()
String getInfoModuleDataHexBackgroundColor()
String getInfoModuleDataHexFontColor()
ArrayList<LabelValueRow> getInfoModuleDataLabelValueRows()
boolean getInfoModuleDataShowLastUpdateTime()
String getIssuerName()
ArrayList<UriData> getLinksModuleDataUris()
ArrayList<LatLng> getLocations()
LoyaltyPoints getLoyaltyPoints()
ArrayList<WalletObjectMessage> getMessages()
String getProgramName()
int getState()
ArrayList<TextModuleData> getTextModulesData()
TimeInterval getValidTimeInterval()
static LoyaltyWalletObject.Builder newBuilder()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<LoyaltyWalletObject> CREATOR

Public Methods

public String getAccountId ()

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

public String getAccountName ()

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

public String getBarcodeAlternateText ()

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

public String getBarcodeLabel ()

Returns
String Barcode label.

public String getBarcodeType ()

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

public String getBarcodeValue ()

Returns
String Encoded barcode value.

public String getClassId ()

Returns
String Wallet Object Class Id.

public String getId ()

Returns
String The unique identifier for this Wallet Object.

public ArrayList<UriData> getImageModuleDataMainImageUris ()

Returns
ArrayList<UriData> Image module main image uris.

public String getInfoModuleDataHexBackgroundColor ()

Returns
String Info module hex background color.

public String getInfoModuleDataHexFontColor ()

Returns
String Info module hex font color.

public ArrayList<LabelValueRow> getInfoModuleDataLabelValueRows ()

Returns
ArrayList<LabelValueRow> Info module label value rows.

public boolean getInfoModuleDataShowLastUpdateTime ()

Returns
boolean Info module show last update time flag.

public String getIssuerName ()

Returns
String The name of who issued this loyalty object.

public ArrayList<UriData> getLinksModuleDataUris ()

Returns
ArrayList<UriData> Links module uris.

public ArrayList<LatLng> getLocations ()

Returns
ArrayList<LatLng> Locations where the object is considered valid.

public LoyaltyPoints getLoyaltyPoints ()

Returns
LoyaltyPoints Loyalty points.

public ArrayList<WalletObjectMessage> getMessages ()

Returns
ArrayList<WalletObjectMessage> Wallet Object messages.

public String getProgramName ()

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

public int getState ()

Returns
int Wallet Object state.

public ArrayList<TextModuleData> getTextModulesData ()

Returns
ArrayList<TextModuleData> Text modules.

public TimeInterval getValidTimeInterval ()

Returns
TimeInterval Time interval within which the object is considered valid.

public static LoyaltyWalletObject.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int