Use this method to set the payment method data captured on your user interface (UI).

To receive validation and metadata updates based on the provided rawData, utilize the PrimerHeadlessUniversalCheckoutRawDataManagerListener.

1
fun setRawData(rawData: PrimerRawData)
kotlin
copy

Parameters

rawData
PrimerRawDataRequired
direct subclasses
Properties
cardNumber
StringRequired
expiryDate
StringRequired
cvv
StringRequired
cardNetwork
CardNetwork.Type?
Properties
cardNumber
StringRequired
expiryDate
StringRequired
cardHolderName
StringRequired
Properties
phoneNumber
StringRequired
Properties
otpCode
StringRequired