@channelpayments/node-sdk 1.49.0 → 1.51.0

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.
Files changed (45) hide show
  1. package/dist/cjs/apis/ChannelPaymentsApi.d.ts +5 -5
  2. package/dist/cjs/apis/ChannelPaymentsApi.js +4 -4
  3. package/dist/cjs/models/CreateFeatureDto.d.ts +38 -0
  4. package/dist/cjs/models/CreateFeatureDto.js +53 -0
  5. package/dist/cjs/models/FeatureEntity.d.ts +56 -0
  6. package/dist/cjs/models/FeatureEntity.js +62 -0
  7. package/dist/cjs/models/PaymentMethodEntity1.d.ts +29 -5
  8. package/dist/cjs/models/PaymentMethodEntity1.js +16 -8
  9. package/dist/cjs/models/TransactionEntity.d.ts +69 -26
  10. package/dist/cjs/models/TransactionEntity.js +54 -29
  11. package/dist/cjs/models/TransactionsSearchEntity.d.ts +3 -3
  12. package/dist/cjs/models/TransactionsSearchEntity.js +3 -3
  13. package/dist/cjs/models/UpdateFeatureDto.d.ts +44 -0
  14. package/dist/cjs/models/UpdateFeatureDto.js +53 -0
  15. package/dist/cjs/models/index.d.ts +3 -3
  16. package/dist/cjs/models/index.js +3 -3
  17. package/dist/mjs/apis/ChannelPaymentsApi.d.ts +5 -5
  18. package/dist/mjs/apis/ChannelPaymentsApi.js +5 -5
  19. package/dist/mjs/models/CreateFeatureDto.d.ts +38 -0
  20. package/dist/mjs/models/CreateFeatureDto.js +46 -0
  21. package/dist/mjs/models/FeatureEntity.d.ts +56 -0
  22. package/dist/mjs/models/FeatureEntity.js +55 -0
  23. package/dist/mjs/models/PaymentMethodEntity1.d.ts +29 -5
  24. package/dist/mjs/models/PaymentMethodEntity1.js +16 -8
  25. package/dist/mjs/models/TransactionEntity.d.ts +69 -26
  26. package/dist/mjs/models/TransactionEntity.js +54 -29
  27. package/dist/mjs/models/TransactionsSearchEntity.d.ts +3 -3
  28. package/dist/mjs/models/TransactionsSearchEntity.js +3 -3
  29. package/dist/mjs/models/UpdateFeatureDto.d.ts +44 -0
  30. package/dist/mjs/models/UpdateFeatureDto.js +46 -0
  31. package/dist/mjs/models/index.d.ts +3 -3
  32. package/dist/mjs/models/index.js +3 -3
  33. package/package.json +1 -1
  34. package/dist/cjs/models/PaymentMethodEntity2.d.ts +0 -113
  35. package/dist/cjs/models/PaymentMethodEntity2.js +0 -82
  36. package/dist/cjs/models/PaymentServiceDetailsEntity.d.ts +0 -50
  37. package/dist/cjs/models/PaymentServiceDetailsEntity.js +0 -54
  38. package/dist/cjs/models/TransactionEntity1.d.ts +0 -241
  39. package/dist/cjs/models/TransactionEntity1.js +0 -150
  40. package/dist/mjs/models/PaymentMethodEntity2.d.ts +0 -113
  41. package/dist/mjs/models/PaymentMethodEntity2.js +0 -75
  42. package/dist/mjs/models/PaymentServiceDetailsEntity.d.ts +0 -50
  43. package/dist/mjs/models/PaymentServiceDetailsEntity.js +0 -47
  44. package/dist/mjs/models/TransactionEntity1.d.ts +0 -241
  45. package/dist/mjs/models/TransactionEntity1.js +0 -143
