java.lang.Object |
↳ |
com.google.android.gms.wallet.PaymentDataRequest |
Class Overview
Parcelable representing a payment data request, which provides necessary information to support a
payment. See the available fields for more information.
Summary
Nested Classes |
class |
PaymentDataRequest.Builder |
Builder to create a PaymentDataRequest . |
[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
ArrayList<Integer>
getAllowedPaymentMethods
()
Returns |
CardRequirements |
card requirements or null if no requirements were specified. |
public
boolean
isEmailRequired
()
Returns |
boolean |
whether the buyer's email is required to be returned. |
public
boolean
isPhoneNumberRequired
()
Returns |
boolean |
whether the buyer's phone number is required to be returned as part of the billing
address and the shipping address.
|
public
boolean
isShippingAddressRequired
()
Returns |
boolean |
whether the buyer's shipping address is required to be returned. |
public
boolean
isUiRequired
()
Returns |
boolean |
whether UI is required to be shown. |
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |