Credit-card
Usage
Import
npm i @finastra/credit-card
import '@finastra/credit-card';
...
<fds-credit-card></fds-credit-card>
API
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
date |
date |
string |
"03/24" | The card validity date |
hiddenDigits |
hidden-digits |
string |
"**** **** ****" | Hidden digits format |
lastDigits |
last-digits |
number |
9067 | The disclosed card numbers |
name |
name |
string |
"Jane Cooper" | The name of the card owner |