BrandParams

data class BrandParams(val mask: String = "#### #### #### #### ###", val algorithm: ChecksumAlgorithm = ChecksumAlgorithm.NONE, val rangeNumber: IntArray = CardType.UNKNOWN.rangeNumber, val rangeCVV: IntArray = CardType.UNKNOWN.rangeCVV)

Creates a new set of card brand parameters.

Constructors

Link copied to clipboard
constructor(mask: String = "#### #### #### #### ###", algorithm: ChecksumAlgorithm = ChecksumAlgorithm.NONE, rangeNumber: IntArray = CardType.UNKNOWN.rangeNumber, rangeCVV: IntArray = CardType.UNKNOWN.rangeCVV)

Properties

Link copied to clipboard

The algorithm for validation checkSum.

Link copied to clipboard

Represents format of the current card's number.

Link copied to clipboard

The length of the card's CVC number which a brand supported.

Link copied to clipboard

The length of the card's number which a brand supported.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int