anypay-ts
Version:
TypeScript библиотека для работы с платёжной системой AnyPay
17 lines (16 loc) • 650 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnyPayClient = void 0;
const payment_1 = require("./services/payment");
const account_1 = require("./services/account");
const api_1 = require("./services/api");
const payout_1 = require("./services/payout");
class AnyPayClient {
constructor(apiId, apiKey) {
this.payment = new payment_1.PaymentService(apiId, apiKey);
this.account = new account_1.AccountService(apiId, apiKey);
this.api = new api_1.ApiService(apiId, apiKey);
this.payout = new payout_1.PayoutService(apiId, apiKey);
}
}
exports.AnyPayClient = AnyPayClient;