A Parcelable request
that can optionally be passed to
PaymentsClient.isReadyToPay(IsReadyToPayRequest) to specify additional filtering
criteria for determining if a user is considered ready to pay.
| class | IsReadyToPayRequest.Builder | This class is deprecated. Use the JSON
request format instead, see
IsReadyToPayRequest.fromJson(String). |
|
| static IsReadyToPayRequest |
fromJson(String
isReadyToPayRequestJson)
Constructs
IsReadyToPayRequest
from a JSON object serialized as a string.
|
| ArrayList<Integer> |
getAllowedCardNetworks()
This method is deprecated. Use the JSON request format instead, see
fromJson(String).
|
| ArrayList<Integer> |
getAllowedPaymentMethods()
This method is deprecated. Use the JSON request format instead, see
fromJson(String).
|
| boolean |
isExistingPaymentMethodRequired()
This method is deprecated. Use the JSON request format instead, see
fromJson(String).
|
| static IsReadyToPayRequest.Builder |
newBuilder()
This method is deprecated. Use the JSON request format instead, see
fromJson(String).
|
| String |
toJson()
Returns
IsReadyToPayRequest
in JSON format.
|
Constructs IsReadyToPayRequest
from a JSON object serialized as a string.
To convert back to a JSON object serialized as string use toJson().
Note that you shouldn't rely on the values returned by getters in IsReadyToPayRequest
as they will not be populated with the data set in the given JSON.
For the expected format of this JSON, please see IsReadyToPayRequest object reference documentation.
This method is deprecated.
Use the JSON request format instead, see
fromJson(String).
WalletConstants.CardNetworks
that is used to filter the instruments deemed acceptable by
PaymentsClient.isReadyToPay(IsReadyToPayRequest). If not explicitly set,
the default supported networks is
WalletConstants.CARD_NETWORK_AMEX,
WalletConstants.CARD_NETWORK_DISCOVER,
WalletConstants.CARD_NETWORK_MASTERCARD, and
WalletConstants.CARD_NETWORK_VISA.This method is deprecated.
Use the JSON request format instead, see
fromJson(String).
WalletConstants.PaymentMethod, or null if no restrictions
were specified.This method is deprecated.
Use the JSON request format instead, see
fromJson(String).
This method is deprecated.
Use the JSON request format instead, see
fromJson(String).
IsReadyToPayRequest
object.Returns IsReadyToPayRequest
in JSON format.
Note that this will be null if this request was not constructed using
fromJson(String).
For the expected format of this JSON, please see IsReadyToPayRequest object reference documentation.