CardRequirements

public final class CardRequirements extends Object
implements Parcelable

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

public int getBillingAddressFormat ()

Returns

public boolean isBillingAddressRequired ()

Returns
  • whether a billing address is required to be returned.

public static CardRequirements.Builder newBuilder ()

public void writeToParcel (Parcel out, int flags)