central-gateway
Version:
Simplify payments in Bangladesh with one unified library for AamarPay, SSLCommerz, and bKash. Skip the hassle of multiple gateway documentations—our consistent API does it all for you!
15 lines (14 loc) • 456 B
TypeScript
import { PaymentData } from '../types/interfaces';
import { BaseGateway } from './base.gateway';
export declare class SslCommerzGateway extends BaseGateway {
private readonly storeId;
private readonly storePassword;
private readonly isLive;
constructor(config: {
storeId: string;
storePassword: string;
isLive?: boolean;
});
processPayment(data: PaymentData): Promise<string>;
private mapToSslCommerz;
}