Package-level declarations

Types

Link copied to clipboard

Immutable state for a VGS cardholder name field.

Link copied to clipboard

Immutable state for a VGS card number field.

Link copied to clipboard

Immutable state for a VGS card security code (CVC/CVV) field.

Link copied to clipboard

Immutable state for a VGS card expiration date field.

Link copied to clipboard

Immutable state for a VGS U.S. Social Security Number field.

Link copied to clipboard

Immutable state for a generic VGS text field (e.g. city, postal code, address).

Functions

Link copied to clipboard

Creates and remembers a VgsCardholderTextFieldState for use with a VgsCardholderTextField. This is the only way to obtain an instance — direct construction is internal to the SDK.

Link copied to clipboard
fun rememberVgsCardNumberTextFieldState(collect: VGSCollect, fieldName: String, validators: List<VgsTextFieldValidator>? = null, isCardBrandValidationEnabled: Boolean = true, supportedCardBrands: List<VgsCardBrand> = VgsCardBrand.DEFAULT, tokenizationConfig: VgsCardNumberTokenizationConfig? = null): MutableState<VgsCardNumberTextFieldState>

Creates and remembers a VgsCardNumberTextFieldState for use with a VgsCardNumberTextField. This is the only way to obtain an instance — direct construction is reserved for the SDK.

Link copied to clipboard
fun rememberVgsCvcTextFieldState(collect: VGSCollect, fieldName: String, validators: List<VgsTextFieldValidator>? = null, isCardBrandValidationEnabled: Boolean = true, tokenizationConfig: VgsCvcTokenizationConfig? = null): MutableState<VgsCvcTextFieldState>

Creates and remembers a VgsCvcTextFieldState for use with a VgsCvcTextField. This is the only way to obtain an instance — direct construction is internal to the SDK.

Link copied to clipboard
fun rememberVgsExpiryTextFieldState(collect: VGSCollect, fieldName: String, validators: List<VgsTextFieldValidator>? = null, inputDateFormat: VgsExpiryDateFormat = VgsExpiryDateFormat.MonthShortYear, outputDateFormat: VgsExpiryDateFormat = VgsExpiryDateFormat.MonthShortYear, serializer: VgsExpirySerializer? = null, tokenizationConfig: VgsExpiryTokenizationConfig? = null): MutableState<VgsExpiryTextFieldState>

Creates and remembers a VgsExpiryTextFieldState for use with a VgsExpiryTextField. This is the only way to obtain an instance — direct construction is internal to the SDK.

Link copied to clipboard

Creates and remembers a VgsSsnTextFieldState for use with a VgsSsnTextField. This is the only way to obtain an instance — direct construction is internal to the SDK.

Link copied to clipboard

Creates and remembers a VgsTextFieldState for use with a VgsTextField. This is the only way to obtain an instance — direct construction is internal to the SDK.