@houlak/plexo-sdk 0.1.6 → 0.1.7-fx
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/handler/PlexoHandler.d.ts +21 -10
- package/lib/handler/PlexoHandler.js +179 -29
- package/lib/index.d.ts +1 -0
- package/lib/index.js +4 -1
- package/lib/lib/logger.lib.js +3 -3
- package/lib/sdk/IPaymentGatewayClient.d.ts +8 -7
- package/lib/sdk/PaymentGatewayClient.d.ts +8 -7
- package/lib/sdk/PaymentGatewayClient.js +45 -45
- package/lib/sdk/PaymentGatewayMock.d.ts +2 -2
- package/lib/sdk/PaymentGatewayMock.js +5 -11
- package/lib/sdk/enums/plexo-error-enum.d.ts +1 -0
- package/lib/sdk/enums/plexo-error-enum.js +1 -0
- package/lib/sdk/helpers/signature/signatureHelper.d.ts +3 -7
- package/lib/sdk/helpers/signature/signatureHelper.js +74 -205
- package/lib/sdk/helpers/signature/signatureUtils.d.ts +10 -0
- package/lib/sdk/helpers/signature/signatureUtils.js +155 -0
- package/lib/sdk/helpers/signature/stringifyWithFloats.js +2 -0
- package/lib/sdk/mocks/mocks.js +24 -21
- package/lib/sdk/models/Authorization.d.ts +4 -5
- package/lib/sdk/models/Authorization.js +8 -2
- package/lib/sdk/models/AuthorizationInfo.d.ts +3 -2
- package/lib/sdk/models/AuthorizationInfo.js +24 -5
- package/lib/sdk/models/BuiltInPagesOptions.d.ts +5 -0
- package/lib/sdk/models/BuiltInPagesOptions.js +11 -0
- package/lib/sdk/models/CancelRequest.d.ts +1 -1
- package/lib/sdk/models/CancelRequest.js +2 -2
- package/lib/sdk/models/CodeRequest.d.ts +4 -2
- package/lib/sdk/models/CodeRequest.js +28 -0
- package/lib/sdk/models/CommerceIdRequest.d.ts +4 -2
- package/lib/sdk/models/CommerceIdRequest.js +27 -0
- package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -2
- package/lib/sdk/models/CommerceIssuerIdRequest.js +28 -0
- package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -2
- package/lib/sdk/models/CommerceModifyRequest.js +28 -0
- package/lib/sdk/models/CommerceRequest.d.ts +4 -2
- package/lib/sdk/models/CommerceRequest.js +27 -0
- package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +4 -2
- package/lib/sdk/models/CreateBankInstrumentRequest.js +29 -0
- package/lib/sdk/models/DeleteInstrumentRequest.d.ts +1 -1
- package/lib/sdk/models/DeleteInstrumentRequest.js +2 -2
- package/lib/sdk/models/DisplayOptions.d.ts +8 -0
- package/lib/sdk/models/DisplayOptions.js +14 -0
- package/lib/sdk/models/ExpressCheckoutSettings.d.ts +7 -0
- package/lib/sdk/models/ExpressCheckoutSettings.js +11 -0
- package/lib/sdk/models/FieldType.d.ts +6 -0
- package/lib/sdk/models/FieldType.js +6 -0
- package/lib/sdk/models/FixedCustomData.d.ts +6 -0
- package/lib/sdk/models/FixedCustomData.js +12 -0
- package/lib/sdk/models/GenericSignedObject.d.ts +3 -3
- package/lib/sdk/models/GenericSignedObject.js +3 -3
- package/lib/sdk/models/GenericStateObject.d.ts +2 -2
- package/lib/sdk/models/GenericStateObject.js +3 -3
- package/lib/sdk/models/IndexSDK.d.ts +8 -6
- package/lib/sdk/models/IndexSDK.js +32 -14
- package/lib/sdk/models/InstrumentCallback.d.ts +5 -5
- package/lib/sdk/models/InstrumentCallback.js +5 -5
- package/lib/sdk/models/InstrumentWithMetadata.d.ts +3 -3
- package/lib/sdk/models/InstrumentWithMetadata.js +3 -3
- package/lib/sdk/models/IssuerData.d.ts +6 -2
- package/lib/sdk/models/IssuerData.js +31 -0
- package/lib/sdk/models/PaymentInstrument.d.ts +11 -11
- package/lib/sdk/models/PaymentRequest.d.ts +3 -2
- package/lib/sdk/models/PaymentRequest.js +33 -14
- package/lib/sdk/models/Reference.d.ts +4 -2
- package/lib/sdk/models/Reference.js +25 -5
- package/lib/sdk/models/Reserve.d.ts +1 -1
- package/lib/sdk/models/Reserve.js +2 -2
- package/lib/sdk/models/ReserveRequest.d.ts +1 -1
- package/lib/sdk/models/ReserveRequest.js +2 -2
- package/lib/sdk/models/SignedObject.d.ts +3 -3
- package/lib/sdk/models/SignedObject.js +3 -3
- package/lib/sdk/models/StateObject.d.ts +2 -2
- package/lib/sdk/models/StateObject.js +2 -2
- package/lib/sdk/models/TokenizationSettings.d.ts +5 -0
- package/lib/sdk/models/TokenizationSettings.js +10 -0
- package/lib/sdk/models/TransactionCallback.d.ts +4 -4
- package/lib/sdk/models/TransactionCallback.js +3 -3
- package/lib/sdk/models/TransactionQuery.d.ts +4 -2
- package/lib/sdk/models/TransactionQuery.js +30 -1
- package/lib/sdk/models/TransactionsCSV.d.ts +3 -0
- package/lib/sdk/models/TransactionsCSV.js +2 -0
- package/lib/sdk/models/UIOptions.d.ts +8 -0
- package/lib/sdk/models/UIOptions.js +13 -0
- package/lib/sdk/models/WebFormSettings.d.ts +9 -0
- package/lib/sdk/models/WebFormSettings.js +12 -0
- package/lib/sdk/models/webhook/Address.d.ts +9 -0
- package/lib/sdk/models/webhook/Address.js +15 -0
- package/lib/sdk/models/webhook/CancellationInfo.d.ts +11 -0
- package/lib/sdk/models/webhook/CancellationInfo.js +17 -0
- package/lib/sdk/models/webhook/Client.d.ts +9 -0
- package/lib/sdk/models/webhook/Client.js +14 -0
- package/lib/sdk/models/webhook/Commerce.d.ts +6 -0
- package/lib/sdk/models/webhook/Commerce.js +12 -0
- package/lib/sdk/models/webhook/Currency.d.ts +8 -0
- package/lib/sdk/models/webhook/Currency.js +14 -0
- package/lib/sdk/models/webhook/Customer.d.ts +17 -0
- package/lib/sdk/models/webhook/Customer.js +22 -0
- package/lib/sdk/models/webhook/Document.d.ts +5 -0
- package/lib/sdk/models/webhook/Document.js +11 -0
- package/lib/sdk/models/webhook/IndexWebhook.d.ts +21 -0
- package/lib/sdk/models/webhook/IndexWebhook.js +45 -0
- package/lib/sdk/models/webhook/Instrument.d.ts +17 -0
- package/lib/sdk/models/webhook/Instrument.js +21 -0
- package/lib/sdk/models/webhook/Issuer.d.ts +8 -0
- package/lib/sdk/models/webhook/Issuer.js +14 -0
- package/lib/sdk/models/webhook/IssuerData.d.ts +8 -0
- package/lib/sdk/models/webhook/IssuerData.js +13 -0
- package/lib/sdk/models/webhook/IssuerDto.d.ts +5 -0
- package/lib/sdk/models/webhook/IssuerDto.js +11 -0
- package/lib/sdk/models/webhook/Item.d.ts +14 -0
- package/lib/sdk/models/webhook/Item.js +19 -0
- package/lib/sdk/models/webhook/PartialRefundsInfo.d.ts +12 -0
- package/lib/sdk/models/webhook/PartialRefundsInfo.js +18 -0
- package/lib/sdk/models/webhook/PaymentFacilitator.d.ts +8 -0
- package/lib/sdk/models/webhook/PaymentFacilitator.js +13 -0
- package/lib/sdk/models/webhook/PaymentProcessor.d.ts +5 -0
- package/lib/sdk/models/webhook/PaymentProcessor.js +11 -0
- package/lib/sdk/models/webhook/PurchaseInfo.d.ts +16 -0
- package/lib/sdk/models/webhook/PurchaseInfo.js +22 -0
- package/lib/sdk/models/webhook/RefundInfo.d.ts +12 -0
- package/lib/sdk/models/webhook/RefundInfo.js +18 -0
- package/lib/sdk/models/webhook/ReserveInfo.d.ts +13 -0
- package/lib/sdk/models/webhook/ReserveInfo.js +19 -0
- package/lib/sdk/models/webhook/Shipping.d.ts +7 -0
- package/lib/sdk/models/webhook/Shipping.js +12 -0
- package/lib/sdk/models/webhook/Transaction.d.ts +31 -0
- package/lib/sdk/models/webhook/Transaction.js +36 -0
- package/lib/sdk/models/webhook/TransactionResult.d.ts +5 -0
- package/lib/sdk/models/webhook/TransactionResult.js +10 -0
- package/lib/sdk/models/webhook/index.d.ts +21 -0
- package/lib/sdk/models/webhook/index.js +45 -0
- package/lib/utils/boolean.utils.d.ts +4 -0
- package/lib/utils/boolean.utils.js +53 -0
- package/lib/utils/case.util.d.ts +4 -0
- package/lib/utils/case.util.js +61 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +5 -0
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ServerSignedCallback = exports.ServerResponse = exports.ResultCodes = exports.ReserveRequest = exports.Reserve = exports.ReferenceType = exports.Reference = exports.PaymentRequest = exports.PaymentProcessor = exports.IssuerSignedRequest = exports.IssuerRequest = exports.IssuerProcessor = exports.IssuerData = exports.InstrumentWithMetadata = exports.InstrumentCallback = exports.InclusionType = exports.IdentificationType = exports.GenericStateObject = exports.GenericSignedObject = exports.GenericServerSignedResponse = exports.GenericIssuerSignedRequest = exports.GenericIssuerRequest = exports.GenericClientSignedRequest = exports.GenericClientRequest = exports.FieldType = exports.FieldInfoPaymentProcessors = exports.ExpressCheckoutSettingsDto = exports.DisplayOptions = exports.DeleteInstrumentRequest = exports.CreateBankInstrumentRequest = exports.CommerceRequest = exports.CommerceModifyRequest = exports.CommerceIssuerIdRequest = exports.CommerceIdRequest = exports.CodeRequest = exports.CodeAction = exports.ClientSignedResponse = exports.ClientSignedRequest = exports.ClientResponse = exports.ClientRequest = exports.CardTypes = exports.CardStatus = exports.CancelRequest = exports.BuiltInPagesOptions = exports.BaseServerResponse = exports.AuthorizationType = exports.AuthorizationInfo = exports.Authorization = exports.ActionType = exports.BaseResponse = void 0;
|
|
4
|
+
exports.PlexoErrorEnum = exports.WebFormSettings = exports.UIOptions = exports.TransactionType = exports.TransactionResult = exports.TransactionQuery = exports.TransactionCallback = exports.Transaction = exports.TokenizationSettings = exports.StateObject = exports.SignedObject = exports.ServerSignedResponse = exports.ServerSignedRequest = void 0;
|
|
5
5
|
var BaseResponse_1 = require("../../handler/types/BaseResponse");
|
|
6
6
|
Object.defineProperty(exports, "BaseResponse", { enumerable: true, get: function () { return BaseResponse_1.BaseResponse; } });
|
|
7
7
|
var ActionType_1 = require("./ActionType");
|
|
@@ -14,8 +14,8 @@ var AuthorizationType_1 = require("./AuthorizationType");
|
|
|
14
14
|
Object.defineProperty(exports, "AuthorizationType", { enumerable: true, get: function () { return AuthorizationType_1.AuthorizationType; } });
|
|
15
15
|
var BaseServerResponse_1 = require("./BaseServerResponse");
|
|
16
16
|
Object.defineProperty(exports, "BaseServerResponse", { enumerable: true, get: function () { return BaseServerResponse_1.BaseServerResponse; } });
|
|
17
|
-
var
|
|
18
|
-
Object.defineProperty(exports, "
|
|
17
|
+
var BuiltInPagesOptions_1 = require("./BuiltInPagesOptions");
|
|
18
|
+
Object.defineProperty(exports, "BuiltInPagesOptions", { enumerable: true, get: function () { return BuiltInPagesOptions_1.BuiltInPagesOptions; } });
|
|
19
19
|
var CancelRequest_1 = require("./CancelRequest");
|
|
20
20
|
Object.defineProperty(exports, "CancelRequest", { enumerable: true, get: function () { return CancelRequest_1.CancelRequest; } });
|
|
21
21
|
var CardStatus_1 = require("./CardStatus");
|
|
@@ -32,12 +32,24 @@ var ClientSignedResponse_1 = require("./ClientSignedResponse");
|
|
|
32
32
|
Object.defineProperty(exports, "ClientSignedResponse", { enumerable: true, get: function () { return ClientSignedResponse_1.ClientSignedResponse; } });
|
|
33
33
|
var CodeAction_1 = require("./CodeAction");
|
|
34
34
|
Object.defineProperty(exports, "CodeAction", { enumerable: true, get: function () { return CodeAction_1.CodeAction; } });
|
|
35
|
+
var CodeRequest_1 = require("./CodeRequest");
|
|
36
|
+
Object.defineProperty(exports, "CodeRequest", { enumerable: true, get: function () { return CodeRequest_1.CodeRequest; } });
|
|
37
|
+
var CommerceIdRequest_1 = require("./CommerceIdRequest");
|
|
38
|
+
Object.defineProperty(exports, "CommerceIdRequest", { enumerable: true, get: function () { return CommerceIdRequest_1.CommerceIdRequest; } });
|
|
39
|
+
var CommerceIssuerIdRequest_1 = require("./CommerceIssuerIdRequest");
|
|
40
|
+
Object.defineProperty(exports, "CommerceIssuerIdRequest", { enumerable: true, get: function () { return CommerceIssuerIdRequest_1.CommerceIssuerIdRequest; } });
|
|
41
|
+
var CommerceModifyRequest_1 = require("./CommerceModifyRequest");
|
|
42
|
+
Object.defineProperty(exports, "CommerceModifyRequest", { enumerable: true, get: function () { return CommerceModifyRequest_1.CommerceModifyRequest; } });
|
|
43
|
+
var CommerceRequest_1 = require("./CommerceRequest");
|
|
44
|
+
Object.defineProperty(exports, "CommerceRequest", { enumerable: true, get: function () { return CommerceRequest_1.CommerceRequest; } });
|
|
45
|
+
var CreateBankInstrumentRequest_1 = require("./CreateBankInstrumentRequest");
|
|
46
|
+
Object.defineProperty(exports, "CreateBankInstrumentRequest", { enumerable: true, get: function () { return CreateBankInstrumentRequest_1.CreateBankInstrumentRequest; } });
|
|
35
47
|
var DeleteInstrumentRequest_1 = require("./DeleteInstrumentRequest");
|
|
36
48
|
Object.defineProperty(exports, "DeleteInstrumentRequest", { enumerable: true, get: function () { return DeleteInstrumentRequest_1.DeleteInstrumentRequest; } });
|
|
37
|
-
var
|
|
38
|
-
Object.defineProperty(exports, "
|
|
39
|
-
var
|
|
40
|
-
Object.defineProperty(exports, "ExpressCheckoutSettingsDto", { enumerable: true, get: function () { return
|
|
49
|
+
var DisplayOptions_1 = require("./DisplayOptions");
|
|
50
|
+
Object.defineProperty(exports, "DisplayOptions", { enumerable: true, get: function () { return DisplayOptions_1.DisplayOptions; } });
|
|
51
|
+
var ExpressCheckoutSettings_1 = require("./ExpressCheckoutSettings");
|
|
52
|
+
Object.defineProperty(exports, "ExpressCheckoutSettingsDto", { enumerable: true, get: function () { return ExpressCheckoutSettings_1.ExpressCheckoutSettingsDto; } });
|
|
41
53
|
var FieldInfoPaymentProcessors_1 = require("./FieldInfoPaymentProcessors");
|
|
42
54
|
Object.defineProperty(exports, "FieldInfoPaymentProcessors", { enumerable: true, get: function () { return FieldInfoPaymentProcessors_1.FieldInfoPaymentProcessors; } });
|
|
43
55
|
var FieldType_1 = require("./FieldType");
|
|
@@ -64,6 +76,8 @@ var InstrumentCallback_1 = require("./InstrumentCallback");
|
|
|
64
76
|
Object.defineProperty(exports, "InstrumentCallback", { enumerable: true, get: function () { return InstrumentCallback_1.InstrumentCallback; } });
|
|
65
77
|
var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
|
|
66
78
|
Object.defineProperty(exports, "InstrumentWithMetadata", { enumerable: true, get: function () { return InstrumentWithMetadata_1.InstrumentWithMetadata; } });
|
|
79
|
+
var IssuerData_1 = require("./IssuerData");
|
|
80
|
+
Object.defineProperty(exports, "IssuerData", { enumerable: true, get: function () { return IssuerData_1.IssuerData; } });
|
|
67
81
|
var IssuerProcessor_1 = require("./IssuerProcessor");
|
|
68
82
|
Object.defineProperty(exports, "IssuerProcessor", { enumerable: true, get: function () { return IssuerProcessor_1.IssuerProcessor; } });
|
|
69
83
|
var IssuerRequest_1 = require("./IssuerRequest");
|
|
@@ -96,17 +110,21 @@ var SignedObject_1 = require("./SignedObject");
|
|
|
96
110
|
Object.defineProperty(exports, "SignedObject", { enumerable: true, get: function () { return SignedObject_1.SignedObject; } });
|
|
97
111
|
var StateObject_1 = require("./StateObject");
|
|
98
112
|
Object.defineProperty(exports, "StateObject", { enumerable: true, get: function () { return StateObject_1.StateObject; } });
|
|
99
|
-
var
|
|
100
|
-
Object.defineProperty(exports, "
|
|
113
|
+
var TokenizationSettings_1 = require("./TokenizationSettings");
|
|
114
|
+
Object.defineProperty(exports, "TokenizationSettings", { enumerable: true, get: function () { return TokenizationSettings_1.TokenizationSettings; } });
|
|
101
115
|
var Transaction_1 = require("./Transaction");
|
|
102
116
|
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
|
|
103
117
|
var TransactionCallback_1 = require("./TransactionCallback");
|
|
104
118
|
Object.defineProperty(exports, "TransactionCallback", { enumerable: true, get: function () { return TransactionCallback_1.TransactionCallback; } });
|
|
119
|
+
var TransactionQuery_1 = require("./TransactionQuery");
|
|
120
|
+
Object.defineProperty(exports, "TransactionQuery", { enumerable: true, get: function () { return TransactionQuery_1.TransactionQuery; } });
|
|
105
121
|
var TransactionResult_1 = require("./TransactionResult");
|
|
106
122
|
Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
|
|
107
123
|
var TransactionType_1 = require("./TransactionType");
|
|
108
124
|
Object.defineProperty(exports, "TransactionType", { enumerable: true, get: function () { return TransactionType_1.TransactionType; } });
|
|
109
|
-
var
|
|
110
|
-
Object.defineProperty(exports, "
|
|
111
|
-
var
|
|
112
|
-
Object.defineProperty(exports, "
|
|
125
|
+
var UIOptions_1 = require("./UIOptions");
|
|
126
|
+
Object.defineProperty(exports, "UIOptions", { enumerable: true, get: function () { return UIOptions_1.UIOptions; } });
|
|
127
|
+
var WebFormSettings_1 = require("./WebFormSettings");
|
|
128
|
+
Object.defineProperty(exports, "WebFormSettings", { enumerable: true, get: function () { return WebFormSettings_1.WebFormSettings; } });
|
|
129
|
+
var plexo_error_enum_1 = require("../enums/plexo-error-enum");
|
|
130
|
+
Object.defineProperty(exports, "PlexoErrorEnum", { enumerable: true, get: function () { return plexo_error_enum_1.PlexoErrorEnum; } });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PaymentInstrument
|
|
1
|
+
import { PaymentInstrument } from '..';
|
|
2
2
|
import { ActionType } from './ActionType';
|
|
3
3
|
import { InstrumentWithMetadata } from './InstrumentWithMetadata';
|
|
4
4
|
export declare class InstrumentCallback extends InstrumentWithMetadata {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
constructor(
|
|
5
|
+
sessionId: string;
|
|
6
|
+
client: string;
|
|
7
|
+
action: ActionType;
|
|
8
|
+
constructor(sessionId: string, client: string, action: ActionType, paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
9
9
|
}
|
|
@@ -19,11 +19,11 @@ exports.InstrumentCallback = void 0;
|
|
|
19
19
|
var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
|
|
20
20
|
var InstrumentCallback = /** @class */ (function (_super) {
|
|
21
21
|
__extends(InstrumentCallback, _super);
|
|
22
|
-
function InstrumentCallback(
|
|
23
|
-
var _this = _super.call(this,
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
22
|
+
function InstrumentCallback(sessionId, client, action, paymentInstrument, optionalMetadata) {
|
|
23
|
+
var _this = _super.call(this, paymentInstrument, optionalMetadata) || this;
|
|
24
|
+
_this.sessionId = sessionId;
|
|
25
|
+
_this.client = client;
|
|
26
|
+
_this.action = action;
|
|
27
27
|
return _this;
|
|
28
28
|
}
|
|
29
29
|
return InstrumentCallback;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentInstrument } from './PaymentInstrument';
|
|
2
2
|
export declare class InstrumentWithMetadata {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
constructor(
|
|
3
|
+
paymentInstrument: PaymentInstrument;
|
|
4
|
+
optionalMetadata: string;
|
|
5
|
+
constructor(paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
6
6
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InstrumentWithMetadata = void 0;
|
|
4
4
|
var InstrumentWithMetadata = /** @class */ (function () {
|
|
5
|
-
function InstrumentWithMetadata(
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
5
|
+
function InstrumentWithMetadata(paymentInstrument, optionalMetadata) {
|
|
6
|
+
this.paymentInstrument = paymentInstrument;
|
|
7
|
+
this.optionalMetadata = optionalMetadata;
|
|
8
8
|
}
|
|
9
9
|
return InstrumentWithMetadata;
|
|
10
10
|
}());
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { FixedCustomData } from './FixedCustomData';
|
|
2
|
+
export declare class IssuerData extends FixedCustomData {
|
|
2
3
|
issuerId: number;
|
|
3
4
|
commerceId: number;
|
|
5
|
+
paymentFacilitatorCommerceId?: number;
|
|
6
|
+
paymentFacilitatorId?: number;
|
|
4
7
|
metadata: any;
|
|
5
|
-
|
|
8
|
+
constructor(issuerId: number, commerceId: number, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string, paymentFacilitatorCommerceId: number, paymentFacilitatorId: number, metadata: any);
|
|
9
|
+
}
|
|
@@ -1,2 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.IssuerData = void 0;
|
|
19
|
+
var FixedCustomData_1 = require("./FixedCustomData");
|
|
20
|
+
var IssuerData = /** @class */ (function (_super) {
|
|
21
|
+
__extends(IssuerData, _super);
|
|
22
|
+
function IssuerData(issuerId, commerceId, plexoClientName, plexoCertificatePassword, plexoCertificatePath, paymentFacilitatorCommerceId, paymentFacilitatorId, metadata) {
|
|
23
|
+
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
+
_this.issuerId = issuerId;
|
|
25
|
+
_this.commerceId = commerceId;
|
|
26
|
+
_this.paymentFacilitatorCommerceId = paymentFacilitatorCommerceId;
|
|
27
|
+
_this.paymentFacilitatorId = paymentFacilitatorId;
|
|
28
|
+
_this.metadata = metadata;
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return IssuerData;
|
|
32
|
+
}(FixedCustomData_1.FixedCustomData));
|
|
33
|
+
exports.IssuerData = IssuerData;
|
|
@@ -4,15 +4,15 @@ import { Currency } from './Currency';
|
|
|
4
4
|
import { IssuerInfo } from './IssuerInfo';
|
|
5
5
|
import { TimeLimit } from './TimeLimit';
|
|
6
6
|
export declare type PaymentInstrument = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
instrumentToken: string;
|
|
8
|
+
name: string;
|
|
9
|
+
issuer: IssuerInfo;
|
|
10
|
+
supportedCurrencies: Currency[];
|
|
11
|
+
status: CardStatus;
|
|
12
|
+
instrumentExpirationUTC: number;
|
|
13
|
+
anonInstrumentUsageTimeLimit?: number;
|
|
14
|
+
creditLimits: AmountLimit[];
|
|
15
|
+
additionalRequirements: TimeLimit[];
|
|
16
|
+
instrumentInformation: any;
|
|
17
|
+
sessionCreationId: string;
|
|
18
18
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FinancialInclusion } from './FinancialInclusion';
|
|
2
|
+
import { FixedCustomData } from './FixedCustomData';
|
|
2
3
|
import { Item } from './Item';
|
|
3
4
|
import { PaymentInstrumentInput } from './PaymentInstrumentInput';
|
|
4
|
-
export declare class PaymentRequest {
|
|
5
|
+
export declare class PaymentRequest extends FixedCustomData {
|
|
5
6
|
clientReferenceId: string;
|
|
6
7
|
paymentInstrumentInput: PaymentInstrumentInput;
|
|
7
8
|
items: Item[];
|
|
@@ -13,5 +14,5 @@ export declare class PaymentRequest {
|
|
|
13
14
|
optionalMetadata?: string;
|
|
14
15
|
optionalProvidedCode?: string;
|
|
15
16
|
optionalExternalPaymentInfo?: string;
|
|
16
|
-
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
|
|
17
|
+
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
|
|
17
18
|
}
|
|
@@ -1,20 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
18
|
exports.PaymentRequest = void 0;
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
var FixedCustomData_1 = require("./FixedCustomData");
|
|
20
|
+
var PaymentRequest = /** @class */ (function (_super) {
|
|
21
|
+
__extends(PaymentRequest, _super);
|
|
22
|
+
function PaymentRequest(clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath, tipAmount, optionalCommerceId, optionalMetadata, optionalProvidedCode, optionalExternalPaymentInfo) {
|
|
23
|
+
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
+
_this.clientReferenceId = clientReferenceId;
|
|
25
|
+
_this.paymentInstrumentInput = paymentInstrumentInput;
|
|
26
|
+
_this.items = items;
|
|
27
|
+
_this.currencyId = currencyId;
|
|
28
|
+
_this.installments = installments;
|
|
29
|
+
_this.financialInclusion = financialInclusion;
|
|
30
|
+
_this.tipAmount = tipAmount;
|
|
31
|
+
_this.optionalCommerceId = optionalCommerceId;
|
|
32
|
+
_this.optionalMetadata = optionalMetadata;
|
|
33
|
+
_this.optionalProvidedCode = optionalProvidedCode;
|
|
34
|
+
_this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
|
|
35
|
+
return _this;
|
|
17
36
|
}
|
|
18
37
|
return PaymentRequest;
|
|
19
|
-
}());
|
|
38
|
+
}(FixedCustomData_1.FixedCustomData));
|
|
20
39
|
exports.PaymentRequest = PaymentRequest;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { FixedCustomData } from './FixedCustomData';
|
|
1
2
|
import { ReferenceType } from './ReferenceType';
|
|
2
|
-
export declare class Reference {
|
|
3
|
+
export declare class Reference extends FixedCustomData {
|
|
3
4
|
type: ReferenceType;
|
|
4
5
|
metaReference: string;
|
|
5
|
-
|
|
6
|
+
plexoClientName: string;
|
|
7
|
+
constructor(type: ReferenceType, metaReference: string, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
|
|
6
8
|
}
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
18
|
exports.Reference = void 0;
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
19
|
+
var FixedCustomData_1 = require("./FixedCustomData");
|
|
20
|
+
var Reference = /** @class */ (function (_super) {
|
|
21
|
+
__extends(Reference, _super);
|
|
22
|
+
function Reference(type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
|
|
23
|
+
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
+
_this.type = type;
|
|
25
|
+
_this.metaReference = metaReference;
|
|
26
|
+
_this.plexoClientName = plexoClientName;
|
|
27
|
+
return _this;
|
|
8
28
|
}
|
|
9
29
|
return Reference;
|
|
10
|
-
}());
|
|
30
|
+
}(FixedCustomData_1.FixedCustomData));
|
|
11
31
|
exports.Reference = Reference;
|
|
@@ -2,5 +2,5 @@ import { ReferenceType } from '..';
|
|
|
2
2
|
import { Reference } from './Reference';
|
|
3
3
|
export declare class Reserve extends Reference {
|
|
4
4
|
commit: boolean;
|
|
5
|
-
constructor(commit: boolean, type: ReferenceType, metaReference: string);
|
|
5
|
+
constructor(commit: boolean, type: ReferenceType, metaReference: string, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
|
|
6
6
|
}
|
|
@@ -19,8 +19,8 @@ exports.Reserve = void 0;
|
|
|
19
19
|
var Reference_1 = require("./Reference");
|
|
20
20
|
var Reserve = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Reserve, _super);
|
|
22
|
-
function Reserve(commit, type, metaReference) {
|
|
23
|
-
var _this = _super.call(this, type, metaReference) || this;
|
|
22
|
+
function Reserve(commit, type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
|
|
23
|
+
var _this = _super.call(this, type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
24
|
_this.commit = commit;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -2,5 +2,5 @@ import { FinancialInclusion, Item, PaymentInstrumentInput } from '..';
|
|
|
2
2
|
import { PaymentRequest } from './PaymentRequest';
|
|
3
3
|
export declare class ReserveRequest extends PaymentRequest {
|
|
4
4
|
expirationUTC: number;
|
|
5
|
-
constructor(expirationUTC: number, clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion);
|
|
5
|
+
constructor(expirationUTC: number, clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
|
|
6
6
|
}
|
|
@@ -19,8 +19,8 @@ exports.ReserveRequest = void 0;
|
|
|
19
19
|
var PaymentRequest_1 = require("./PaymentRequest");
|
|
20
20
|
var ReserveRequest = /** @class */ (function (_super) {
|
|
21
21
|
__extends(ReserveRequest, _super);
|
|
22
|
-
function ReserveRequest(expirationUTC, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) {
|
|
23
|
-
var _this = _super.call(this, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) || this;
|
|
22
|
+
function ReserveRequest(expirationUTC, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
|
|
23
|
+
var _this = _super.call(this, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
24
|
_this.expirationUTC = expirationUTC;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StateObject } from './StateObject';
|
|
2
2
|
export declare class SignedObject {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
constructor(
|
|
3
|
+
object: StateObject;
|
|
4
|
+
signature: string;
|
|
5
|
+
constructor(object: StateObject, signature: string);
|
|
6
6
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SignedObject = void 0;
|
|
4
4
|
var SignedObject = /** @class */ (function () {
|
|
5
|
-
function SignedObject(
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
5
|
+
function SignedObject(object, signature) {
|
|
6
|
+
this.object = object;
|
|
7
|
+
this.signature = signature;
|
|
8
8
|
}
|
|
9
9
|
return SignedObject;
|
|
10
10
|
}());
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StateObject = void 0;
|
|
4
4
|
var StateObject = /** @class */ (function () {
|
|
5
5
|
function StateObject(fingerprint, utcUnixTimeExpiration) {
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
6
|
+
this.fingerprint = fingerprint;
|
|
7
|
+
this.utcUnixTimeExpiration = utcUnixTimeExpiration;
|
|
8
8
|
}
|
|
9
9
|
return StateObject;
|
|
10
10
|
}());
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TokenizationSettings = void 0;
|
|
4
|
+
var TokenizationSettings = /** @class */ (function () {
|
|
5
|
+
function TokenizationSettings(display) {
|
|
6
|
+
this.display = display;
|
|
7
|
+
}
|
|
8
|
+
return TokenizationSettings;
|
|
9
|
+
}());
|
|
10
|
+
exports.TokenizationSettings = TokenizationSettings;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Commerce
|
|
2
|
-
import { PaymentCode
|
|
1
|
+
import { Commerce, Currency, FinancialInclusionResult, IssuerInfo, TransactionType } from '..';
|
|
2
|
+
import { PaymentCode } from './CodeAction';
|
|
3
3
|
import { Transaction } from './Transaction';
|
|
4
4
|
export declare class TransactionCallback extends Transaction {
|
|
5
|
-
|
|
6
|
-
constructor(
|
|
5
|
+
client: string;
|
|
6
|
+
constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
|
|
7
7
|
}
|
|
@@ -19,9 +19,9 @@ exports.TransactionCallback = void 0;
|
|
|
19
19
|
var Transaction_1 = require("./Transaction");
|
|
20
20
|
var TransactionCallback = /** @class */ (function (_super) {
|
|
21
21
|
__extends(TransactionCallback, _super);
|
|
22
|
-
function TransactionCallback(
|
|
23
|
-
var _this = _super.call(this,
|
|
24
|
-
_this.
|
|
22
|
+
function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
|
|
23
|
+
var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
|
|
24
|
+
_this.client = client;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
27
27
|
return TransactionCallback;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { FixedCustomData } from './FixedCustomData';
|
|
1
2
|
import { TransactionOrder } from './TransactionOrder';
|
|
2
|
-
export declare
|
|
3
|
+
export declare class TransactionQuery extends FixedCustomData {
|
|
3
4
|
queries: Query[];
|
|
4
5
|
order: TransactionOrder[];
|
|
5
6
|
limit: number;
|
|
6
7
|
skip: number;
|
|
7
|
-
|
|
8
|
+
constructor(queries: Query[], order: TransactionOrder[], limit: number, skip: number, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
|
|
9
|
+
}
|
|
8
10
|
export declare enum TransactionOrderDirection {
|
|
9
11
|
Asc = 0,
|
|
10
12
|
Desc = 1
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = void 0;
|
|
18
|
+
exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = exports.TransactionQuery = void 0;
|
|
19
|
+
var FixedCustomData_1 = require("./FixedCustomData");
|
|
20
|
+
var TransactionQuery = /** @class */ (function (_super) {
|
|
21
|
+
__extends(TransactionQuery, _super);
|
|
22
|
+
function TransactionQuery(queries, order, limit, skip, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
|
|
23
|
+
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
+
_this.queries = queries;
|
|
25
|
+
_this.order = order;
|
|
26
|
+
_this.limit = limit;
|
|
27
|
+
_this.skip = skip;
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
return TransactionQuery;
|
|
31
|
+
}(FixedCustomData_1.FixedCustomData));
|
|
32
|
+
exports.TransactionQuery = TransactionQuery;
|
|
4
33
|
var TransactionOrderDirection;
|
|
5
34
|
(function (TransactionOrderDirection) {
|
|
6
35
|
TransactionOrderDirection[TransactionOrderDirection["Asc"] = 0] = "Asc";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UIOptions = void 0;
|
|
4
|
+
var UIOptions = /** @class */ (function () {
|
|
5
|
+
function UIOptions(colors, theme, autoDarkTheme, logoURL) {
|
|
6
|
+
this.colors = colors;
|
|
7
|
+
this.theme = theme;
|
|
8
|
+
this.autoDarkTheme = autoDarkTheme;
|
|
9
|
+
this.logoURL = logoURL;
|
|
10
|
+
}
|
|
11
|
+
return UIOptions;
|
|
12
|
+
}());
|
|
13
|
+
exports.UIOptions = UIOptions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExpressCheckoutSettingsDto } from './ExpressCheckoutSettings';
|
|
2
|
+
import { TokenizationSettings } from './TokenizationSettings';
|
|
3
|
+
import { UIOptions } from './UIOptions';
|
|
4
|
+
export declare class WebFormSettings {
|
|
5
|
+
ui: UIOptions;
|
|
6
|
+
expressCheckout?: ExpressCheckoutSettingsDto;
|
|
7
|
+
tokenization: TokenizationSettings;
|
|
8
|
+
constructor(ui: UIOptions, expressCheckout: ExpressCheckoutSettingsDto, tokenization: TokenizationSettings);
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebFormSettings = void 0;
|
|
4
|
+
var WebFormSettings = /** @class */ (function () {
|
|
5
|
+
function WebFormSettings(ui, expressCheckout, tokenization) {
|
|
6
|
+
this.ui = ui;
|
|
7
|
+
this.expressCheckout = expressCheckout;
|
|
8
|
+
this.tokenization = tokenization;
|
|
9
|
+
}
|
|
10
|
+
return WebFormSettings;
|
|
11
|
+
}());
|
|
12
|
+
exports.WebFormSettings = WebFormSettings;
|