Package-level declarations

Functions

Link copied to clipboard
fun VgsCardholderOutlinedTextField(state: VgsCardholderTextFieldState, onStateChange: (state: VgsCardholderTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsVisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsCardholderTextField. See VgsCardholderTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsCardholderTextField(state: VgsCardholderTextFieldState, onStateChange: (state: VgsCardholderTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsVisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a cardholder name.

Link copied to clipboard
fun VgsCardNumberOutlinedTextField(state: VgsCardNumberTextFieldState, onStateChange: (state: VgsCardNumberTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsMaskVisualTransformation(state.cardBrand.mask), keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsCardNumberTextField. See VgsCardNumberTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsCardNumberTextField(state: VgsCardNumberTextFieldState, onStateChange: (state: VgsCardNumberTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsMaskVisualTransformation(state.cardBrand.mask), keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a card number.

Link copied to clipboard
fun VgsCvcOutlinedTextField(state: VgsCvcTextFieldState, onStateChange: (state: VgsCvcTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsCvcTextField. See VgsCvcTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsCvcTextField(state: VgsCvcTextFieldState, onStateChange: (state: VgsCvcTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a card security code (CVC/CVV).

Link copied to clipboard
fun VgsExpiryOutlinedTextField(state: VgsExpiryTextFieldState, onStateChange: (state: VgsExpiryTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsExpiryTextField. See VgsExpiryTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsExpiryTextField(state: VgsExpiryTextFieldState, onStateChange: (state: VgsExpiryTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a card expiration date.

Link copied to clipboard
fun VgsOutlinedTextField(state: VgsTextFieldState, onStateChange: (state: VgsTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsVisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, singleLine: Boolean = false, maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE, minLines: Int = 1, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsTextField. See VgsTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsSsnOutlinedTextField(state: VgsSsnTextFieldState, onStateChange: (state: VgsSsnTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.OutlinedTextFieldShape, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors())

Outlined Material variant of VgsSsnTextField. See VgsSsnTextField for usage. Parameters match androidx.compose.material.OutlinedTextField.

Link copied to clipboard
fun VgsSsnTextField(state: VgsSsnTextFieldState, onStateChange: (state: VgsSsnTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a U.S. Social Security Number.

Link copied to clipboard
fun VgsTextField(state: VgsTextFieldState, onStateChange: (state: VgsTextFieldState) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalTextStyle.current, label: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VgsVisualTransformation = VgsVisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, singleLine: Boolean = false, maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE, minLines: Int = 1, interactionSource: MutableInteractionSource? = null, shape: Shape = TextFieldDefaults.TextFieldShape, colors: TextFieldColors = TextFieldDefaults.textFieldColors())

Material filled text field for collecting a generic VGS value (city, postal code, address, …).