public final class

GiftCardWalletObject

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

Class Overview

Parcelable representing a gift card wallet object.

Summary

Nested Classes
class GiftCardWalletObject.Builder Builder for GiftCardWalletObject
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<GiftCardWalletObject> CREATOR
Public Methods
String getBalanceCurrencyCode()
long getBalanceMicros()
long getBalanceUpdateTime()
String getBarcodeAlternateText()
String getBarcodeLabel()
String getBarcodeType()
String getBarcodeValue()
String getCardIdentifier()
String getCardNumber()
String getClassId()
String getEventNumber()
String getId()
ArrayList<UriData> getImageModuleDataMainImageUris()
String getInfoModuleDataHexBackgroundColor()
String getInfoModuleDataHexFontColor()
ArrayList<LabelValueRow> getInfoModuleDataLabelValueRows()
boolean getInfoModuleDataShowLastUpdateTime()
String getIssuerName()
ArrayList<UriData> getLinksModuleDataUris()
ArrayList<LatLng> getLocations()
ArrayList<WalletObjectMessage> getMessages()
String getPin()
int getState()
ArrayList<TextModuleData> getTextModulesData()
String getTitle()
TimeInterval getValidTimeInterval()
static GiftCardWalletObject.Builder newBuilder()
Creates a helper instance whose implementation follows the builder pattern to create new objects of GiftCardWalletObject.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<GiftCardWalletObject> CREATOR

Public Methods

public String getBalanceCurrencyCode ()

Returns
String The currency code for the balance.

public long getBalanceMicros ()

Returns
long Balance for this card.

public long getBalanceUpdateTime ()

Returns
long Timestamp when the card balance was last updated.

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 getCardIdentifier ()

Returns
String Identifier for the card.

public String getCardNumber ()

Returns
String Number identifiyng this card.

public String getClassId ()

Returns
String Gift card Class Id.

public String getEventNumber ()

Returns
String The card's event number, an optional field used by some gift cards.

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's 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 Gift card issuer name.

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 ArrayList<WalletObjectMessage> getMessages ()

Returns
ArrayList<WalletObjectMessage> Gift card Object messages.

public String getPin ()

Returns
String PIN to access this card.

public int getState ()

Returns
int Gift card Object state.

public ArrayList<TextModuleData> getTextModulesData ()

Returns
ArrayList<TextModuleData> Text modules.

public String getTitle ()

Returns
String Title of the gift card.

public TimeInterval getValidTimeInterval ()

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

public static GiftCardWalletObject.Builder newBuilder ()

Creates a helper instance whose implementation follows the builder pattern to create new objects of GiftCardWalletObject.

Returns
GiftCardWalletObject.Builder A new builder.

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int