public final class

OfferWalletObject

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

Class Overview

Parcelable representing an offer wallet object. This could represent an offer from the merchant such as a coupon, etc. It has a buyerId that identifies the user to the merchant. If the offer is associated to a loyalty program, then this could be an identifier for that program. The offer also has a redemptionCode that will typically be used in the transaction, like a discount code or similar that the user would otherwise have to enter manually.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<OfferWalletObject> CREATOR
Public Methods
String getId()
String getRedemptionCode()
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<OfferWalletObject> CREATOR

Public Methods

public String getId ()

Returns
String The unique identifier for this Wallet Object.

public String getRedemptionCode ()

Returns
String The redemption code of the offer. This would be a coupon code or similar that user could enter to gain a discount, reward, etc.

public int getVersionCode ()

Returns
int

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int