1234567891011121314151617181920212223
data class PrimerPaymentMethodTokenData( val token: String, val analyticsId: String, val tokenType: TokenType, val paymentInstrumentType: String, val paymentInstrumentData: PaymentInstrumentData?, val vaultData: VaultData?, val threeDSecureAuthentication: AuthenticationDetails? = null, val isVaulted: Boolean) { data class VaultData( val customerId: String, ) data class AuthenticationDetails( val responseCode: ResponseCode, val reasonCode: String?, val reasonText: String?, val protocolVersion: String?, val challengeIssued: Boolean?, )}
kotlin
copy
Properties
token
StringRequiredtokenType
TokenTypeRequiredanalyticsId
StringRequiredpaymentInstrumentType
StringRequiredpaymentInstrumentData
PaymentInstrumentData?Properties
network
String?cardholderName
String?first6Digits
Int?last4Digits
Int?The last 4 digits of the account number.
expirationMonth
Int?expirationYear
Int?externalPayerInfo
ExternalPayerInfo?Properties
email
StringexternalPayerId
String?firstName
String?lastName
String?klarnaCustomerToken
String?sessionData
SessionData?paymentMethodType
String?binData
BinData?Properties
network
String?bankName
String?vaultData
VaultData?threeDSecureAuthentication
AuthenticationDetails?