setInputMaskCreditCard

fun setInputMaskCreditCard(validation: EnterpriseTextInputField.CreditCardValidation? = null)

Restricts input to follow Credit Card format and length, ie. 1111 2222 3333 4444. Automatically inserts Space mask character. Automatically detects card type between Visa (Default) / American Express / Diners Club. Sets keyboard to InputType.TYPE_CLASS_PHONE.

Parameters

validation

Optional CreditCardValidation. If supplied, validates length based on card type.