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
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
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
()
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
String
getPin
()
Returns |
String |
PIN to access this card.
|
public
int
getState
()
Returns |
int |
Gift card Object state.
|
public
String
getTitle
()
Returns |
String |
Title of the gift card.
|
public
TimeInterval
getValidTimeInterval
()
Returns |
TimeInterval |
Time interval within which the object is considered valid.
|
Creates a helper instance whose implementation follows the builder pattern to create new
objects of GiftCardWalletObject
.
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |