Use this method to set the payment method data captured on your user interface (UI).
1
setRawData(rawData: RawData): Promise<void>
typescript
copy
Parameters
rawData
PrimerRawDataRequireddirect subclasses
Properties
cardNumber
StringRequiredexpiryDate
StringRequiredcvv
StringRequiredcardHolderName
String?cardNetwork
CardNetwork.Type?Properties
phoneNumber
StringRequiredProperties
otpCode
StringRequired