Card requirements for the returned payment card. Examples include which card networks are
allowed (See WalletConstants.CardNetwork
)
and whether prepaid card is allowed.
Nested Class Summary
class | CardRequirements.Builder | Builder to create a CardRequirements . |
Inherited Constant Summary
Field Summary
public static final Creator<CardRequirements> | CREATOR |
Public Method Summary
boolean | |
ArrayList<Integer> | |
int | |
boolean | |
static CardRequirements.Builder | |
void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<CardRequirements> CREATOR
Public Methods
public boolean allowPrepaidCards ()
Returns
- whether a prepaid card may be used as the backing card for this transaction.
public ArrayList<Integer> getAllowedCardNetworks ()
Returns
- the types of
WalletConstants.CardNetwork
that are allowed for this purchase, ornull
if no restrictions were specified.
public int getBillingAddressFormat ()
Returns
- The billing address format. See
WalletConstants.BillingAddressFormat
for more info.
public boolean isBillingAddressRequired ()
Returns
- whether a billing address is required to be returned.