UNPKG

2.54 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 Refunds_1 = require("./resources/Refunds");
25var Stores_1 = require("./resources/Stores");
26var Subscriptions_1 = require("./resources/Subscriptions");
27var TransactionTokens_1 = require("./resources/TransactionTokens");
28var Transfers_1 = require("./resources/Transfers");
29var Verification_1 = require("./resources/Verification");
30var WebHooks_1 = require("./resources/WebHooks");
31
32var SDK = function (_PaymentsSDK_1$Paymen) {
33 (0, _inherits3.default)(SDK, _PaymentsSDK_1$Paymen);
34
35 function SDK(options) {
36 (0, _classCallCheck3.default)(this, SDK);
37
38 var _this = (0, _possibleConstructorReturn3.default)(this, _PaymentsSDK_1$Paymen.call(this, options));
39
40 _this.balance = new Balance_1.Balance(_this.api);
41 _this.bankAccounts = new BankAccounts_1.BankAccounts(_this.api);
42 _this.charges = new Charges_1.Charges(_this.api);
43 _this.checkoutInfo = new CheckoutInfo_1.CheckoutInfo(_this.api);
44 _this.merchants = new Merchants_1.Merchants(_this.api);
45 _this.refunds = new Refunds_1.Refunds(_this.api);
46 _this.stores = new Stores_1.Stores(_this.api);
47 _this.subscriptions = new Subscriptions_1.Subscriptions(_this.api);
48 _this.transactionTokens = new TransactionTokens_1.TransactionTokens(_this.api);
49 _this.transfers = new Transfers_1.Transfers(_this.api);
50 _this.verification = new Verification_1.Verification(_this.api);
51 _this.webHooks = new WebHooks_1.WebHooks(_this.api);
52 return _this;
53 }
54
55 return SDK;
56}(PaymentsSDK_1.PaymentsSDK);
57
58Object.defineProperty(exports, "__esModule", { value: true });
59exports.default = SDK;
60//# sourceMappingURL=index.js.map
\No newline at end of file