fix(#188): tunisia payment part 2
parent
7a7b597586
commit
7a2277812c
@ -1,15 +1,22 @@ |
|||||||
import { ClientNames } from './clients/types' |
import { ClientNames } from './clients/types' |
||||||
|
|
||||||
|
export enum PaymentSystem { |
||||||
|
PagBrazil = 'pag_brasil', |
||||||
|
Paymee = 'paymee', |
||||||
|
Paytm = 'paytm', |
||||||
|
Stripe = 'stripe' |
||||||
|
} |
||||||
|
|
||||||
type PaymentsType = { |
type PaymentsType = { |
||||||
[key in ClientNames]: string |
[key in ClientNames]: PaymentSystem |
||||||
} |
} |
||||||
|
|
||||||
export const payments: PaymentsType = { |
export const payments: PaymentsType = { |
||||||
[ClientNames.Tunisia]: 'paymee', |
[ClientNames.Tunisia]: PaymentSystem.Paymee, |
||||||
brasil: 'pag_brasil', |
brasil: PaymentSystem.PagBrazil, |
||||||
[ClientNames.India]: 'paytm', |
[ClientNames.India]: PaymentSystem.Paytm, |
||||||
[ClientNames.Insports]: 'stripe', |
[ClientNames.Insports]: PaymentSystem.Stripe, |
||||||
[ClientNames.Instat]: 'stripe', |
[ClientNames.Instat]: PaymentSystem.Stripe, |
||||||
[ClientNames.Facr]: 'stripe', |
[ClientNames.Facr]: PaymentSystem.Stripe, |
||||||
[ClientNames.Lff]: 'stripe', |
[ClientNames.Lff]: PaymentSystem.Stripe, |
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue