AI-generated Key Takeaways
-
PaymentMethodToken is a Parcelable representing a payment method token.
-
It includes methods to get the tokenization type and the token string itself.
-
The class also provides a CREATOR field for Parcelable implementation and the necessary writeToParcel method.
Parcelable representing payment method token.
Inherited Constant Summary
Field Summary
| public static final Creator < PaymentMethodToken > | CREATOR |
Public Method Summary
| int | getPaymentMethodTokenizationType
()
Returns payment method tokenization type used to create this token.
|
| String | |
| void |
Inherited Method Summary
Fields
public static final Creator < PaymentMethodToken > CREATOR
Public Methods
public int getPaymentMethodTokenizationType ()
Returns payment method tokenization type used to create this token. See WalletConstants.PaymentMethodTokenizationType
for a list of supported
tokenization types.
public String getToken ()
Returns token for the selected payment method.

