CardValidationModel

@Serializable
data class CardValidationModel(val errorCode: String = "", val errorDescription: String = "", val cvvResult: String = "", val avsResult: String = "")

Card validation schema contains optional fields which will be present when appropriate.

Constructors

Link copied to clipboard
constructor(errorCode: String = "", errorDescription: String = "", cvvResult: String = "", avsResult: String = "")

Properties

Link copied to clipboard
@SerialName(value = "avs_result")
val avsResult: String

"A" "B" "D" "E" "F" "G" "H" "I" "J" "L" "M" "O"

Link copied to clipboard
@SerialName(value = "cvv_result")
val cvvResult: String

"M" "N" "P" "S" "U" "X"

Link copied to clipboard
@SerialName(value = "error_code")
val errorCode: String

Error code

Link copied to clipboard
@SerialName(value = "error_description")
val errorDescription: String

Error description