java.lang.Object |
↳ |
com.google.android.gms.wallet.CardRequirements |
Class Overview
Card requirements for the returned payment card. Examples include which card networks are allowed
(See WalletConstants.CardNetwork
) and whether prepaid card is allowed.
Summary
Nested Classes |
class |
CardRequirements.Builder |
Builder to create a CardRequirements . |
[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
allowPrepaidCards
()
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
int
getBillingAddressFormat
()
public
boolean
isBillingAddressRequired
()
Returns |
boolean |
whether a billing address is required to be returned. |
public
void
writeToParcel
(Parcel out, int flags)
Parameters |
out |
Parcel |
flags |
int |