java.lang.Object |
↳ |
com.google.android.gms.wallet.MaskedWalletRequest |
Class Overview
Parcelable representing a masked wallet request.
Summary
Nested Classes |
class |
MaskedWalletRequest.Builder |
Builder to create a MaskedWalletRequest . |
[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
boolean
allowDebitCard
()
Returns |
boolean |
whether a debit card may be used as the backing card for this transaction |
public
boolean
allowPrepaidCard
()
Returns |
boolean |
whether a prepaid card may be used as the backing card for this transaction |
public
ArrayList<Integer>
getAllowedCardNetworks
()
Returns |
ArrayList<Integer> |
The types of WalletConstants.CardNetwork that are allowed for this purchase, or
null if no restrictions were specified.
|
public
Cart
getCart
()
Returns |
Cart |
the shopping cart |
public
String
getCountryCode
()
Returns |
String |
The ISO 3166-1 alpha-2 country code for the country where the transaction was completed
or processed. This is a required field for transactions that allow WalletConstants.CardNetwork s that use EMV cryptograms.
|
public
String
getCurrencyCode
()
Returns |
String |
the ISO 4217 currency code of the transaction |
public
String
getEstimatedTotalPrice
()
Returns |
String |
the estimated total price of the shopping cart |
public
String
getMerchantName
()
Returns |
String |
the merchant name that overrides the default display name in the merchant's account
settings
|
public
String
getMerchantTransactionId
()
Returns |
String |
your own unique identifier for the transaction |
public
boolean
isBillingAgreement
()
This method is deprecated.
Billing agreement is not supported in Android Pay.
Returns |
boolean |
whether this request is for a billing agreement rather than for a one time purchase |
public
boolean
isPhoneNumberRequired
()
Returns |
boolean |
whether a user phone number is required |
public
boolean
isShippingAddressRequired
()
Returns |
boolean |
whether a user shipping address is required |
public
boolean
useMinimalBillingAddress
()
This method is deprecated.
This setting will be ignored in the future, but will still be respected for Google
Wallet Instant Buy. Users will always have a full billing address with Android Pay.
Returns |
boolean |
indicates that only a minimal billing address associated with user's payment instrument
is desired. |
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel
|
flags |
int
|