UNPKG

2.65 kBJavaScriptView Raw
1"use strict";
2
3var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");
4
5var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
6
7var _possibleConstructorReturn2 = require("babel-runtime/helpers/possibleConstructorReturn");
8
9var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
10
11var _inherits2 = require("babel-runtime/helpers/inherits");
12
13var _inherits3 = _interopRequireDefault(_inherits2);
14
15function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
17var PaymentsSDK_1 = require("./PaymentsSDK");
18// Resources
19var Balance_1 = require("./resources/Balance");
20var BankAccounts_1 = require("./resources/BankAccounts");
21var Charges_1 = require("./resources/Charges");
22var CheckoutInfo_1 = require("./resources/CheckoutInfo");
23var Merchants_1 = require("./resources/Merchants");
24var Ledgers_1 = require("./resources/Ledgers");
25var Refunds_1 = require("./resources/Refunds");
26var Stores_1 = require("./resources/Stores");
27var Subscriptions_1 = require("./resources/Subscriptions");
28var TransactionTokens_1 = require("./resources/TransactionTokens");
29var Transfers_1 = require("./resources/Transfers");
30var Verification_1 = require("./resources/Verification");
31var WebHooks_1 = require("./resources/WebHooks");
32
33var SDK = function (_PaymentsSDK_1$Paymen) {
34 (0, _inherits3.default)(SDK, _PaymentsSDK_1$Paymen);
35
36 function SDK(options) {
37 (0, _classCallCheck3.default)(this, SDK);
38
39 var _this = (0, _possibleConstructorReturn3.default)(this, _PaymentsSDK_1$Paymen.call(this, options));
40
41 _this.balance = new Balance_1.Balance(_this.api);
42 _this.bankAccounts = new BankAccounts_1.BankAccounts(_this.api);
43 _this.charges = new Charges_1.Charges(_this.api);
44 _this.checkoutInfo = new CheckoutInfo_1.CheckoutInfo(_this.api);
45 _this.merchants = new Merchants_1.Merchants(_this.api);
46 _this.ledgers = new Ledgers_1.Ledgers(_this.api);
47 _this.refunds = new Refunds_1.Refunds(_this.api);
48 _this.stores = new Stores_1.Stores(_this.api);
49 _this.subscriptions = new Subscriptions_1.Subscriptions(_this.api);
50 _this.transactionTokens = new TransactionTokens_1.TransactionTokens(_this.api);
51 _this.transfers = new Transfers_1.Transfers(_this.api);
52 _this.verification = new Verification_1.Verification(_this.api);
53 _this.webHooks = new WebHooks_1.WebHooks(_this.api);
54 return _this;
55 }
56
57 return SDK;
58}(PaymentsSDK_1.PaymentsSDK);
59
60Object.defineProperty(exports, "__esModule", { value: true });
61exports.default = SDK;
62//# sourceMappingURL=index.js.map
\No newline at end of file