@channelpayments/node-sdk 1.131.0 → 1.137.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 (61) hide show
  1. package/dist/cjs/models/AdminCreateTransactionRefundDto.d.ts +82 -0
  2. package/dist/cjs/models/AdminCreateTransactionRefundDto.js +84 -0
  3. package/dist/cjs/models/AdminVoidTransactionDto.d.ts +32 -0
  4. package/dist/cjs/models/AdminVoidTransactionDto.js +50 -0
  5. package/dist/cjs/models/CreateMerchantAccountDto.d.ts +155 -0
  6. package/dist/cjs/models/CreateMerchantAccountDto.js +124 -0
  7. package/dist/cjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
  8. package/dist/cjs/models/CreateMerchantAccountDtoCFee.js +57 -0
  9. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +3 -3
  10. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +3 -3
  11. package/dist/cjs/models/CreateMerchantDto.d.ts +3 -3
  12. package/dist/cjs/models/CreateMerchantDto.js +3 -3
  13. package/dist/cjs/models/MerchantAccountEntity.d.ts +166 -0
  14. package/dist/cjs/models/MerchantAccountEntity.js +139 -0
  15. package/dist/cjs/models/MerchantAccountEntityCFee.d.ts +40 -0
  16. package/dist/cjs/models/MerchantAccountEntityCFee.js +57 -0
  17. package/dist/cjs/models/MerchantAccountServiceEntity.d.ts +3 -3
  18. package/dist/cjs/models/MerchantAccountServiceEntity.js +3 -3
  19. package/dist/cjs/models/UpdateMerchantAccountDto.d.ts +136 -0
  20. package/dist/cjs/models/UpdateMerchantAccountDto.js +111 -0
  21. package/dist/cjs/models/UpdateMerchantDto.d.ts +3 -3
  22. package/dist/cjs/models/UpdateMerchantDto.js +3 -3
  23. package/dist/{mjs/models/CreateMerchantDtoAddress.d.ts → cjs/models/UpdateMerchantDtoAddress.d.ts} +15 -15
  24. package/dist/cjs/models/{CreateMerchantDtoAddress.js → UpdateMerchantDtoAddress.js} +11 -11
  25. package/dist/cjs/models/index.d.ts +8 -3
  26. package/dist/cjs/models/index.js +8 -3
  27. package/dist/cjs/runtime.js +1 -1
  28. package/dist/mjs/models/AdminCreateTransactionRefundDto.d.ts +82 -0
  29. package/dist/mjs/models/AdminCreateTransactionRefundDto.js +77 -0
  30. package/dist/mjs/models/AdminVoidTransactionDto.d.ts +32 -0
  31. package/dist/mjs/models/AdminVoidTransactionDto.js +43 -0
  32. package/dist/mjs/models/CreateMerchantAccountDto.d.ts +155 -0
  33. package/dist/mjs/models/CreateMerchantAccountDto.js +117 -0
  34. package/dist/mjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
  35. package/dist/mjs/models/{MerchantAccountServiceEntityCFee.js → CreateMerchantAccountDtoCFee.js} +7 -7
  36. package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +3 -3
  37. package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +3 -3
  38. package/dist/mjs/models/CreateMerchantDto.d.ts +3 -3
  39. package/dist/mjs/models/CreateMerchantDto.js +3 -3
  40. package/dist/mjs/models/MerchantAccountEntity.d.ts +166 -0
  41. package/dist/mjs/models/MerchantAccountEntity.js +132 -0
  42. package/dist/mjs/models/MerchantAccountEntityCFee.d.ts +40 -0
  43. package/dist/mjs/models/{CreateMerchantAccountWithoutMerchantIdDtoCFee.js → MerchantAccountEntityCFee.js} +7 -7
  44. package/dist/mjs/models/MerchantAccountServiceEntity.d.ts +3 -3
  45. package/dist/mjs/models/MerchantAccountServiceEntity.js +3 -3
  46. package/dist/mjs/models/UpdateMerchantAccountDto.d.ts +136 -0
  47. package/dist/mjs/models/UpdateMerchantAccountDto.js +104 -0
  48. package/dist/mjs/models/UpdateMerchantDto.d.ts +3 -3
  49. package/dist/mjs/models/UpdateMerchantDto.js +3 -3
  50. package/dist/{cjs/models/CreateMerchantDtoAddress.d.ts → mjs/models/UpdateMerchantDtoAddress.d.ts} +15 -15
  51. package/dist/mjs/models/{CreateMerchantDtoAddress.js → UpdateMerchantDtoAddress.js} +6 -6
  52. package/dist/mjs/models/index.d.ts +8 -3
  53. package/dist/mjs/models/index.js +8 -3
  54. package/dist/mjs/runtime.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDtoCFee.d.ts +0 -40
  57. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDtoCFee.js +0 -57
  58. package/dist/cjs/models/MerchantAccountServiceEntityCFee.d.ts +0 -40
  59. package/dist/cjs/models/MerchantAccountServiceEntityCFee.js +0 -57
  60. package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDtoCFee.d.ts +0 -40
  61. package/dist/mjs/models/MerchantAccountServiceEntityCFee.d.ts +0 -40
@@ -1,4 +1,6 @@
1
1
  export * from './AddressEntity';
2
+ export * from './AdminCreateTransactionRefundDto';
3
+ export * from './AdminVoidTransactionDto';
2
4
  export * from './AvailablePaymentMethodEntity';
3
5
  export * from './BankDetailsServiceEntity';
4
6
  export * from './BuyerAddressDto';
@@ -34,15 +36,15 @@ export * from './CreateEventDomainDtoTransactions';
34
36
  export * from './CreateEventDomainDtoUsers';
35
37
  export * from './CreateFeatureDto';
36
38
  export * from './CreateInitialUserDto';
39
+ export * from './CreateMerchantAccountDto';
40
+ export * from './CreateMerchantAccountDtoCFee';
37
41
  export * from './CreateMerchantAccountWithoutMerchantIdDto';
38
- export * from './CreateMerchantAccountWithoutMerchantIdDtoCFee';
39
42
  export * from './CreateMerchantAddressDto';
40
43
  export * from './CreateMerchantConnectorCredentialsDto';
41
44
  export * from './CreateMerchantConnectorWithoutMerchantAccountIdDto';
42
45
  export * from './CreateMerchantConnectorWithoutMerchantAccountIdDtoConnectorCredentials';
43
46
  export * from './CreateMerchantCredentialsDto';
44
47
  export * from './CreateMerchantDto';
45
- export * from './CreateMerchantDtoAddress';
46
48
  export * from './CreatePaymentMethodDto';
47
49
  export * from './CreateProvisionedCardTokenDto';
48
50
  export * from './CreateStoredCardPaymentMethod';
@@ -56,8 +58,9 @@ export * from './CreateWebhookDtoEventDomains';
56
58
  export * from './ErrorEntity';
57
59
  export * from './FeatureEntity';
58
60
  export * from './FeaturesEntity';
61
+ export * from './MerchantAccountEntity';
62
+ export * from './MerchantAccountEntityCFee';
59
63
  export * from './MerchantAccountServiceEntity';
60
- export * from './MerchantAccountServiceEntityCFee';
61
64
  export * from './MerchantAddressEntity';
62
65
  export * from './MerchantConnectorCredentialsServiceEntity';
63
66
  export * from './MerchantConnectorServiceEntity';
@@ -89,8 +92,10 @@ export * from './TransactionReturnsSearchEntity';
89
92
  export * from './TransactionsSearchEntity';
90
93
  export * from './UpdateBuyerDto';
91
94
  export * from './UpdateFeatureDto';
95
+ export * from './UpdateMerchantAccountDto';
92
96
  export * from './UpdateMerchantCredentialsDto';
93
97
  export * from './UpdateMerchantDto';
98
+ export * from './UpdateMerchantDtoAddress';
94
99
  export * from './UpdatePaymentMethodStatusDto';
95
100
  export * from './UpdateSelfDto';
96
101
  export * from './UpdateTransactionNoteDto';
