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