UNPKG

securepay

Version:

https://www.securepay.com.au/

22 lines (21 loc) 738 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SecurePay = void 0; var SecurePay = /** @class */ (function () { function SecurePay(options) { this.clientId = (options === null || options === void 0 ? void 0 : options.clientId) || ""; this.clientSecret = (options === null || options === void 0 ? void 0 : options.clientSecret) || ""; } /** * Set / Update Credential * * @param {string} clientId * @param {string} clientSecret */ SecurePay.prototype.setCredential = function (clientId, clientSecret) { this.clientId = clientId; this.clientSecret = clientSecret; }; return SecurePay; }()); exports.SecurePay = SecurePay;