amazon-pay-async
Version:
API wrapper for Amazon Pay using promises and defining types
16 lines (15 loc) • 548 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var environment_1 = require("./environment");
exports.EnvironmentEnum = environment_1.EnvironmentEnum;
var Config = /** @class */ (function () {
function Config(cfg) {
this.environment = environment_1.EnvironmentList[cfg.environment];
this.clientId = cfg.clientId;
this.sellerId = cfg.sellerId;
this.mwsAccessKey = cfg.mwsAccessKey;
this.mwsSecretKey = cfg.mwsSecretKey;
}
return Config;
}());
exports.Config = Config;