SecurityCodeModel
data class SecurityCodeModel(val mode: String? = null, val location: String? = null, val length: Int? = null)
Defines the security code (CVV) requirements for a card. This class specifies how the security code should be handled, including its location on the card and length requirements.
Parameters
mode
How the security code should be handled (e.g., "mandatory", "optional")
location
Where the security code is located on the card (e.g., "back", "front")
length
Required length of the security code
Example:
val securityCode = SecurityCodeModel(
mode = "mandatory",
location = "back",
length = 3
)
Content copied to clipboard