mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
refactor for login uris and response model changes
This commit is contained in:
17
src/models/api/cardApi.ts
Normal file
17
src/models/api/cardApi.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export class CardApi {
|
||||
cardholderName: string;
|
||||
brand: string;
|
||||
number: string;
|
||||
expMonth: string;
|
||||
expYear: string;
|
||||
code: string;
|
||||
|
||||
constructor(data: any) {
|
||||
this.cardholderName = data.CardholderName;
|
||||
this.brand = data.Brand;
|
||||
this.number = data.Number;
|
||||
this.expMonth = data.ExpMonth;
|
||||
this.expYear = data.ExpYear;
|
||||
this.code = data.Code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user