You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
803 B
30 lines
803 B
import { ClientNames } from './clients/types'
|
|
|
|
export enum PaymentSystem {
|
|
PagBrazil = 'pag_brasil',
|
|
Paymee = 'paymee',
|
|
PhonePe = 'phonePe',
|
|
Stripe = 'stripe'
|
|
}
|
|
|
|
export enum CountryCode {
|
|
BR = 'BR', // Бразилия
|
|
IN = 'IN', // Индия
|
|
TN = 'TN' // Тунис
|
|
}
|
|
|
|
type PaymentsType = {
|
|
[key in ClientNames]: PaymentSystem
|
|
}
|
|
|
|
export const payments: PaymentsType = {
|
|
[ClientNames.Tunisia]: PaymentSystem.Paymee,
|
|
[ClientNames.Brasil]: PaymentSystem.PagBrazil,
|
|
[ClientNames.India]: PaymentSystem.PhonePe,
|
|
[ClientNames.Insports]: PaymentSystem.Stripe,
|
|
[ClientNames.Instat]: PaymentSystem.Stripe,
|
|
[ClientNames.Facr]: PaymentSystem.Stripe,
|
|
[ClientNames.Lff]: PaymentSystem.Stripe,
|
|
[ClientNames.Fqtv]: PaymentSystem.Stripe,
|
|
[ClientNames.Rustat]: PaymentSystem.Stripe,
|
|
}
|
|
|