@@ -1,150 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Channel Payments API
6
- *
7
- * NOTE: This class is auto generated. Do not edit the class manually.
8
- *
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.TransactionEntity1ToJSON = exports.TransactionEntity1FromJSONTyped = exports.TransactionEntity1FromJSON = exports.instanceOfTransactionEntity1 = exports.TransactionEntity1CurrencyEnum = exports.TransactionEntity1IntentEnum = exports.TransactionEntity1StatusEnum = void 0;
12
- const runtime_1 = require("../runtime");
13
- const PaymentMethodEntity2_1 = require("./PaymentMethodEntity2");
14
- const PaymentsBuyerEntity_1 = require("./PaymentsBuyerEntity");
15
- /**
16
- * @export
17
- */
18
- exports.TransactionEntity1StatusEnum = {
19
- Processing: 'processing',
20
- BuyerApprovalPending: 'buyerApprovalPending',
21
- Authorized: 'authorized',
22
- AuthorizationFailed: 'authorizationFailed',
23
- Declined: 'declined',
24
- CapturePending: 'capturePending',
25
- Captured: 'captured',
26
- VoidPending: 'voidPending',
27
- Voided: 'voided',
28
- Held: 'held',
29
- Submitted: 'submitted',
30
- Transmitted: 'transmitted',
31
- Settled: 'settled',
32
- Returned: 'returned'
33
- };
34
- /**
35
- * @export
36
- */
37
- exports.TransactionEntity1IntentEnum = {
38
- Capture: 'capture',
39
- Authorize: 'authorize',
40
- Debit: 'debit',
41
- Credit: 'credit'
42
- };
43
- /**
44
- * @export
45
- */
46
- exports.TransactionEntity1CurrencyEnum = {
47
- Usd: 'USD',
48
- Cad: 'CAD',
49
- Aud: 'AUD'
50
- };
51
- /**
52
- * Check if a given object implements the TransactionEntity1 interface.
53
- */
54
- function instanceOfTransactionEntity1(value) {
55
- let isInstance = true;
56
- isInstance = isInstance && "transactionIntegrationId" in value;
57
- isInstance = isInstance && "transactionId" in value;
58
- isInstance = isInstance && "merchantId" in value;
59
- isInstance = isInstance && "status" in value;
60
- isInstance = isInstance && "intent" in value;
61
- isInstance = isInstance && "amount" in value;
62
- isInstance = isInstance && "netAmount" in value;
63
- isInstance = isInstance && "fee" in value;
64
- return isInstance;
65
- }
66
- exports.instanceOfTransactionEntity1 = instanceOfTransactionEntity1;
67
- function TransactionEntity1FromJSON(json) {
68
- return TransactionEntity1FromJSONTyped(json, false);
69
- }
70
- exports.TransactionEntity1FromJSON = TransactionEntity1FromJSON;
71
- function TransactionEntity1FromJSONTyped(json, ignoreDiscriminator) {
72
- if ((json === undefined) || (json === null)) {
73
- return json;
74
- }
75
- const typed = {
76
- 'transactionIntegrationId': json['transactionIntegrationId'],
77
- 'transactionId': json['transactionId'],
78
- 'merchantId': json['merchantId'],
79
- 'status': json['status'],
80
- 'intent': json['intent'],
81
- 'amount': json['amount'],
82
- 'netAmount': json['netAmount'],
83
- 'fee': json['fee'],
84
- 'feeDetails': !(0, runtime_1.exists)(json, 'feeDetails') ? undefined : json['feeDetails'],
85
- 'capturedAmount': !(0, runtime_1.exists)(json, 'capturedAmount') ? undefined : json['capturedAmount'],
86
- 'refundedAmount': !(0, runtime_1.exists)(json, 'refundedAmount') ? undefined : json['refundedAmount'],
87
- 'currency': !(0, runtime_1.exists)(json, 'currency') ? undefined : json['currency'],
88
- 'country': !(0, runtime_1.exists)(json, 'country') ? undefined : json['country'],
89
- 'paymentMethod': !(0, runtime_1.exists)(json, 'paymentMethod') ? undefined : (0, PaymentMethodEntity2_1.PaymentMethodEntity2FromJSON)(json['paymentMethod']),
90
- 'buyer': !(0, runtime_1.exists)(json, 'buyer') ? undefined : (0, PaymentsBuyerEntity_1.PaymentsBuyerEntityFromJSON)(json['buyer']),
91
- 'externalBuyerId': !(0, runtime_1.exists)(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
92
- 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
93
- 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
94
- 'merchantInitiated': !(0, runtime_1.exists)(json, 'merchantInitiated') ? undefined : json['merchantInitiated'],
95
- 'schemeTransactionId': !(0, runtime_1.exists)(json, 'schemeTransactionId') ? undefined : json['schemeTransactionId'],
96
- 'rawResponseCode': !(0, runtime_1.exists)(json, 'rawResponseCode') ? undefined : json['rawResponseCode'],
97
- 'rawResponseDescription': !(0, runtime_1.exists)(json, 'rawResponseDescription') ? undefined : json['rawResponseDescription'],
98
- 'avsResponseCode': !(0, runtime_1.exists)(json, 'avsResponseCode') ? undefined : json['avsResponseCode'],
99
- 'cvvResponseCode': !(0, runtime_1.exists)(json, 'cvvResponseCode') ? undefined : json['cvvResponseCode'],
100
- 'capturedAt': !(0, runtime_1.exists)(json, 'capturedAt') ? undefined : (new Date(json['capturedAt'])),
101
- 'authorizedAt': !(0, runtime_1.exists)(json, 'authorizedAt') ? undefined : (new Date(json['authorizedAt'])),
102
- 'voidedAt': !(0, runtime_1.exists)(json, 'voidedAt') ? undefined : (new Date(json['voidedAt'])),
103
- 'externalTransactionId': !(0, runtime_1.exists)(json, 'externalTransactionId') ? undefined : json['externalTransactionId'],
104
- 'buyerId': !(0, runtime_1.exists)(json, 'buyerId') ? undefined : json['buyerId'],
105
- 'sECCode': !(0, runtime_1.exists)(json, 'SECCode') ? undefined : json['SECCode'],
106
- };
107
- return (0, runtime_1.removeNullUndefined)(typed);
108
- }
109
- exports.TransactionEntity1FromJSONTyped = TransactionEntity1FromJSONTyped;
110
- function TransactionEntity1ToJSON(value) {
111
- if (value === undefined) {
112
- return undefined;
113
- }
114
- if (value === null) {
115
- return null;
116
- }
117
- return {
118
- 'transactionIntegrationId': value.transactionIntegrationId,
119
- 'transactionId': value.transactionId,
120
- 'merchantId': value.merchantId,
121
- 'status': value.status,
122
- 'intent': value.intent,
123
- 'amount': value.amount,
124
- 'netAmount': value.netAmount,
125
- 'fee': value.fee,
126
- 'feeDetails': value.feeDetails,
127
- 'capturedAmount': value.capturedAmount,
128
- 'refundedAmount': value.refundedAmount,
129
- 'currency': value.currency,
130
- 'country': value.country,
131
- 'paymentMethod': (0, PaymentMethodEntity2_1.PaymentMethodEntity2ToJSON)(value.paymentMethod),
132
- 'buyer': (0, PaymentsBuyerEntity_1.PaymentsBuyerEntityToJSON)(value.buyer),
133
- 'externalBuyerId': value.externalBuyerId,
134
- 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
135
- 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
136
- 'merchantInitiated': value.merchantInitiated,
137
- 'schemeTransactionId': value.schemeTransactionId,
138
- 'rawResponseCode': value.rawResponseCode,
139
- 'rawResponseDescription': value.rawResponseDescription,
140
- 'avsResponseCode': value.avsResponseCode,
141
- 'cvvResponseCode': value.cvvResponseCode,
142
- 'capturedAt': value.capturedAt === undefined ? undefined : (value.capturedAt.toISOString()),
143
- 'authorizedAt': value.authorizedAt === undefined ? undefined : (value.authorizedAt.toISOString()),
144
- 'voidedAt': value.voidedAt === undefined ? undefined : (value.voidedAt.toISOString()),
145
- 'externalTransactionId': value.externalTransactionId,
146
- 'buyerId': value.buyerId,
147
- 'SECCode': value.sECCode,
148
- };
149
- }
150
- exports.TransactionEntity1ToJSON = TransactionEntity1ToJSON;
@@ -1,113 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface PaymentMethodEntity2
11
- */
12
- export interface PaymentMethodEntity2 {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof PaymentMethodEntity2
17
- */
18
- paymentMethodId: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof PaymentMethodEntity2
23
- */
24
- method: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof PaymentMethodEntity2
29
- */
30
- externalPaymentMethodId?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof PaymentMethodEntity2
35
- */
36
- label?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof PaymentMethodEntity2
41
- */
42
- scheme?: string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof PaymentMethodEntity2
47
- */
48
- expirationDate?: string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof PaymentMethodEntity2
53
- */
54
- currency?: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof PaymentMethodEntity2
59
- */
60
- country?: string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof PaymentMethodEntity2
65
- */
66
- bin?: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof PaymentMethodEntity2
71
- */
72
- cardType?: PaymentMethodEntity2CardTypeEnum;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof PaymentMethodEntity2
77
- */
78
- accountName?: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof PaymentMethodEntity2
83
- */
84
- accountNumber?: string;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof PaymentMethodEntity2
89
- */
90
- accountType?: string;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof PaymentMethodEntity2
95
- */
96
- aBANumber?: string;
97
- }
98
- /**
99
- * @export
100
- */
101
- export declare const PaymentMethodEntity2CardTypeEnum: {
102
- readonly Credit: "CREDIT";
103
- readonly Debit: "DEBIT";
104
- readonly Prepaid: "PREPAID";
105
- };
106
- export type PaymentMethodEntity2CardTypeEnum = typeof PaymentMethodEntity2CardTypeEnum[keyof typeof PaymentMethodEntity2CardTypeEnum];
107
- /**
108
- * Check if a given object implements the PaymentMethodEntity2 interface.
109
- */
110
- export declare function instanceOfPaymentMethodEntity2(value: object): boolean;
111
- export declare function PaymentMethodEntity2FromJSON(json: any): PaymentMethodEntity2;
112
- export declare function PaymentMethodEntity2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodEntity2;
113
- export declare function PaymentMethodEntity2ToJSON(value?: PaymentMethodEntity2 | null): any;
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Channel Payments API
5
- *
6
- * NOTE: This class is auto generated. Do not edit the class manually.
7
- *
8
- */
9
- import { exists, removeNullUndefined } from '../runtime';
10
- /**
11
- * @export
12
- */
13
- export const PaymentMethodEntity2CardTypeEnum = {
14
- Credit: 'CREDIT',
15
- Debit: 'DEBIT',
16
- Prepaid: 'PREPAID'
17
- };
18
- /**
19
- * Check if a given object implements the PaymentMethodEntity2 interface.
20
- */
21
- export function instanceOfPaymentMethodEntity2(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "paymentMethodId" in value;
24
- isInstance = isInstance && "method" in value;
25
- return isInstance;
26
- }
27
- export function PaymentMethodEntity2FromJSON(json) {
28
- return PaymentMethodEntity2FromJSONTyped(json, false);
29
- }
30
- export function PaymentMethodEntity2FromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- const typed = {
35
- 'paymentMethodId': json['paymentMethodId'],
36
- 'method': json['method'],
37
- 'externalPaymentMethodId': !exists(json, 'externalPaymentMethodId') ? undefined : json['externalPaymentMethodId'],
38
- 'label': !exists(json, 'label') ? undefined : json['label'],
39
- 'scheme': !exists(json, 'scheme') ? undefined : json['scheme'],
40
- 'expirationDate': !exists(json, 'expirationDate') ? undefined : json['expirationDate'],
41
- 'currency': !exists(json, 'currency') ? undefined : json['currency'],
42
- 'country': !exists(json, 'country') ? undefined : json['country'],
43
- 'bin': !exists(json, 'bin') ? undefined : json['bin'],
44
- 'cardType': !exists(json, 'cardType') ? undefined : json['cardType'],
45
- 'accountName': !exists(json, 'accountName') ? undefined : json['accountName'],
46
- 'accountNumber': !exists(json, 'accountNumber') ? undefined : json['accountNumber'],
47
- 'accountType': !exists(json, 'accountType') ? undefined : json['accountType'],
48
- 'aBANumber': !exists(json, 'ABANumber') ? undefined : json['ABANumber'],
49
- };
50
- return removeNullUndefined(typed);
51
- }
52
- export function PaymentMethodEntity2ToJSON(value) {
53
- if (value === undefined) {
54
- return undefined;
55
- }
56
- if (value === null) {
57
- return null;
58
- }
59
- return {
60
- 'paymentMethodId': value.paymentMethodId,
61
- 'method': value.method,
62
- 'externalPaymentMethodId': value.externalPaymentMethodId,
63
- 'label': value.label,
64
- 'scheme': value.scheme,
65
- 'expirationDate': value.expirationDate,
66
- 'currency': value.currency,
67
- 'country': value.country,
68
- 'bin': value.bin,
69
- 'cardType': value.cardType,
70
- 'accountName': value.accountName,
71
- 'accountNumber': value.accountNumber,
72
- 'accountType': value.accountType,
73
- 'ABANumber': value.aBANumber,
74
- };
75
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface PaymentServiceDetailsEntity
11
- */
12
- export interface PaymentServiceDetailsEntity {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof PaymentServiceDetailsEntity
17
- */
18
- id?: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof PaymentServiceDetailsEntity
23
- */
24
- connectorServiceId?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof PaymentServiceDetailsEntity
29
- */
30
- method?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof PaymentServiceDetailsEntity
35
- */
36
- serviceConnectorName?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof PaymentServiceDetailsEntity
41
- */
42
- paymentServiceTransactionId?: string;
43
- }
44
- /**
45
- * Check if a given object implements the PaymentServiceDetailsEntity interface.
46
- */
47
- export declare function instanceOfPaymentServiceDetailsEntity(value: object): boolean;
48
- export declare function PaymentServiceDetailsEntityFromJSON(json: any): PaymentServiceDetailsEntity;
49
- export declare function PaymentServiceDetailsEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentServiceDetailsEntity;
50
- export declare function PaymentServiceDetailsEntityToJSON(value?: PaymentServiceDetailsEntity | null): any;
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Channel Payments API
5
- *
6
- * NOTE: This class is auto generated. Do not edit the class manually.
7
- *
8
- */
9
- import { exists, removeNullUndefined } from '../runtime';
10
- /**
11
- * Check if a given object implements the PaymentServiceDetailsEntity interface.
12
- */
13
- export function instanceOfPaymentServiceDetailsEntity(value) {
14
- let isInstance = true;
15
- return isInstance;
16
- }
17
- export function PaymentServiceDetailsEntityFromJSON(json) {
18
- return PaymentServiceDetailsEntityFromJSONTyped(json, false);
19
- }
20
- export function PaymentServiceDetailsEntityFromJSONTyped(json, ignoreDiscriminator) {
21
- if ((json === undefined) || (json === null)) {
22
- return json;
23
- }
24
- const typed = {
25
- 'id': !exists(json, 'id') ? undefined : json['id'],
26
- 'connectorServiceId': !exists(json, 'connectorServiceId') ? undefined : json['connectorServiceId'],
27
- 'method': !exists(json, 'method') ? undefined : json['method'],
28
- 'serviceConnectorName': !exists(json, 'serviceConnectorName') ? undefined : json['serviceConnectorName'],
29
- 'paymentServiceTransactionId': !exists(json, 'paymentServiceTransactionId') ? undefined : json['paymentServiceTransactionId'],
30
- };
31
- return removeNullUndefined(typed);
32
- }
33
- export function PaymentServiceDetailsEntityToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
39
- }
40
- return {
41
- 'id': value.id,
42
- 'connectorServiceId': value.connectorServiceId,
43
- 'method': value.method,
44
- 'serviceConnectorName': value.serviceConnectorName,
45
- 'paymentServiceTransactionId': value.paymentServiceTransactionId,
46
- };
47
- }
@@ -1,241 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- import type { PaymentMethodEntity2 } from './PaymentMethodEntity2';
8
- import type { PaymentsBuyerEntity } from './PaymentsBuyerEntity';
9
- /**
10
- *
11
- * @export
12
- * @interface TransactionEntity1
13
- */
14
- export interface TransactionEntity1 {
15
- /**
16
- *
17
- * @type {string}
18
- * @memberof TransactionEntity1
19
- */
20
- transactionIntegrationId: string;
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof TransactionEntity1
25
- */
26
- transactionId: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof TransactionEntity1
31
- */
32
- merchantId: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof TransactionEntity1
37
- */
38
- status: TransactionEntity1StatusEnum;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof TransactionEntity1
43
- */
44
- intent: TransactionEntity1IntentEnum;
45
- /**
46
- *
47
- * @type {number}
48
- * @memberof TransactionEntity1
49
- */
50
- amount: number;
51
- /**
52
- *
53
- * @type {number}
54
- * @memberof TransactionEntity1
55
- */
56
- netAmount: number;
57
- /**
58
- *
59
- * @type {number}
60
- * @memberof TransactionEntity1
61
- */
62
- fee: number;
63
- /**
64
- *
65
- * @type {Array<string>}
66
- * @memberof TransactionEntity1
67
- */
68
- feeDetails?: Array<string>;
69
- /**
70
- *
71
- * @type {number}
72
- * @memberof TransactionEntity1
73
- */
74
- capturedAmount?: number;
75
- /**
76
- *
77
- * @type {number}
78
- * @memberof TransactionEntity1
79
- */
80
- refundedAmount?: number;
81
- /**
82
- *
83
- * @type {string}
84
- * @memberof TransactionEntity1
85
- */
86
- currency?: TransactionEntity1CurrencyEnum;
87
- /**
88
- *
89
- * @type {string}
90
- * @memberof TransactionEntity1
91
- */
92
- country?: string;
93
- /**
94
- *
95
- * @type {PaymentMethodEntity2}
96
- * @memberof TransactionEntity1
97
- */
98
- paymentMethod?: PaymentMethodEntity2;
99
- /**
100
- *
101
- * @type {PaymentsBuyerEntity}
102
- * @memberof TransactionEntity1
103
- */
104
- buyer?: PaymentsBuyerEntity;
105
- /**
106
- *
107
- * @type {string}
108
- * @memberof TransactionEntity1
109
- */
110
- externalBuyerId?: string;
111
- /**
112
- *
113
- * @type {Date}
114
- * @memberof TransactionEntity1
115
- */
116
- createdAt?: Date;
117
- /**
118
- *
119
- * @type {Date}
120
- * @memberof TransactionEntity1
121
- */
122
- updatedAt?: Date;
123
- /**
124
- *
125
- * @type {boolean}
126
- * @memberof TransactionEntity1
127
- */
128
- merchantInitiated?: boolean;
129
- /**
130
- *
131
- * @type {string}
132
- * @memberof TransactionEntity1
133
- */
134
- schemeTransactionId?: string;
135
- /**
136
- *
137
- * @type {string}
138
- * @memberof TransactionEntity1
139
- */
140
- rawResponseCode?: string;
141
- /**
142
- *
143
- * @type {string}
144
- * @memberof TransactionEntity1
145
- */
146
- rawResponseDescription?: string;
147
- /**
148
- *
149
- * @type {string}
150
- * @memberof TransactionEntity1
151
- */
152
- avsResponseCode?: string;
153
- /**
154
- *
155
- * @type {string}
156
- * @memberof TransactionEntity1
157
- */
158
- cvvResponseCode?: string;
159
- /**
160
- *
161
- * @type {Date}
162
- * @memberof TransactionEntity1
163
- */
164
- capturedAt?: Date;
165
- /**
166
- *
167
- * @type {Date}
168
- * @memberof TransactionEntity1
169
- */
170
- authorizedAt?: Date;
171
- /**
172
- *
173
- * @type {Date}
174
- * @memberof TransactionEntity1
175
- */
176
- voidedAt?: Date;
177
- /**
178
- *
179
- * @type {string}
180
- * @memberof TransactionEntity1
181
- */
182
- externalTransactionId?: string;
183
- /**
184
- *
185
- * @type {string}
186
- * @memberof TransactionEntity1
187
- */
188
- buyerId?: string;
189
- /**
190
- *
191
- * @type {string}
192
- * @memberof TransactionEntity1
193
- */
194
- sECCode?: string;
195
- }
196
- /**
197
- * @export
198
- */
199
- export declare const TransactionEntity1StatusEnum: {
200
- readonly Processing: "processing";
201
- readonly BuyerApprovalPending: "buyerApprovalPending";
202
- readonly Authorized: "authorized";
203
- readonly AuthorizationFailed: "authorizationFailed";
204
- readonly Declined: "declined";
205
- readonly CapturePending: "capturePending";
206
- readonly Captured: "captured";
207
- readonly VoidPending: "voidPending";
208
- readonly Voided: "voided";
209
- readonly Held: "held";
210
- readonly Submitted: "submitted";
211
- readonly Transmitted: "transmitted";
212
- readonly Settled: "settled";
213
- readonly Returned: "returned";
214
- };
215
- export type TransactionEntity1StatusEnum = typeof TransactionEntity1StatusEnum[keyof typeof TransactionEntity1StatusEnum];
216
- /**
217
- * @export
218
- */
219
- export declare const TransactionEntity1IntentEnum: {
220
- readonly Capture: "capture";
221
- readonly Authorize: "authorize";
222
- readonly Debit: "debit";
223
- readonly Credit: "credit";
224
- };
225
- export type TransactionEntity1IntentEnum = typeof TransactionEntity1IntentEnum[keyof typeof TransactionEntity1IntentEnum];
226
- /**
227
- * @export
228
- */
229
- export declare const TransactionEntity1CurrencyEnum: {
230
- readonly Usd: "USD";
231
- readonly Cad: "CAD";
232
- readonly Aud: "AUD";
233
- };
234
- export type TransactionEntity1CurrencyEnum = typeof TransactionEntity1CurrencyEnum[keyof typeof TransactionEntity1CurrencyEnum];
235
- /**
236
- * Check if a given object implements the TransactionEntity1 interface.
237
- */
238
- export declare function instanceOfTransactionEntity1(value: object): boolean;
239
- export declare function TransactionEntity1FromJSON(json: any): TransactionEntity1;
240
- export declare function TransactionEntity1FromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionEntity1;
241
- export declare function TransactionEntity1ToJSON(value?: TransactionEntity1 | null): any;