mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
20 lines
463 B
TypeScript
20 lines
463 B
TypeScript
import { CardApi } from '../api/cardApi';
|
|
|
|
export class CardData {
|
|
cardholderName: string;
|
|
brand: string;
|
|
number: string;
|
|
expMonth: string;
|
|
expYear: string;
|
|
code: string;
|
|
|
|
constructor(data: CardApi) {
|
|
this.cardholderName = data.cardholderName;
|
|
this.brand = data.brand;
|
|
this.number = data.number;
|
|
this.expMonth = data.expMonth;
|
|
this.expYear = data.expYear;
|
|
this.code = data.code;
|
|
}
|
|
}
|