-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25939 from Expensify/georgia-removeCorporateCardList
[NO QA][CardSettings] replace corporateCardList with cardList
- Loading branch information
Showing
5 changed files
with
58 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,17 @@ | ||
type AdditionalData = { | ||
isBillingCard?: boolean; | ||
isP2PDebitCard?: boolean; | ||
}; | ||
|
||
type AccountData = { | ||
additionalData?: AdditionalData; | ||
addressName?: string; | ||
addressState?: string; | ||
addressStreet?: string; | ||
addressZip?: number; | ||
cardMonth?: number; | ||
|
||
/** The masked credit card number */ | ||
cardNumber?: string; | ||
|
||
cardYear?: number; | ||
created?: string; | ||
currency?: string; | ||
fundID?: number; | ||
}; | ||
import {ValueOf} from 'type-fest'; | ||
import CONST from '../../CONST'; | ||
|
||
type Card = { | ||
accountData?: AccountData; | ||
accountType?: string; | ||
description?: string; | ||
key?: string; | ||
methodID?: number; | ||
title?: string; | ||
cardID: number; | ||
state: number; | ||
bank: string; | ||
availableSpend: number; | ||
domainName: string; | ||
maskedPan: string; | ||
isVirtual: boolean; | ||
fraud: ValueOf<typeof CONST.EXPENSIFY_CARD.FRAUD_TYPES>; | ||
cardholderFirstName: string; | ||
cardholderLastName: string; | ||
}; | ||
|
||
export default Card; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
type AdditionalData = { | ||
isBillingCard?: boolean; | ||
isP2PDebitCard?: boolean; | ||
}; | ||
|
||
type AccountData = { | ||
additionalData?: AdditionalData; | ||
addressName?: string; | ||
addressState?: string; | ||
addressStreet?: string; | ||
addressZip?: number; | ||
cardMonth?: number; | ||
|
||
/** The masked credit card number */ | ||
cardNumber?: string; | ||
|
||
cardYear?: number; | ||
created?: string; | ||
currency?: string; | ||
fundID?: number; | ||
}; | ||
|
||
type Fund = { | ||
accountData?: AccountData; | ||
accountType?: string; | ||
description?: string; | ||
key?: string; | ||
methodID?: number; | ||
title?: string; | ||
}; | ||
|
||
export default Fund; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters