@channelpayments/node-sdk 1.183.0 → 1.184.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 (43) hide show
  1. package/dist/cjs/models/BillingAddressDto.d.ts +56 -0
  2. package/dist/cjs/models/{BuyerAddressDto.js → BillingAddressDto.js} +16 -18
  3. package/dist/cjs/models/CheckoutSessionBaseEntity.d.ts +185 -0
  4. package/dist/cjs/models/CheckoutSessionBaseEntity.js +127 -0
  5. package/dist/cjs/models/CheckoutSessionEntity.d.ts +11 -5
  6. package/dist/cjs/models/CheckoutSessionEntity.js +4 -2
  7. package/dist/cjs/models/CheckoutSessionItemBaseEntity.d.ts +80 -0
  8. package/dist/cjs/models/CheckoutSessionItemBaseEntity.js +69 -0
  9. package/dist/cjs/models/CreateCheckoutSessionPaymentMethodDto.d.ts +12 -0
  10. package/dist/cjs/models/CreateCheckoutSessionPaymentMethodDto.js +4 -0
  11. package/dist/cjs/models/CreateCheckoutSessionTransactionDto.d.ts +4 -4
  12. package/dist/cjs/models/CreateCheckoutSessionTransactionDto.js +4 -4
  13. package/dist/cjs/models/TransactionEntity.d.ts +3 -3
  14. package/dist/cjs/models/TransactionEntity.js +3 -3
  15. package/dist/cjs/models/TransactionPaymentInstrumentBaseEntity.d.ts +136 -0
  16. package/dist/cjs/models/{PaymentMethodBaseEntity.js → TransactionPaymentInstrumentBaseEntity.js} +14 -14
  17. package/dist/cjs/models/index.d.ts +4 -2
  18. package/dist/cjs/models/index.js +4 -2
  19. package/dist/cjs/runtime.js +1 -1
  20. package/dist/mjs/models/BillingAddressDto.d.ts +56 -0
  21. package/dist/mjs/models/{BuyerAddressDto.js → BillingAddressDto.js} +12 -14
  22. package/dist/mjs/models/CheckoutSessionBaseEntity.d.ts +185 -0
  23. package/dist/mjs/models/CheckoutSessionBaseEntity.js +120 -0
  24. package/dist/mjs/models/CheckoutSessionEntity.d.ts +11 -5
  25. package/dist/mjs/models/CheckoutSessionEntity.js +4 -2
  26. package/dist/mjs/models/CheckoutSessionItemBaseEntity.d.ts +80 -0
  27. package/dist/mjs/models/CheckoutSessionItemBaseEntity.js +63 -0
  28. package/dist/mjs/models/CreateCheckoutSessionPaymentMethodDto.d.ts +12 -0
  29. package/dist/mjs/models/CreateCheckoutSessionPaymentMethodDto.js +4 -0
  30. package/dist/mjs/models/CreateCheckoutSessionTransactionDto.d.ts +4 -4
  31. package/dist/mjs/models/CreateCheckoutSessionTransactionDto.js +4 -4
  32. package/dist/mjs/models/TransactionEntity.d.ts +3 -3
  33. package/dist/mjs/models/TransactionEntity.js +3 -3
  34. package/dist/mjs/models/TransactionPaymentInstrumentBaseEntity.d.ts +136 -0
  35. package/dist/mjs/models/{PaymentMethodBaseEntity.js → TransactionPaymentInstrumentBaseEntity.js} +9 -9
  36. package/dist/mjs/models/index.d.ts +4 -2
  37. package/dist/mjs/models/index.js +4 -2
  38. package/dist/mjs/runtime.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/cjs/models/BuyerAddressDto.d.ts +0 -56
  41. package/dist/cjs/models/PaymentMethodBaseEntity.d.ts +0 -136
  42. package/dist/mjs/models/BuyerAddressDto.d.ts +0 -56
  43. package/dist/mjs/models/PaymentMethodBaseEntity.d.ts +0 -136
@@ -0,0 +1,136 @@
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 TransactionPaymentInstrumentBaseEntity
11
+ */
12
+ export interface TransactionPaymentInstrumentBaseEntity {
13
+ /**
14
+ * The unique identifier of the payment method.
15
+ * @type {string}
16
+ * @memberof TransactionPaymentInstrumentBaseEntity
17
+ */
18
+ paymentMethodId: string;
19
+ /**
20
+ * The method for the payment method.
21
+ * @type {string}
22
+ * @memberof TransactionPaymentInstrumentBaseEntity
23
+ */
24
+ method: TransactionPaymentInstrumentBaseEntityMethodEnum;
25
+ /**
26
+ * The unique identifier of the external payment method.
27
+ * @type {string}
28
+ * @memberof TransactionPaymentInstrumentBaseEntity
29
+ */
30
+ externalPaymentMethodId?: string;
31
+ /**
32
+ * The label of the payment method.
33
+ * @type {string}
34
+ * @memberof TransactionPaymentInstrumentBaseEntity
35
+ */
36
+ label?: string;
37
+ /**
38
+ * The scheme of the payment method.
39
+ * @type {string}
40
+ * @memberof TransactionPaymentInstrumentBaseEntity
41
+ */
42
+ scheme?: string;
43
+ /**
44
+ * The expiration date of the payment method.
45
+ * @type {string}
46
+ * @memberof TransactionPaymentInstrumentBaseEntity
47
+ */
48
+ expirationDate?: string;
49
+ /**
50
+ * The currency of the payment method.
51
+ * @type {string}
52
+ * @memberof TransactionPaymentInstrumentBaseEntity
53
+ */
54
+ currency?: string;
55
+ /**
56
+ * The country of the payment method.
57
+ * @type {string}
58
+ * @memberof TransactionPaymentInstrumentBaseEntity
59
+ */
60
+ country?: string;
61
+ /**
62
+ * The bin of the payment method.
63
+ * @type {string}
64
+ * @memberof TransactionPaymentInstrumentBaseEntity
65
+ */
66
+ bin?: string;
67
+ /**
68
+ * The card type of the payment method.
69
+ * @type {string}
70
+ * @memberof TransactionPaymentInstrumentBaseEntity
71
+ */
72
+ cardType?: TransactionPaymentInstrumentBaseEntityCardTypeEnum;
73
+ /**
74
+ * The account holder name of the payment method.
75
+ * @type {string}
76
+ * @memberof TransactionPaymentInstrumentBaseEntity
77
+ */
78
+ accountHolderName?: string;
79
+ /**
80
+ * The account number of the payment method.
81
+ * @type {string}
82
+ * @memberof TransactionPaymentInstrumentBaseEntity
83
+ */
84
+ accountNumber?: string;
85
+ /**
86
+ * The last 4 digits of the bank account.
87
+ * @type {string}
88
+ * @memberof TransactionPaymentInstrumentBaseEntity
89
+ */
90
+ accountEnding?: string;
91
+ /**
92
+ * The account type of the payment method.
93
+ * @type {string}
94
+ * @memberof TransactionPaymentInstrumentBaseEntity
95
+ */
96
+ accountType?: TransactionPaymentInstrumentBaseEntityAccountTypeEnum;
97
+ /**
98
+ * The aba number of the payment method.
99
+ * @type {string}
100
+ * @memberof TransactionPaymentInstrumentBaseEntity
101
+ */
102
+ abaNumber?: string;
103
+ }
104
+ /**
105
+ * @export
106
+ */
107
+ export declare const TransactionPaymentInstrumentBaseEntityMethodEnum: {
108
+ readonly Ach: "ACH";
109
+ readonly Bank: "BANK";
110
+ readonly Card: "CARD";
111
+ };
112
+ export type TransactionPaymentInstrumentBaseEntityMethodEnum = typeof TransactionPaymentInstrumentBaseEntityMethodEnum[keyof typeof TransactionPaymentInstrumentBaseEntityMethodEnum];
113
+ /**
114
+ * @export
115
+ */
116
+ export declare const TransactionPaymentInstrumentBaseEntityCardTypeEnum: {
117
+ readonly Credit: "CREDIT";
118
+ readonly Debit: "DEBIT";
119
+ readonly Prepaid: "PREPAID";
120
+ };
121
+ export type TransactionPaymentInstrumentBaseEntityCardTypeEnum = typeof TransactionPaymentInstrumentBaseEntityCardTypeEnum[keyof typeof TransactionPaymentInstrumentBaseEntityCardTypeEnum];
122
+ /**
123
+ * @export
124
+ */
125
+ export declare const TransactionPaymentInstrumentBaseEntityAccountTypeEnum: {
126
+ readonly Checking: "CHECKING";
127
+ readonly Savings: "SAVINGS";
128
+ };
129
+ export type TransactionPaymentInstrumentBaseEntityAccountTypeEnum = typeof TransactionPaymentInstrumentBaseEntityAccountTypeEnum[keyof typeof TransactionPaymentInstrumentBaseEntityAccountTypeEnum];
130
+ /**
131
+ * Check if a given object implements the TransactionPaymentInstrumentBaseEntity interface.
132
+ */
133
+ export declare function instanceOfTransactionPaymentInstrumentBaseEntity(value: object): boolean;
134
+ export declare function TransactionPaymentInstrumentBaseEntityFromJSON(json: any): TransactionPaymentInstrumentBaseEntity;
135
+ export declare function TransactionPaymentInstrumentBaseEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionPaymentInstrumentBaseEntity;
136
+ export declare function TransactionPaymentInstrumentBaseEntityToJSON(value?: TransactionPaymentInstrumentBaseEntity | null): any;
@@ -10,7 +10,7 @@ import { exists, removeNullUndefined } from '../runtime';
10
10
  /**
11
11
  * @export
12
12
  */
13
- export const PaymentMethodBaseEntityMethodEnum = {
13
+ export const TransactionPaymentInstrumentBaseEntityMethodEnum = {
14
14
  Ach: 'ACH',
15
15
  Bank: 'BANK',
16
16
  Card: 'CARD'
@@ -18,7 +18,7 @@ export const PaymentMethodBaseEntityMethodEnum = {
18
18
  /**
19
19
  * @export
20
20
  */
21
- export const PaymentMethodBaseEntityCardTypeEnum = {
21
+ export const TransactionPaymentInstrumentBaseEntityCardTypeEnum = {
22
22
  Credit: 'CREDIT',
23
23
  Debit: 'DEBIT',
24
24
  Prepaid: 'PREPAID'
@@ -26,23 +26,23 @@ export const PaymentMethodBaseEntityCardTypeEnum = {
26
26
  /**
27
27
  * @export
28
28
  */
29
- export const PaymentMethodBaseEntityAccountTypeEnum = {
29
+ export const TransactionPaymentInstrumentBaseEntityAccountTypeEnum = {
30
30
  Checking: 'CHECKING',
31
31
  Savings: 'SAVINGS'
32
32
  };
33
33
  /**
34
- * Check if a given object implements the PaymentMethodBaseEntity interface.
34
+ * Check if a given object implements the TransactionPaymentInstrumentBaseEntity interface.
35
35
  */
36
- export function instanceOfPaymentMethodBaseEntity(value) {
36
+ export function instanceOfTransactionPaymentInstrumentBaseEntity(value) {
37
37
  let isInstance = true;
38
38
  isInstance = isInstance && "paymentMethodId" in value;
39
39
  isInstance = isInstance && "method" in value;
40
40
  return isInstance;
41
41
  }
42
- export function PaymentMethodBaseEntityFromJSON(json) {
43
- return PaymentMethodBaseEntityFromJSONTyped(json, false);
42
+ export function TransactionPaymentInstrumentBaseEntityFromJSON(json) {
43
+ return TransactionPaymentInstrumentBaseEntityFromJSONTyped(json, false);
44
44
  }
45
- export function PaymentMethodBaseEntityFromJSONTyped(json, ignoreDiscriminator) {
45
+ export function TransactionPaymentInstrumentBaseEntityFromJSONTyped(json, ignoreDiscriminator) {
46
46
  if ((json === undefined) || (json === null)) {
47
47
  return json;
48
48
  }
@@ -65,7 +65,7 @@ export function PaymentMethodBaseEntityFromJSONTyped(json, ignoreDiscriminator)
65
65
  };
66
66
  return removeNullUndefined(typed);
67
67
  }
68
- export function PaymentMethodBaseEntityToJSON(value) {
68
+ export function TransactionPaymentInstrumentBaseEntityToJSON(value) {
69
69
  if (value === undefined) {
70
70
  return undefined;
71
71
  }
@@ -3,7 +3,7 @@ export * from './AdminCreateTransactionRefundDto';
3
3
  export * from './AdminVoidTransactionDto';
4
4
  export * from './AvailablePaymentMethodEntity';
5
5
  export * from './BankDetailsServiceEntity';
6
- export * from './BuyerAddressDto';
6
+ export * from './BillingAddressDto';
7
7
  export * from './BuyerEntity';
8
8
  export * from './BuyersAddressEntity';
9
9
  export * from './BuyersEntity';
@@ -14,7 +14,9 @@ export * from './CaptureTransactionDto';
14
14
  export * from './CardDetailsServiceEntity';
15
15
  export * from './ChangeNotificationEntity';
16
16
  export * from './ChangeNotificationsSearchEntity';
17
+ export * from './CheckoutSessionBaseEntity';
17
18
  export * from './CheckoutSessionEntity';
19
+ export * from './CheckoutSessionItemBaseEntity';
18
20
  export * from './CheckoutSessionItemEntity';
19
21
  export * from './ConnectorServiceTokenEntity';
20
22
  export * from './CreateBuyerAddressDto';
@@ -68,7 +70,6 @@ export * from './MerchantThemeDto';
68
70
  export * from './MerchantThemeEntity';
69
71
  export * from './MerchantThemeLogoDto';
70
72
  export * from './MerchantThemeLogoEntity';
71
- export * from './PaymentMethodBaseEntity';
72
73
  export * from './PaymentMethodDto';
73
74
  export * from './PaymentMethodEntity';
74
75
  export * from './PaymentMethodFeeDetailsEntity';
@@ -82,6 +83,7 @@ export * from './TransactionEntity';
82
83
  export * from './TransactionFeeDetailsEntity';
83
84
  export * from './TransactionNoteEntity';
84
85
  export * from './TransactionNoteHistoryEntity';
86
+ export * from './TransactionPaymentInstrumentBaseEntity';
85
87
  export * from './TransactionRefundBaseEntity';
86
88
  export * from './TransactionRefundEntity';
87
89
  export * from './TransactionRefundsSearchEntity';
@@ -5,7 +5,7 @@ export * from './AdminCreateTransactionRefundDto';
5
5
  export * from './AdminVoidTransactionDto';
6
6
  export * from './AvailablePaymentMethodEntity';
7
7
  export * from './BankDetailsServiceEntity';
8
- export * from './BuyerAddressDto';
8
+ export * from './BillingAddressDto';
9
9
  export * from './BuyerEntity';
10
10
  export * from './BuyersAddressEntity';
11
11
  export * from './BuyersEntity';
@@ -16,7 +16,9 @@ export * from './CaptureTransactionDto';
16
16
  export * from './CardDetailsServiceEntity';
17
17
  export * from './ChangeNotificationEntity';
18
18
  export * from './ChangeNotificationsSearchEntity';
19
+ export * from './CheckoutSessionBaseEntity';
19
20
  export * from './CheckoutSessionEntity';
21
+ export * from './CheckoutSessionItemBaseEntity';
20
22
  export * from './CheckoutSessionItemEntity';
21
23
  export * from './ConnectorServiceTokenEntity';
22
24
  export * from './CreateBuyerAddressDto';
@@ -70,7 +72,6 @@ export * from './MerchantThemeDto';
70
72
  export * from './MerchantThemeEntity';
71
73
  export * from './MerchantThemeLogoDto';
72
74
  export * from './MerchantThemeLogoEntity';
73
- export * from './PaymentMethodBaseEntity';
74
75
  export * from './PaymentMethodDto';
75
76
  export * from './PaymentMethodEntity';
76
77
  export * from './PaymentMethodFeeDetailsEntity';
@@ -84,6 +85,7 @@ export * from './TransactionEntity';
84
85
  export * from './TransactionFeeDetailsEntity';
85
86
  export * from './TransactionNoteEntity';
86
87
  export * from './TransactionNoteHistoryEntity';
88
+ export * from './TransactionPaymentInstrumentBaseEntity';
87
89
  export * from './TransactionRefundBaseEntity';
88
90
  export * from './TransactionRefundEntity';
89
91
  export * from './TransactionRefundsSearchEntity';
@@ -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.183.0";
67
+ context.headers['user-agent'] = "@channelpayments/node-sdk/v1.184.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.183.0",
4
+ "version": "1.184.0",
5
5
  "author": "Channel Payments",
6
6
  "license": "ISC",
7
7
  "main": "dist/cjs/index.js",
@@ -1,56 +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 BuyerAddressDto
11
- */
12
- export interface BuyerAddressDto {
13
- /**
14
- * The address of the account holder.
15
- * @type {string}
16
- * @memberof BuyerAddressDto
17
- */
18
- streetAddress: string;
19
- /**
20
- * The city of the account holder.
21
- * @type {string}
22
- * @memberof BuyerAddressDto
23
- */
24
- city: string;
25
- /**
26
- * The state or province of the account holder.
27
- * @type {string}
28
- * @memberof BuyerAddressDto
29
- */
30
- subdivision: string;
31
- /**
32
- * The postal code of the account holder.
33
- * @type {string}
34
- * @memberof BuyerAddressDto
35
- */
36
- postalCode: string;
37
- /**
38
- * The country code of the account holder.
39
- * @type {string}
40
- * @memberof BuyerAddressDto
41
- */
42
- countryCode: string;
43
- /**
44
- * The second line of the address of the account holder.
45
- * @type {string}
46
- * @memberof BuyerAddressDto
47
- */
48
- streetAddress2?: string;
49
- }
50
- /**
51
- * Check if a given object implements the BuyerAddressDto interface.
52
- */
53
- export declare function instanceOfBuyerAddressDto(value: object): boolean;
54
- export declare function BuyerAddressDtoFromJSON(json: any): BuyerAddressDto;
55
- export declare function BuyerAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAddressDto;
56
- export declare function BuyerAddressDtoToJSON(value?: BuyerAddressDto | null): any;
@@ -1,136 +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 PaymentMethodBaseEntity
11
- */
12
- export interface PaymentMethodBaseEntity {
13
- /**
14
- * The unique identifier of the payment method.
15
- * @type {string}
16
- * @memberof PaymentMethodBaseEntity
17
- */
18
- paymentMethodId: string;
19
- /**
20
- * The method for the payment method.
21
- * @type {string}
22
- * @memberof PaymentMethodBaseEntity
23
- */
24
- method: PaymentMethodBaseEntityMethodEnum;
25
- /**
26
- * The unique identifier of the external payment method.
27
- * @type {string}
28
- * @memberof PaymentMethodBaseEntity
29
- */
30
- externalPaymentMethodId?: string;
31
- /**
32
- * The label of the payment method.
33
- * @type {string}
34
- * @memberof PaymentMethodBaseEntity
35
- */
36
- label?: string;
37
- /**
38
- * The scheme of the payment method.
39
- * @type {string}
40
- * @memberof PaymentMethodBaseEntity
41
- */
42
- scheme?: string;
43
- /**
44
- * The expiration date of the payment method.
45
- * @type {string}
46
- * @memberof PaymentMethodBaseEntity
47
- */
48
- expirationDate?: string;
49
- /**
50
- * The currency of the payment method.
51
- * @type {string}
52
- * @memberof PaymentMethodBaseEntity
53
- */
54
- currency?: string;
55
- /**
56
- * The country of the payment method.
57
- * @type {string}
58
- * @memberof PaymentMethodBaseEntity
59
- */
60
- country?: string;
61
- /**
62
- * The bin of the payment method.
63
- * @type {string}
64
- * @memberof PaymentMethodBaseEntity
65
- */
66
- bin?: string;
67
- /**
68
- * The card type of the payment method.
69
- * @type {string}
70
- * @memberof PaymentMethodBaseEntity
71
- */
72
- cardType?: PaymentMethodBaseEntityCardTypeEnum;
73
- /**
74
- * The account holder name of the payment method.
75
- * @type {string}
76
- * @memberof PaymentMethodBaseEntity
77
- */
78
- accountHolderName?: string;
79
- /**
80
- * The account number of the payment method.
81
- * @type {string}
82
- * @memberof PaymentMethodBaseEntity
83
- */
84
- accountNumber?: string;
85
- /**
86
- * The last 4 digits of the bank account.
87
- * @type {string}
88
- * @memberof PaymentMethodBaseEntity
89
- */
90
- accountEnding?: string;
91
- /**
92
- * The account type of the payment method.
93
- * @type {string}
94
- * @memberof PaymentMethodBaseEntity
95
- */
96
- accountType?: PaymentMethodBaseEntityAccountTypeEnum;
97
- /**
98
- * The aba number of the payment method.
99
- * @type {string}
100
- * @memberof PaymentMethodBaseEntity
101
- */
102
- abaNumber?: string;
103
- }
104
- /**
105
- * @export
106
- */
107
- export declare const PaymentMethodBaseEntityMethodEnum: {
108
- readonly Ach: "ACH";
109
- readonly Bank: "BANK";
110
- readonly Card: "CARD";
111
- };
112
- export type PaymentMethodBaseEntityMethodEnum = typeof PaymentMethodBaseEntityMethodEnum[keyof typeof PaymentMethodBaseEntityMethodEnum];
113
- /**
114
- * @export
115
- */
116
- export declare const PaymentMethodBaseEntityCardTypeEnum: {
117
- readonly Credit: "CREDIT";
118
- readonly Debit: "DEBIT";
119
- readonly Prepaid: "PREPAID";
120
- };
121
- export type PaymentMethodBaseEntityCardTypeEnum = typeof PaymentMethodBaseEntityCardTypeEnum[keyof typeof PaymentMethodBaseEntityCardTypeEnum];
122
- /**
123
- * @export
124
- */
125
- export declare const PaymentMethodBaseEntityAccountTypeEnum: {
126
- readonly Checking: "CHECKING";
127
- readonly Savings: "SAVINGS";
128
- };
129
- export type PaymentMethodBaseEntityAccountTypeEnum = typeof PaymentMethodBaseEntityAccountTypeEnum[keyof typeof PaymentMethodBaseEntityAccountTypeEnum];
130
- /**
131
- * Check if a given object implements the PaymentMethodBaseEntity interface.
132
- */
133
- export declare function instanceOfPaymentMethodBaseEntity(value: object): boolean;
134
- export declare function PaymentMethodBaseEntityFromJSON(json: any): PaymentMethodBaseEntity;
135
- export declare function PaymentMethodBaseEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodBaseEntity;
136
- export declare function PaymentMethodBaseEntityToJSON(value?: PaymentMethodBaseEntity | null): any;
@@ -1,56 +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 BuyerAddressDto
11
- */
12
- export interface BuyerAddressDto {
13
- /**
14
- * The address of the account holder.
15
- * @type {string}
16
- * @memberof BuyerAddressDto
17
- */
18
- streetAddress: string;
19
- /**
20
- * The city of the account holder.
21
- * @type {string}
22
- * @memberof BuyerAddressDto
23
- */
24
- city: string;
25
- /**
26
- * The state or province of the account holder.
27
- * @type {string}
28
- * @memberof BuyerAddressDto
29
- */
30
- subdivision: string;
31
- /**
32
- * The postal code of the account holder.
33
- * @type {string}
34
- * @memberof BuyerAddressDto
35
- */
36
- postalCode: string;
37
- /**
38
- * The country code of the account holder.
39
- * @type {string}
40
- * @memberof BuyerAddressDto
41
- */
42
- countryCode: string;
43
- /**
44
- * The second line of the address of the account holder.
45
- * @type {string}
46
- * @memberof BuyerAddressDto
47
- */
48
- streetAddress2?: string;
49
- }
50
- /**
51
- * Check if a given object implements the BuyerAddressDto interface.
52
- */
53
- export declare function instanceOfBuyerAddressDto(value: object): boolean;
54
- export declare function BuyerAddressDtoFromJSON(json: any): BuyerAddressDto;
55
- export declare function BuyerAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAddressDto;
56
- export declare function BuyerAddressDtoToJSON(value?: BuyerAddressDto | null): any;
@@ -1,136 +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 PaymentMethodBaseEntity
11
- */
12
- export interface PaymentMethodBaseEntity {
13
- /**
14
- * The unique identifier of the payment method.
15
- * @type {string}
16
- * @memberof PaymentMethodBaseEntity
17
- */
18
- paymentMethodId: string;
19
- /**
20
- * The method for the payment method.
21
- * @type {string}
22
- * @memberof PaymentMethodBaseEntity
23
- */
24
- method: PaymentMethodBaseEntityMethodEnum;
25
- /**
26
- * The unique identifier of the external payment method.
27
- * @type {string}
28
- * @memberof PaymentMethodBaseEntity
29
- */
30
- externalPaymentMethodId?: string;
31
- /**
32
- * The label of the payment method.
33
- * @type {string}
34
- * @memberof PaymentMethodBaseEntity
35
- */
36
- label?: string;
37
- /**
38
- * The scheme of the payment method.
39
- * @type {string}
40
- * @memberof PaymentMethodBaseEntity
41
- */
42
- scheme?: string;
43
- /**
44
- * The expiration date of the payment method.
45
- * @type {string}
46
- * @memberof PaymentMethodBaseEntity
47
- */
48
- expirationDate?: string;
49
- /**
50
- * The currency of the payment method.
51
- * @type {string}
52
- * @memberof PaymentMethodBaseEntity
53
- */
54
- currency?: string;
55
- /**
56
- * The country of the payment method.
57
- * @type {string}
58
- * @memberof PaymentMethodBaseEntity
59
- */
60
- country?: string;
61
- /**
62
- * The bin of the payment method.
63
- * @type {string}
64
- * @memberof PaymentMethodBaseEntity
65
- */
66
- bin?: string;
67
- /**
68
- * The card type of the payment method.
69
- * @type {string}
70
- * @memberof PaymentMethodBaseEntity
71
- */
72
- cardType?: PaymentMethodBaseEntityCardTypeEnum;
73
- /**
74
- * The account holder name of the payment method.
75
- * @type {string}
76
- * @memberof PaymentMethodBaseEntity
77
- */
78
- accountHolderName?: string;
79
- /**
80
- * The account number of the payment method.
81
- * @type {string}
82
- * @memberof PaymentMethodBaseEntity
83
- */
84
- accountNumber?: string;
85
- /**
86
- * The last 4 digits of the bank account.
87
- * @type {string}
88
- * @memberof PaymentMethodBaseEntity
89
- */
90
- accountEnding?: string;
91
- /**
92
- * The account type of the payment method.
93
- * @type {string}
94
- * @memberof PaymentMethodBaseEntity
95
- */
96
- accountType?: PaymentMethodBaseEntityAccountTypeEnum;
97
- /**
98
- * The aba number of the payment method.
99
- * @type {string}
100
- * @memberof PaymentMethodBaseEntity
101
- */
102
- abaNumber?: string;
103
- }
104
- /**
105
- * @export
106
- */
107
- export declare const PaymentMethodBaseEntityMethodEnum: {
108
- readonly Ach: "ACH";
109
- readonly Bank: "BANK";
110
- readonly Card: "CARD";
111
- };
112
- export type PaymentMethodBaseEntityMethodEnum = typeof PaymentMethodBaseEntityMethodEnum[keyof typeof PaymentMethodBaseEntityMethodEnum];
113
- /**
114
- * @export
115
- */
116
- export declare const PaymentMethodBaseEntityCardTypeEnum: {
117
- readonly Credit: "CREDIT";
118
- readonly Debit: "DEBIT";
119
- readonly Prepaid: "PREPAID";
120
- };
121
- export type PaymentMethodBaseEntityCardTypeEnum = typeof PaymentMethodBaseEntityCardTypeEnum[keyof typeof PaymentMethodBaseEntityCardTypeEnum];
122
- /**
123
- * @export
124
- */
125
- export declare const PaymentMethodBaseEntityAccountTypeEnum: {
126
- readonly Checking: "CHECKING";
127
- readonly Savings: "SAVINGS";
128
- };
129
- export type PaymentMethodBaseEntityAccountTypeEnum = typeof PaymentMethodBaseEntityAccountTypeEnum[keyof typeof PaymentMethodBaseEntityAccountTypeEnum];
130
- /**
131
- * Check if a given object implements the PaymentMethodBaseEntity interface.
132
- */
133
- export declare function instanceOfPaymentMethodBaseEntity(value: object): boolean;
134
- export declare function PaymentMethodBaseEntityFromJSON(json: any): PaymentMethodBaseEntity;
135
- export declare function PaymentMethodBaseEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodBaseEntity;
136
- export declare function PaymentMethodBaseEntityToJSON(value?: PaymentMethodBaseEntity | null): any;