@@ -1,6 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './AddressEntity';
4
+ export * from './AdminCreateTransactionRefundDto';
5
+ export * from './AdminVoidTransactionDto';
4
6
  export * from './AvailablePaymentMethodEntity';
5
7
  export * from './BankDetailsServiceEntity';
6
8
  export * from './BuyerAddressDto';
@@ -36,15 +38,15 @@ export * from './CreateEventDomainDtoTransactions';
36
38
  export * from './CreateEventDomainDtoUsers';
37
39
  export * from './CreateFeatureDto';
38
40
  export * from './CreateInitialUserDto';
41
+ export * from './CreateMerchantAccountDto';
42
+ export * from './CreateMerchantAccountDtoCFee';
39
43
  export * from './CreateMerchantAccountWithoutMerchantIdDto';
40
- export * from './CreateMerchantAccountWithoutMerchantIdDtoCFee';
41
44
  export * from './CreateMerchantAddressDto';
42
45
  export * from './CreateMerchantConnectorCredentialsDto';
43
46
  export * from './CreateMerchantConnectorWithoutMerchantAccountIdDto';
44
47
  export * from './CreateMerchantConnectorWithoutMerchantAccountIdDtoConnectorCredentials';
45
48
  export * from './CreateMerchantCredentialsDto';
46
49
  export * from './CreateMerchantDto';
47
- export * from './CreateMerchantDtoAddress';
48
50
  export * from './CreatePaymentMethodDto';
49
51
  export * from './CreateProvisionedCardTokenDto';
50
52
  export * from './CreateStoredCardPaymentMethod';
@@ -58,8 +60,9 @@ export * from './CreateWebhookDtoEventDomains';
58
60
  export * from './ErrorEntity';
59
61
  export * from './FeatureEntity';
60
62
  export * from './FeaturesEntity';
63
+ export * from './MerchantAccountEntity';
64
+ export * from './MerchantAccountEntityCFee';
61
65
  export * from './MerchantAccountServiceEntity';
62
- export * from './MerchantAccountServiceEntityCFee';
63
66
  export * from './MerchantAddressEntity';
64
67
  export * from './MerchantConnectorCredentialsServiceEntity';
65
68
  export * from './MerchantConnectorServiceEntity';
@@ -91,8 +94,10 @@ export * from './TransactionReturnsSearchEntity';
91
94
  export * from './TransactionsSearchEntity';
92
95
  export * from './UpdateBuyerDto';
93
96
  export * from './UpdateFeatureDto';
97
+ export * from './UpdateMerchantAccountDto';
94
98
  export * from './UpdateMerchantCredentialsDto';
95
99
  export * from './UpdateMerchantDto';
100
+ export * from './UpdateMerchantDtoAddress';
96
101
  export * from './UpdatePaymentMethodStatusDto';
97
102
  export * from './UpdateSelfDto';
98
103
  export * from './UpdateTransactionNoteDto';
@@ -64,7 +64,7 @@ export class BaseAPI {
64
64
  }
