Parcelable representing a gift card wallet object.
Nested Class Summary
class | GiftCardWalletObject.Builder | Builder forGiftCardWalletObject . |
Inherited Constant Summary
Field Summary
public static finalCreator<GiftCardWalletObject> | CREATOR |
Public Method Summary
String |
getBalanceCurrencyCode()
Returns the currency code for the balance.
|
long |
getBalanceMicros()
Returns balance for this card.
|
long |
getBalanceUpdateTime()
Returns timestamp when the card balance was last updated.
|
String |
getBarcodeAlternateText()
Returns human-readable text to display to the user in addition to the encoded
barcode value (ex: "3492013" ).
|
String |
getBarcodeLabel()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
String |
getBarcodeType()
Returns barcode type.
|
String |
getBarcodeValue()
Returns encoded barcode value.
|
String |
getCardIdentifier()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
String |
getCardNumber()
Returns number identifiyng this card.
|
String |
getClassId()
Returns gift card Class Id.
|
String |
getEventNumber()
Returns the card's event number, an optional field used by some gift cards.
|
String |
getId()
Returns the unique identifier for this Wallet Object.
|
ArrayList<UriData> |
getImageModuleDataMainImageUris()
Returns image module main image uris.
|
String |
getInfoModuleDataHexBackgroundColor()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
String |
getInfoModuleDataHexFontColor()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
ArrayList<LabelValueRow> |
getInfoModuleDataLabelValueRows()
Returns info module label value rows.
|
boolean |
getInfoModuleDataShowLastUpdateTime()
Returns info module show last update time flag.
|
String |
getIssuerName()
Returns gift card issuer name.
|
ArrayList<UriData> |
getLinksModuleDataUris()
Returns links module uris.
|
ArrayList<LatLng> |
getLocations()
Returns locations where the object is considered valid.
|
ArrayList<WalletObjectMessage> |
getMessages()
Returns gift card Object messages.
|
String |
getPin()
Returns pIN to access this card.
|
int |
getState()
Returns gift card Object state.
|
ArrayList<TextModuleData> |
getTextModulesData()
Returns text modules.
|
String |
getTitle()
Returns title of the gift card.
|
TimeInterval |
getValidTimeInterval()
Returns time interval within which the object is considered valid.
|
static GiftCardWalletObject.Builder |
newBuilder()
Creates a helper instance whose implementation follows the builder pattern to
create new objects of
GiftCardWalletObject .
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Fields
public static finalCreator<GiftCardWalletObject> CREATOR
Public Methods
publicStringgetBalanceCurrencyCode()
Returns the currency code for the balance.
public longgetBalanceMicros()
Returns balance for this card.
public longgetBalanceUpdateTime()
Returns timestamp when the card balance was last updated.
publicStringgetBarcodeAlternateText()
Returns human-readable text to display to the user in addition to the encoded barcode value (ex: "3492013" ).
publicStringgetBarcodeLabel()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- Barcode label.
publicStringgetBarcodeType()
Returns barcode type. Possible values include "codabar", "qrCode", "textOnly", etc...
publicStringgetBarcodeValue()
Returns encoded barcode value.
publicStringgetCardIdentifier()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- Identifier for the card.
publicStringgetCardNumber()
Returns number identifiyng this card.
publicStringgetClassId()
Returns gift card Class Id.
publicStringgetEventNumber()
Returns the card's event number, an optional field used by some gift cards.
publicStringgetId()
Returns the unique identifier for this Wallet Object.
publicStringgetInfoModuleDataHexBackgroundColor()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- Info module's hex background color.
publicStringgetInfoModuleDataHexFontColor()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- Info module hex font color.
publicArrayList<LabelValueRow> getInfoModuleDataLabelValueRows()
Returns info module label value rows.
public booleangetInfoModuleDataShowLastUpdateTime()
Returns info module show last update time flag.
publicStringgetIssuerName()
Returns gift card issuer name.
publicArrayList<LatLng> getLocations()
Returns locations where the object is considered valid.
publicArrayList<WalletObjectMessage> getMessages()
Returns gift card Object messages.
publicStringgetPin()
Returns pIN to access this card.
public intgetState()
Returns gift card Object state.
publicArrayList<TextModuleData> getTextModulesData()
Returns text modules.
publicStringgetTitle()
Returns title of the gift card.
publicTimeInterval getValidTimeInterval()
Returns time interval within which the object is considered valid.
public staticGiftCardWalletObject.Builder newBuilder()
Creates a helper instance whose implementation follows the builder pattern to create
new objects ofGiftCardWalletObject
.
Returns
- A new builder.