CardNumberState

The state of a card number field.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var bin: String?

The Bank Identification Number (BIN) of the card.

Link copied to clipboard

The name of the card brand.

Link copied to clipboard

The length of the content in the field.

Link copied to clipboard

The length of the raw, unformatted card number.

Link copied to clipboard

The resource ID of the card brand's icon.

Link copied to clipboard

The name of the field used for data transfer to the VGS proxy.

Link copied to clipboard

The type of the VGS input field.

Link copied to clipboard

True if the field has focus, false otherwise.

Link copied to clipboard

True if the field is empty, false otherwise.

Link copied to clipboard

True if the field is required, false otherwise.

Link copied to clipboard

True if the field's contents are valid, false otherwise.

Link copied to clipboard
var last: String?

The last 4 digits of the card number.

Link copied to clipboard

The full card number. @suppress

Link copied to clipboard

A list of validation errors.

Functions

Link copied to clipboard
open override fun toString(): String