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
paymentMethodType
String?A unique string identifier for the payment method. (e.g. PAYPAL
, GOOGLE_PAY
)
sessionInfo
SessionInfo?first6Digits
String?last4Digits
String?expirationMonth
String?expirationYear
String?cardholderName
String?network
String?binData
BinData?Properties
network
String?externalPayerInfo
ExternalPayerInfo?Properties
email
StringexternalPayerId
String?firstName
String?lastName
StringklarnaCustomerToken
String?sessionData
SessionData?vaultData
VaultData?threeDSecureAuthentication
AuthenticationDetails?