PCIPTokenization

constructor(merchantId: String, paymentMethodTypes: List<PaymentMethodType>)

Use this constructor to allow the user to enter the card data to be tokenized. After this class is initialized, you should define its listener and the options properties.

Parameters

merchantId

Your merchantId.

paymentMethodTypes

The allowed credit or debit card types.


constructor(merchantId: String, cvvOnlyCard: CvvOnlyCard)

Use this constructor to tokenize the CVV of an already tokenized card. After this class is initialized, you should define its listener and the options properties.

Parameters

merchantId

Your merchantId.

cvvOnlyCard

CVV Only Card tokenization data.


constructor(merchantId: String, card: Card)

Use this constructor if you use your own UI and already have a Card instance with the card data to be tokenized. After this class is initialized, you should define its listener and the options properties.

Parameters

merchantId

Your merchantId.

card

Card object to tokenize.