seeder
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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: 'test-merchant-id',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user