public class

LoyaltyWalletObject

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

Class Overview

Parcelable representing a loyalty wallet object. A LoyaltyWalletObject has a buyerId used to identify the user. An example of this could be a rewards program with a membership number that would map to the buyerId.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<LoyaltyWalletObject> CREATOR
Public Constructors
LoyaltyWalletObject()
Public Methods
int describeContents()
String getAccountId()
String getAccountName()
String getId()
String getIssuerName()
String getProgramName()
int getVersionCode()
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 Constructors

public LoyaltyWalletObject ()

Public Methods

public int describeContents ()

public String getAccountId ()

Returns
  • The buyer's id, as defined by the merchant. This identifies the user in the merchant's loyalty program.

public String getAccountName ()

Returns
  • The buyer's name in the loyalty program

public String getId ()

Returns
  • The unique identifier for this Wallet Object.

public String getIssuerName ()

Returns
  • The name of who issued this loyalty object

public String getProgramName ()

Returns
  • The name of the loyalty program associated to this object

public int getVersionCode ()

public void writeToParcel (Parcel dest, int flags)