@checkout-kit/core / CardBrandRule
Interface: CardBrandRule
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
brand | readonly | CardBrand | - |
cvcLengths | readonly | readonly number[] | - |
displayName | readonly | string | - |
gaps | readonly | readonly number[] | Digit counts a space goes after: most cards group 4-4-4-4, Amex groups 4-6-5. |
lengths | readonly | readonly number[] | - |
luhn | readonly | boolean | - |
ranges | readonly | readonly readonly [number, number][] | Leading digits compared as numbers: [51, 55] matches 51-55, [222100, 272099] on six. |