1 | "use strict";
|
2 |
|
3 | var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");
|
4 |
|
5 | var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
6 |
|
7 | var _possibleConstructorReturn2 = require("babel-runtime/helpers/possibleConstructorReturn");
|
8 |
|
9 | var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10 |
|
11 | var _inherits2 = require("babel-runtime/helpers/inherits");
|
12 |
|
13 | var _inherits3 = _interopRequireDefault(_inherits2);
|
14 |
|
15 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16 |
|
17 | var PaymentsSDK_1 = require("./PaymentsSDK");
|
18 |
|
19 | var Balance_1 = require("./resources/Balance");
|
20 | var BankAccounts_1 = require("./resources/BankAccounts");
|
21 | var Charges_1 = require("./resources/Charges");
|
22 | var CheckoutInfo_1 = require("./resources/CheckoutInfo");
|
23 | var Merchants_1 = require("./resources/Merchants");
|
24 | var Ledgers_1 = require("./resources/Ledgers");
|
25 | var Refunds_1 = require("./resources/Refunds");
|
26 | var Stores_1 = require("./resources/Stores");
|
27 | var Subscriptions_1 = require("./resources/Subscriptions");
|
28 | var TransactionTokens_1 = require("./resources/TransactionTokens");
|
29 | var Transfers_1 = require("./resources/Transfers");
|
30 | var Verification_1 = require("./resources/Verification");
|
31 | var WebHooks_1 = require("./resources/WebHooks");
|
32 |
|
33 | var 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 |
|
60 | Object.defineProperty(exports, "__esModule", { value: true });
|
61 | exports.default = SDK;
|
62 |
|
\ | No newline at end of file |