POCardTokenizationRequest

data class POCardTokenizationRequest(val metadata: Map<String, String>? = null, val number: String? = "", val expMonth: Int? = 0, val expYear: Int? = 0, val cvc: String? = "", val name: String = "", val contact: POContact? = POContact(), val preferredScheme: String? = null, val tokenType: POCardTokenizationRequest.TokenType? = null, val paymentToken: String? = "")

Details of the card that should be tokenized.

Parameters

number

Number of the card or Google Pay token.

expMonth

Expiry month of the card.

expYear

Expiry year of the card.

cvc

Card Verification Code of the card.

name

Name of the cardholder.

contact

Information of cardholder.

preferredScheme

Preferred scheme defined by the Customer.

tokenType

Type of the token (e.g. Google Pay).

paymentToken

Payment token.

metadata

Metadata related to the card.

Constructors

Link copied to clipboard
constructor(metadata: Map<String, String>? = null, number: String? = "", expMonth: Int? = 0, expYear: Int? = 0, cvc: String? = "", name: String = "", contact: POContact? = POContact(), preferredScheme: String? = null, tokenType: POCardTokenizationRequest.TokenType? = null, paymentToken: String? = "")

Types

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum TokenType : Enum<POCardTokenizationRequest.TokenType>

Supported token types.

Properties

Link copied to clipboard
Link copied to clipboard
val cvc: String?
Link copied to clipboard
val expMonth: Int? = 0
Link copied to clipboard
val expYear: Int? = 0
Link copied to clipboard
val metadata: Map<String, String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val preferredScheme: String? = null
Link copied to clipboard