UNPKG

@paciolan/cybersource-sdk

Version:
49 lines (48 loc) 1.87 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Configuration = void 0; class Configuration { constructor(param = {}) { this.apiKey = param.apiKey; this.username = param.username; this.password = param.password; this.accessToken = param.accessToken; this.basePath = param.basePath; this.baseOptions = param.baseOptions; this.merchantKeyId = param.merchantKeyId; this.merchantsecretKey = param.merchantsecretKey; /*Common Parameters*/ this.authenticationType = param.authenticationType; this.url; this.requestHost; this.requestJsonPath = param.requestJsonPath; this.merchantID = param.merchantID; this.requestType; this.requestTarget; this.requestJsonData; /* JWT Parameters*/ this.keysDirectory = param.keysDirectory; this.keyAlias = param.keyAlias; this.keyPass = param.keyPass; this.keyType; this.keyFilename = param.keyFilename; this.useHttpClient; /*HTTP Parameters*/ this.merchantKeyId = param.merchantKeyId; this.merchantsecretKey = param.merchantsecretKey; /* MetaKey Parameters */ this.useMetaKey = param.useMetaKey; this.portfolioID = param.portfolioID; /* MutualAuth Parameters */ this.enableClientCert = param.enableClientCert; this.clientCertDir = param.clientCertDir; this.sslClientCert = param.sslClientCert; this.privateKey = param.privateKey; this.runEnvironment = param.runEnvironment; /* Intermediate Host */ this.intermediateHost = param.intermediateHost; this.solutionId = param.solutionId; this.logConfiguration = param.logConfiguration; } } exports.Configuration = Configuration;