LengthModel

constructor(min: Int? = null, max: Int? = null)

Parameters

min

Minimum allowed length for the card number

max

Maximum allowed length for the card number

Example:

val length = LengthModel(
min = 16,
max = 16
)