PaymentMethodTokenizationType

public final class PaymentMethodTokenizationType extends Object

Payment method tokenization types.

Integrator can configure MaskedWalletRequest to tokenize the credit card selected by the buyer for a transaction using one of the tokenization types listed below. The token for the selected credit card can be retrieved by calling getPaymentMethodToken().

Deprecated. Use WalletConstants.PaymentMethodTokenizationType instead.

Constant Summary

int NETWORK_TOKEN When this type is used the payment method selected by the buyer will be tokenized using network token APIs.
int PAYMENT_GATEWAY When this type is used the payment method selected by the buyer will be tokenized using the payment gateway API.

Inherited Method Summary

Constants

public static final int NETWORK_TOKEN

When this type is used the payment method selected by the buyer will be tokenized using network token APIs.

PaymentMethodTokenizationParameters will need to contain a "publicKey" parameter containing an Elliptic Curve public key suitable for using with the NIST P-126 curve.

getPaymentMethodToken() will contain in getToken() the JSON representation of an encrypted payment credential containing the network token, cryptogram, expiration and CVV.

Please refer to the documentation for more information regarding publicKey generation, decryption and parsing of the encrypted payment credential.

Constant Value: 2

public static final int PAYMENT_GATEWAY

When this type is used the payment method selected by the buyer will be tokenized using the payment gateway API. In this case the corresponding FullWallet will contain the token that the integrator can then use directly with their gateway to process the charge. See PaymentMethodTokenizationParameters for more details.

Constant Value: 1