GiftCardWalletObject

public final class GiftCardWalletObject extends Object
implements Parcelable

Parcelable representing a gift card wallet object.

Nested Class Summary

class GiftCardWalletObject.Builder Builder for GiftCardWalletObject

Inherited Constant Summary

Field Summary

public static final Creator<GiftCardWalletObject> CREATOR

Public Method Summary

String
long
long
String
String
getBarcodeLabel()
This method was deprecated. This value is unused by the platform and will be removed in the future.
String
String
String
getCardIdentifier()
This method was deprecated. This value is unused by the platform and will be removed in the future.
String
String
String
String
ArrayList<UriData>
String
getInfoModuleDataHexBackgroundColor()
This method was deprecated. This value is unused by the platform and will be removed in the future.
String
getInfoModuleDataHexFontColor()
This method was deprecated. This value is unused by the platform and will be removed in the future.
ArrayList<LabelValueRow>
boolean
String
ArrayList<UriData>
ArrayList<LatLng>
ArrayList<WalletObjectMessage>
String
int
ArrayList<TextModuleData>
String
TimeInterval
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)

Inherited Method Summary

Fields

public static final Creator<GiftCardWalletObject> CREATOR

Public Methods

public String getBalanceCurrencyCode ()

Returns
  • The currency code for the balance.

public long getBalanceMicros ()

Returns
  • Balance for this card.

public long getBalanceUpdateTime ()

Returns
  • Timestamp when the card balance was last updated.

public String getBarcodeAlternateText ()

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

public String getBarcodeLabel ()

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

Returns
  • Barcode label.

public String getBarcodeType ()

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

public String getBarcodeValue ()

Returns
  • Encoded barcode value.

public String getCardIdentifier ()

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

Returns
  • Identifier for the card.

public String getCardNumber ()

Returns
  • Number identifiyng this card.

public String getClassId ()

Returns
  • Gift card Class Id.

public String getEventNumber ()

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

public String getId ()

Returns
  • The unique identifier for this Wallet Object.

public ArrayList<UriData> getImageModuleDataMainImageUris ()

Returns
  • Image module main image uris.

public String getInfoModuleDataHexBackgroundColor ()

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

Returns
  • Info module's hex background color.

public String getInfoModuleDataHexFontColor ()

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

Returns
  • Info module hex font color.

public ArrayList<LabelValueRow> getInfoModuleDataLabelValueRows ()

Returns
  • Info module label value rows.

public boolean getInfoModuleDataShowLastUpdateTime ()

Returns
  • Info module show last update time flag.

public String getIssuerName ()

Returns
  • Gift card issuer name.

public ArrayList<UriData> getLinksModuleDataUris ()

Returns
  • Links module uris.

public ArrayList<LatLng> getLocations ()

Returns
  • Locations where the object is considered valid.

public ArrayList<WalletObjectMessage> getMessages ()

Returns
  • Gift card Object messages.

public String getPin ()

Returns
  • PIN to access this card.

public int getState ()

Returns
  • Gift card Object state.

public ArrayList<TextModuleData> getTextModulesData ()

Returns
  • Text modules.

public String getTitle ()

Returns
  • Title of the gift card.

public TimeInterval getValidTimeInterval ()

Returns
  • 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
  • A new builder.

public void writeToParcel (Parcel dest, int flags)