Page Summary
-
PaymentMetadataRequest is a Parcelable request used with PaymentsClient.getPaymentMetadata to filter payment methods.
-
It includes a CREATOR field for Parcelable creation and methods like fromJson and toJson for JSON conversion.
A Parcelable
request
that is passed into PaymentsClient.getPaymentMetadata(PaymentMetadataRequest)
to specify additional
filtering criteria for determining if a user has a payment method that can be used to
checkout.
Inherited Constant Summary
Field Summary
| public static final Creator < PaymentMetadataRequest > | CREATOR |
Public Method Summary
| static PaymentMetadataRequest | |
| String |
Inherited Method Summary
Fields
public static final Creator < PaymentMetadataRequest > CREATOR
Public Methods
public static PaymentMetadataRequest fromJson ( String paymentMetadataRequestJson)
Constructs PaymentMetadataRequest
from a JSON object serialized as a string.
To convert back to a JSON object serialized as string use toJson()
.
For the expected format of this JSON, please see PaymentMetadataRequest object reference documentation .
public String toJson ()
Returns PaymentMetadataRequest
string in JSON format.
For the expected format of this JSON, please see PaymentMetadataRequest object reference documentation .

