CardField

An enum representing the fields of a credit/debit card

Entries

Link copied to clipboard

The card number field

Link copied to clipboard

The expiration field

Link copied to clipboard

The CVV security code field

Link copied to clipboard

The zip/postal code field

Functions

Link copied to clipboard
fun valueOf(value: String): CardField

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.