cashbill
Version:
A TypeScript library for making payments through CashBill gateway.
16 lines (15 loc) • 524 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const payment_1 = require("./features/payment");
const notification_1 = require("./features/notification");
class CashBill {
constructor(config) {
this.getConfig = () => {
return this.config;
};
this.config = config;
this.payments = new payment_1.PaymentModule(this.getConfig);
this.notifications = new notification_1.NotificationModule(this.getConfig);
}
}
exports.CashBill = CashBill;