thawani-nodejs
Version:
Node.js library for Thawani Payment Gateway
16 lines (15 loc) • 371 B
TypeScript
export interface ThawaniConfig {
secretKey: string;
publishableKey: string;
sandbox?: boolean;
timeout?: number;
}
export declare class Config {
private config;
constructor(config: ThawaniConfig);
private validateConfig;
get secretKey(): string;
get publishableKey(): string;
get isSandbox(): boolean;
get timeout(): number;
}