FieldType

The enum class represents all available type of VGS input fields.

Since

1.0.1

Entries

Link copied to clipboard

Represents field with card number input in '####-####-####-####' format. The field supports smart detection of different card brands. Some available brands support Luhn algorithm during validation.

Link copied to clipboard

Represents field with CVC number. CVC input field depends on CARD_NUMBER field. CVC input field applies limitations defined in the CardType class.

Link copied to clipboard

The input field provides date limitations with format DD_MM_YYYY, MM_DD_YYYY and YYYY_MM_DD

Link copied to clipboard

The input field provides date limitations with format MM/yy .

Link copied to clipboard

The input field applies any characters, digits, and space.

Link copied to clipboard

The input field has no limitations.

Link copied to clipboard

Represents field with Social Security Number (SSN) consists of nine digits, commonly written as three fields separated by hyphens: ###-##-####.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val raw: String

Functions

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

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.