Files
dmenu-api/src/seeders/data/payment-methods.data.ts
T
2025-12-07 16:57:28 +03:30

48 lines
1.2 KiB
TypeScript

import { PaymentMethodEnum, PaymentGatewayEnum } from '../../modules/payments/interface/payment';
export interface PaymentMethodData {
title: string;
method: PaymentMethodEnum;
description: string;
enabled: boolean;
order: number;
gateway: PaymentGatewayEnum | null;
merchantId?: string;
}
export const paymentMethodsData: PaymentMethodData[] = [
{
title: 'پرداخت در محل',
method: PaymentMethodEnum.CardOnDelivery,
description: 'پرداخت در محل تحویل',
enabled: true,
order: 1,
gateway: null,
},
{
title: 'نقدی',
method: PaymentMethodEnum.Cash,
description: 'پرداخت نقدی',
enabled: true,
order: 2,
gateway: null,
},
{
title: 'زرین‌پال',
method: PaymentMethodEnum.Online,
description: 'درگاه پرداخت زرین‌پال',
enabled: true,
order: 3,
gateway: PaymentGatewayEnum.ZarinPal,
merchantId: 'b6f55bd0-6eae-4045-aeb8-07d084fa8f73',
},
{
title: 'کیف پول',
method: PaymentMethodEnum.Wallet,
description: 'پرداخت از کیف پول',
enabled: true,
order: 4,
gateway: null,
},
];