65
65
  async createFetchParams(context) {
66
66
  Object.keys(context.headers).forEach(key => context.headers[key] === undefined ? delete context.headers[key] : {});
67
- context.headers['user-agent'] = "@channelpayments/node-sdk/v1.131.0";
67
+ context.headers['user-agent'] = "@channelpayments/node-sdk/v1.137.0";
68
68
  const token = this.generateAuthToken();
69
69
  context.headers['Authorization'] = `Bearer ${token}`;
70
70
  let url = this.url + context.path;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@channelpayments/node-sdk",
3
3
  "description": "Channel Payments nodejs sdk",
4
- "version": "1.131.0",
4
+ "version": "1.137.0",
5
5
  "author": "Channel Payments",
6
6
  "license": "ISC",
7
7
  "main": "dist/cjs/index.js",
@@ -1,40 +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
- * The CFee details
9
- * @export
10
- * @interface CreateMerchantAccountWithoutMerchantIdDtoCFee
11
- */
12
- export interface CreateMerchantAccountWithoutMerchantIdDtoCFee {
13
- /**
14
- * The type of the cFee.
15
- * @type {string}
16
- * @memberof CreateMerchantAccountWithoutMerchantIdDtoCFee
17
- */
18
- type: CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum;
19
- /**
20
- * The rate of the cFee as an integer.
21
- * @type {number}
22
- * @memberof CreateMerchantAccountWithoutMerchantIdDtoCFee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum = typeof CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum[keyof typeof CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum];
34
- /**
35
- * Check if a given object implements the CreateMerchantAccountWithoutMerchantIdDtoCFee interface.
36
- */
37
- export declare function instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee(value: object): boolean;
38
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON(json: any): CreateMerchantAccountWithoutMerchantIdDtoCFee;
39
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantAccountWithoutMerchantIdDtoCFee;
40
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON(value?: CreateMerchantAccountWithoutMerchantIdDtoCFee | null): any;
@@ -1,57 +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.CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON = exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped = exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON = exports.instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee = exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum = void 0;
12
- const runtime_1 = require("../runtime");
13
- /**
14
- * @export
15
- */
16
- exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum = {
17
- Percentage: 'PERCENTAGE',
18
- Fixed: 'FIXED'
19
- };
20
- /**
21
- * Check if a given object implements the CreateMerchantAccountWithoutMerchantIdDtoCFee interface.
22
- */
23
- function instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee(value) {
24
- let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
- isInstance = isInstance && "rate" in value;
27
- return isInstance;
28
- }
29
- exports.instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee = instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee;
30
- function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON(json) {
31
- return CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped(json, false);
32
- }
33
- exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON = CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON;
34
- function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- const typed = {
39
- 'type': json['type'],
40
- 'rate': json['rate'],
41
- };
42
- return (0, runtime_1.removeNullUndefined)(typed);
43
- }
44
- exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped = CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped;
45
- function CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'type': value.type,
54
- 'rate': value.rate,
55
- };
56
- }
57
- exports.CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON = CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON;
@@ -1,40 +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
- * The CFee details.
9
- * @export
10
- * @interface MerchantAccountServiceEntityCFee
11
- */
12
- export interface MerchantAccountServiceEntityCFee {
13
- /**
14
- * The type of the CFee.
15
- * @type {string}
16
- * @memberof MerchantAccountServiceEntityCFee
17
- */
18
- type: MerchantAccountServiceEntityCFeeTypeEnum;
19
- /**
20
- * The rate of the CFee as an integer.
21
- * @type {number}
22
- * @memberof MerchantAccountServiceEntityCFee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const MerchantAccountServiceEntityCFeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type MerchantAccountServiceEntityCFeeTypeEnum = typeof MerchantAccountServiceEntityCFeeTypeEnum[keyof typeof MerchantAccountServiceEntityCFeeTypeEnum];
34
- /**
35
- * Check if a given object implements the MerchantAccountServiceEntityCFee interface.
36
- */
37
- export declare function instanceOfMerchantAccountServiceEntityCFee(value: object): boolean;
38
- export declare function MerchantAccountServiceEntityCFeeFromJSON(json: any): MerchantAccountServiceEntityCFee;
39
- export declare function MerchantAccountServiceEntityCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountServiceEntityCFee;
40
- export declare function MerchantAccountServiceEntityCFeeToJSON(value?: MerchantAccountServiceEntityCFee | null): any;
@@ -1,57 +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.MerchantAccountServiceEntityCFeeToJSON = exports.MerchantAccountServiceEntityCFeeFromJSONTyped = exports.MerchantAccountServiceEntityCFeeFromJSON = exports.instanceOfMerchantAccountServiceEntityCFee = exports.MerchantAccountServiceEntityCFeeTypeEnum = void 0;
12
- const runtime_1 = require("../runtime");
13
- /**
14
- * @export
15
- */
16
- exports.MerchantAccountServiceEntityCFeeTypeEnum = {
17
- Percentage: 'PERCENTAGE',
18
- Fixed: 'FIXED'
19
- };
20
- /**
21
- * Check if a given object implements the MerchantAccountServiceEntityCFee interface.
22
- */
23
- function instanceOfMerchantAccountServiceEntityCFee(value) {
24
- let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
- isInstance = isInstance && "rate" in value;
27
- return isInstance;
28
- }
29
- exports.instanceOfMerchantAccountServiceEntityCFee = instanceOfMerchantAccountServiceEntityCFee;
30
- function MerchantAccountServiceEntityCFeeFromJSON(json) {
31
- return MerchantAccountServiceEntityCFeeFromJSONTyped(json, false);
32
- }
33
- exports.MerchantAccountServiceEntityCFeeFromJSON = MerchantAccountServiceEntityCFeeFromJSON;
34
- function MerchantAccountServiceEntityCFeeFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- const typed = {
39
- 'type': json['type'],
40
- 'rate': json['rate'],
41
- };
42
- return (0, runtime_1.removeNullUndefined)(typed);
43
- }
44
- exports.MerchantAccountServiceEntityCFeeFromJSONTyped = MerchantAccountServiceEntityCFeeFromJSONTyped;
45
- function MerchantAccountServiceEntityCFeeToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'type': value.type,
54
- 'rate': value.rate,
55
- };
56
- }
57
- exports.MerchantAccountServiceEntityCFeeToJSON = MerchantAccountServiceEntityCFeeToJSON;
@@ -1,40 +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
- * The CFee details
9
- * @export
10
- * @interface CreateMerchantAccountWithoutMerchantIdDtoCFee
11
- */
12
- export interface CreateMerchantAccountWithoutMerchantIdDtoCFee {
13
- /**
14
- * The type of the cFee.
15
- * @type {string}
16
- * @memberof CreateMerchantAccountWithoutMerchantIdDtoCFee
17
- */
18
- type: CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum;
19
- /**
20
- * The rate of the cFee as an integer.
21
- * @type {number}
22
- * @memberof CreateMerchantAccountWithoutMerchantIdDtoCFee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum = typeof CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum[keyof typeof CreateMerchantAccountWithoutMerchantIdDtoCFeeTypeEnum];
34
- /**
35
- * Check if a given object implements the CreateMerchantAccountWithoutMerchantIdDtoCFee interface.
36
- */
37
- export declare function instanceOfCreateMerchantAccountWithoutMerchantIdDtoCFee(value: object): boolean;
38
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSON(json: any): CreateMerchantAccountWithoutMerchantIdDtoCFee;
39
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantAccountWithoutMerchantIdDtoCFee;
40
- export declare function CreateMerchantAccountWithoutMerchantIdDtoCFeeToJSON(value?: CreateMerchantAccountWithoutMerchantIdDtoCFee | null): any;
@@ -1,40 +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
- * The CFee details.
9
- * @export
10
- * @interface MerchantAccountServiceEntityCFee
11
- */
12
- export interface MerchantAccountServiceEntityCFee {
13
- /**
14
- * The type of the CFee.
15
- * @type {string}
16
- * @memberof MerchantAccountServiceEntityCFee
17
- */
18
- type: MerchantAccountServiceEntityCFeeTypeEnum;
19
- /**
20
- * The rate of the CFee as an integer.
21
- * @type {number}
22
- * @memberof MerchantAccountServiceEntityCFee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const MerchantAccountServiceEntityCFeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type MerchantAccountServiceEntityCFeeTypeEnum = typeof MerchantAccountServiceEntityCFeeTypeEnum[keyof typeof MerchantAccountServiceEntityCFeeTypeEnum];
34
- /**
35
- * Check if a given object implements the MerchantAccountServiceEntityCFee interface.
36
- */
37
- export declare function instanceOfMerchantAccountServiceEntityCFee(value: object): boolean;
38
- export declare function MerchantAccountServiceEntityCFeeFromJSON(json: any): MerchantAccountServiceEntityCFee;
39
- export declare function MerchantAccountServiceEntityCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountServiceEntityCFee;
40
- export declare function MerchantAccountServiceEntityCFeeToJSON(value?: MerchantAccountServiceEntityCFee | null): any;