Skip to content

Commit

Permalink
Adding deprecated APM - maxima, zimpler to funding.js (#143)
Browse files Browse the repository at this point in the history
* adding card brands

* Adding deprecated APM - maxima, zimpler

---------

Co-authored-by: sakarthikeyan <[email protected]>
  • Loading branch information
SatheeshKS10 and sakarthikeyan authored Feb 15, 2024
1 parent 4fa6e14 commit 3b9fba6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apm.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ export const APM_LIST = [
FUNDING.MULTIBANCO,
FUNDING.SATISPAY,
FUNDING.PAIDY,
// deprecated APMs will be removed soon
FUNDING.MAXIMA,
FUNDING.ZIMPLER,
];
3 changes: 3 additions & 0 deletions src/funding.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export const FUNDING = {
MULTIBANCO: ("multibanco": "multibanco"),
SATISPAY: ("satispay": "satispay"),
PAIDY: ("paidy": "paidy"),
// deprecated APMs will be removed soon
ZIMPLER: ("zimpler": "zimpler"),
MAXIMA: ("maxima": "maxima"),
};

export const FUNDING_BRAND_LABEL = {
Expand Down
5 changes: 5 additions & 0 deletions src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export type CardVendorsEligibility = {|
elo?: CardVendorEligibility,
jcb?: CardVendorEligibility,
cup?: CardVendorEligibility,
maestro?: CardVendorEligibility,
diners?: CardVendorEligibility,
|};

export type CardEligibility = {|
Expand Down Expand Up @@ -93,4 +95,7 @@ export type FundingEligibilityType = {|
multibanco?: BasicEligibility,
satispay?: BasicEligibility,
paidy?: BasicEligibility,
// deprecated APMs will be removed soon
zimpler?: BasicEligibility,
maxima?: BasicEligibility,
|};

0 comments on commit 3b9fba6

Please sign in to comment.