@channelpayments/node-sdk 1.24.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 (252) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/package.json +3 -0
  3. package/dist/cjs/src/apis/ChannelPaymentsApi.d.ts +281 -0
  4. package/dist/cjs/src/apis/ChannelPaymentsApi.js +1184 -0
  5. package/dist/cjs/src/apis/index.d.ts +1 -0
  6. package/dist/cjs/src/apis/index.js +19 -0
  7. package/dist/cjs/src/index.d.ts +3 -0
  8. package/dist/cjs/src/index.js +21 -0
  9. package/dist/cjs/src/models/AddressDto.d.ts +62 -0
  10. package/dist/cjs/src/models/AddressDto.js +63 -0
  11. package/dist/cjs/src/models/AddressEntity.d.ts +62 -0
  12. package/dist/cjs/src/models/AddressEntity.js +63 -0
  13. package/dist/cjs/src/models/BuyerAddressEntity.d.ts +62 -0
  14. package/dist/cjs/src/models/BuyerAddressEntity.js +58 -0
  15. package/dist/cjs/src/models/BuyerEntity.d.ts +81 -0
  16. package/dist/cjs/src/models/BuyerEntity.js +71 -0
  17. package/dist/cjs/src/models/BuyerEntity1.d.ts +69 -0
  18. package/dist/cjs/src/models/BuyerEntity1.js +67 -0
  19. package/dist/cjs/src/models/BuyerEntityAddress.d.ts +62 -0
  20. package/dist/cjs/src/models/BuyerEntityAddress.js +63 -0
  21. package/dist/cjs/src/models/BuyersSearchEntity.d.ts +51 -0
  22. package/dist/cjs/src/models/BuyersSearchEntity.js +58 -0
  23. package/dist/cjs/src/models/CFeeDto.d.ts +40 -0
  24. package/dist/cjs/src/models/CFeeDto.js +57 -0
  25. package/dist/cjs/src/models/CFeeEntity.d.ts +40 -0
  26. package/dist/cjs/src/models/CFeeEntity.js +57 -0
  27. package/dist/cjs/src/models/CaptureTransactionDto.d.ts +32 -0
  28. package/dist/cjs/src/models/CaptureTransactionDto.js +50 -0
  29. package/dist/cjs/src/models/CardDetails.d.ts +59 -0
  30. package/dist/cjs/src/models/CardDetails.js +67 -0
  31. package/dist/cjs/src/models/CreateBuyerDto.d.ts +57 -0
  32. package/dist/cjs/src/models/CreateBuyerDto.js +61 -0
  33. package/dist/cjs/src/models/CreateBuyerDtoAddress.d.ts +62 -0
  34. package/dist/cjs/src/models/CreateBuyerDtoAddress.js +63 -0
  35. package/dist/cjs/src/models/CreateMerchantAccountDto.d.ts +120 -0
  36. package/dist/cjs/src/models/CreateMerchantAccountDto.js +99 -0
  37. package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +40 -0
  38. package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.js +57 -0
  39. package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +41 -0
  40. package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +58 -0
  41. package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +114 -0
  42. package/dist/cjs/src/models/CreateMerchantAccountsDto.js +96 -0
  43. package/dist/cjs/src/models/CreateMerchantAddressDto.d.ts +68 -0
  44. package/dist/cjs/src/models/CreateMerchantAddressDto.js +65 -0
  45. package/dist/cjs/src/models/CreateMerchantCredentialsDto.d.ts +32 -0
  46. package/dist/cjs/src/models/CreateMerchantCredentialsDto.js +50 -0
  47. package/dist/cjs/src/models/CreateMerchantDto.d.ts +70 -0
  48. package/dist/cjs/src/models/CreateMerchantDto.js +66 -0
  49. package/dist/cjs/src/models/CreateMerchantDtoAddress.d.ts +68 -0
  50. package/dist/cjs/src/models/CreateMerchantDtoAddress.js +65 -0
  51. package/dist/cjs/src/models/CreateMerchantGateway.d.ts +41 -0
  52. package/dist/cjs/src/models/CreateMerchantGateway.js +58 -0
  53. package/dist/cjs/src/models/CreatePaymentMethodDto.d.ts +63 -0
  54. package/dist/cjs/src/models/CreatePaymentMethodDto.js +65 -0
  55. package/dist/cjs/src/models/CreateTransactionDto.d.ts +80 -0
  56. package/dist/cjs/src/models/CreateTransactionDto.js +77 -0
  57. package/dist/cjs/src/models/CreateTransactionDtoPaymentMethod.d.ts +76 -0
  58. package/dist/cjs/src/models/CreateTransactionDtoPaymentMethod.js +68 -0
  59. package/dist/cjs/src/models/ErrorEntity.d.ts +56 -0
  60. package/dist/cjs/src/models/ErrorEntity.js +56 -0
  61. package/dist/cjs/src/models/MerchantAccountEntity.d.ts +108 -0
  62. package/dist/cjs/src/models/MerchantAccountEntity.js +97 -0
  63. package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +40 -0
  64. package/dist/cjs/src/models/MerchantAccountEntityCfee.js +57 -0
  65. package/dist/cjs/src/models/MerchantAddressEntity.d.ts +68 -0
  66. package/dist/cjs/src/models/MerchantAddressEntity.js +65 -0
  67. package/dist/cjs/src/models/MerchantCredentialsEntity.d.ts +74 -0
  68. package/dist/cjs/src/models/MerchantCredentialsEntity.js +70 -0
  69. package/dist/cjs/src/models/MerchantEntity.d.ts +88 -0
  70. package/dist/cjs/src/models/MerchantEntity.js +75 -0
  71. package/dist/cjs/src/models/MerchantEntityAddress.d.ts +68 -0
  72. package/dist/cjs/src/models/MerchantEntityAddress.js +65 -0
  73. package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +59 -0
  74. package/dist/cjs/src/models/MerchantGatewayEntity.js +67 -0
  75. package/dist/cjs/src/models/PaymentMethodDto.d.ts +76 -0
  76. package/dist/cjs/src/models/PaymentMethodDto.js +68 -0
  77. package/dist/cjs/src/models/PaymentMethodEntity.d.ts +124 -0
  78. package/dist/cjs/src/models/PaymentMethodEntity.js +97 -0
  79. package/dist/cjs/src/models/PaymentMethodEntity1.d.ts +89 -0
  80. package/dist/cjs/src/models/PaymentMethodEntity1.js +74 -0
  81. package/dist/cjs/src/models/PaymentMethodEntityBuyer.d.ts +69 -0
  82. package/dist/cjs/src/models/PaymentMethodEntityBuyer.js +67 -0
  83. package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +59 -0
  84. package/dist/cjs/src/models/PaymentMethodEntityDetails.js +67 -0
  85. package/dist/cjs/src/models/PaymentMethodsSearchEntity.d.ts +51 -0
  86. package/dist/cjs/src/models/PaymentMethodsSearchEntity.js +58 -0
  87. package/dist/cjs/src/models/PaymentsBuyerEntity.d.ts +69 -0
  88. package/dist/cjs/src/models/PaymentsBuyerEntity.js +62 -0
  89. package/dist/cjs/src/models/RefundTransactionDto.d.ts +32 -0
  90. package/dist/cjs/src/models/RefundTransactionDto.js +50 -0
  91. package/dist/cjs/src/models/TransactionEntity.d.ts +198 -0
  92. package/dist/cjs/src/models/TransactionEntity.js +128 -0
  93. package/dist/cjs/src/models/TransactionRefundEntity.d.ts +85 -0
  94. package/dist/cjs/src/models/TransactionRefundEntity.js +80 -0
  95. package/dist/cjs/src/models/TransactionRefundsSearchEntity.d.ts +51 -0
  96. package/dist/cjs/src/models/TransactionRefundsSearchEntity.js +58 -0
  97. package/dist/cjs/src/models/TransactionsSearchEntity.d.ts +51 -0
  98. package/dist/cjs/src/models/TransactionsSearchEntity.js +58 -0
  99. package/dist/cjs/src/models/UpdateAddressDto.d.ts +62 -0
  100. package/dist/cjs/src/models/UpdateAddressDto.js +58 -0
  101. package/dist/cjs/src/models/UpdateBuyerDto.d.ts +63 -0
  102. package/dist/cjs/src/models/UpdateBuyerDto.js +60 -0
  103. package/dist/cjs/src/models/UpdateBuyerDtoAddress.d.ts +62 -0
  104. package/dist/cjs/src/models/UpdateBuyerDtoAddress.js +58 -0
  105. package/dist/cjs/src/models/UpdateCFeeDto.d.ts +40 -0
  106. package/dist/cjs/src/models/UpdateCFeeDto.js +55 -0
  107. package/dist/cjs/src/models/UpdateMerchantAccountDto.d.ts +107 -0
  108. package/dist/cjs/src/models/UpdateMerchantAccountDto.js +89 -0
  109. package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +40 -0
  110. package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +55 -0
  111. package/dist/cjs/src/models/UpdateMerchantAddressDto.d.ts +68 -0
  112. package/dist/cjs/src/models/UpdateMerchantAddressDto.js +60 -0
  113. package/dist/cjs/src/models/UpdateMerchantCredentialsDto.d.ts +32 -0
  114. package/dist/cjs/src/models/UpdateMerchantCredentialsDto.js +49 -0
  115. package/dist/cjs/src/models/UpdateMerchantDto.d.ts +81 -0
  116. package/dist/cjs/src/models/UpdateMerchantDto.js +66 -0
  117. package/dist/cjs/src/models/UpdateMerchantDtoAddress.d.ts +68 -0
  118. package/dist/cjs/src/models/UpdateMerchantDtoAddress.js +60 -0
  119. package/dist/cjs/src/models/ValidateMerchantCredentialsDto.d.ts +26 -0
  120. package/dist/cjs/src/models/ValidateMerchantCredentialsDto.js +47 -0
  121. package/dist/cjs/src/models/index.d.ts +56 -0
  122. package/dist/cjs/src/models/index.js +74 -0
  123. package/dist/cjs/src/runtime.d.ts +118 -0
  124. package/dist/cjs/src/runtime.js +262 -0
  125. package/dist/cjs/test.d.ts +1 -0
  126. package/dist/cjs/test.js +81 -0
  127. package/dist/mjs/package.json +3 -0
  128. package/dist/mjs/src/apis/ChannelPaymentsApi.d.ts +281 -0
  129. package/dist/mjs/src/apis/ChannelPaymentsApi.js +1110 -0
  130. package/dist/mjs/src/apis/index.d.ts +1 -0
  131. package/dist/mjs/src/apis/index.js +3 -0
  132. package/dist/mjs/src/index.d.ts +3 -0
  133. package/dist/mjs/src/index.js +5 -0
  134. package/dist/mjs/src/models/AddressDto.d.ts +62 -0
  135. package/dist/mjs/src/models/AddressDto.js +56 -0
  136. package/dist/mjs/src/models/AddressEntity.d.ts +62 -0
  137. package/dist/mjs/src/models/AddressEntity.js +56 -0
  138. package/dist/mjs/src/models/BuyerAddressEntity.d.ts +62 -0
  139. package/dist/mjs/src/models/BuyerAddressEntity.js +51 -0
  140. package/dist/mjs/src/models/BuyerEntity.d.ts +81 -0
  141. package/dist/mjs/src/models/BuyerEntity.js +64 -0
  142. package/dist/mjs/src/models/BuyerEntity1.d.ts +69 -0
  143. package/dist/mjs/src/models/BuyerEntity1.js +60 -0
  144. package/dist/mjs/src/models/BuyerEntityAddress.d.ts +62 -0
  145. package/dist/mjs/src/models/BuyerEntityAddress.js +56 -0
  146. package/dist/mjs/src/models/BuyersSearchEntity.d.ts +51 -0
  147. package/dist/mjs/src/models/BuyersSearchEntity.js +51 -0
  148. package/dist/mjs/src/models/CFeeDto.d.ts +40 -0
  149. package/dist/mjs/src/models/CFeeDto.js +50 -0
  150. package/dist/mjs/src/models/CFeeEntity.d.ts +40 -0
  151. package/dist/mjs/src/models/CFeeEntity.js +50 -0
  152. package/dist/mjs/src/models/CaptureTransactionDto.d.ts +32 -0
  153. package/dist/mjs/src/models/CaptureTransactionDto.js +43 -0
  154. package/dist/mjs/src/models/CardDetails.d.ts +59 -0
  155. package/dist/mjs/src/models/CardDetails.js +60 -0
  156. package/dist/mjs/src/models/CreateBuyerDto.d.ts +57 -0
  157. package/dist/mjs/src/models/CreateBuyerDto.js +54 -0
  158. package/dist/mjs/src/models/CreateBuyerDtoAddress.d.ts +62 -0
  159. package/dist/mjs/src/models/CreateBuyerDtoAddress.js +56 -0
  160. package/dist/mjs/src/models/CreateMerchantAccountDto.d.ts +120 -0
  161. package/dist/mjs/src/models/CreateMerchantAccountDto.js +92 -0
  162. package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +40 -0
  163. package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.js +50 -0
  164. package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +41 -0
  165. package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +51 -0
  166. package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +114 -0
  167. package/dist/mjs/src/models/CreateMerchantAccountsDto.js +89 -0
  168. package/dist/mjs/src/models/CreateMerchantAddressDto.d.ts +68 -0
  169. package/dist/mjs/src/models/CreateMerchantAddressDto.js +58 -0
  170. package/dist/mjs/src/models/CreateMerchantCredentialsDto.d.ts +32 -0
  171. package/dist/mjs/src/models/CreateMerchantCredentialsDto.js +43 -0
  172. package/dist/mjs/src/models/CreateMerchantDto.d.ts +70 -0
  173. package/dist/mjs/src/models/CreateMerchantDto.js +59 -0
  174. package/dist/mjs/src/models/CreateMerchantDtoAddress.d.ts +68 -0
  175. package/dist/mjs/src/models/CreateMerchantDtoAddress.js +58 -0
  176. package/dist/mjs/src/models/CreateMerchantGateway.d.ts +41 -0
  177. package/dist/mjs/src/models/CreateMerchantGateway.js +51 -0
  178. package/dist/mjs/src/models/CreatePaymentMethodDto.d.ts +63 -0
  179. package/dist/mjs/src/models/CreatePaymentMethodDto.js +58 -0
  180. package/dist/mjs/src/models/CreateTransactionDto.d.ts +80 -0
  181. package/dist/mjs/src/models/CreateTransactionDto.js +70 -0
  182. package/dist/mjs/src/models/CreateTransactionDtoPaymentMethod.d.ts +76 -0
  183. package/dist/mjs/src/models/CreateTransactionDtoPaymentMethod.js +61 -0
  184. package/dist/mjs/src/models/ErrorEntity.d.ts +56 -0
  185. package/dist/mjs/src/models/ErrorEntity.js +49 -0
  186. package/dist/mjs/src/models/MerchantAccountEntity.d.ts +108 -0
  187. package/dist/mjs/src/models/MerchantAccountEntity.js +90 -0
  188. package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +40 -0
  189. package/dist/mjs/src/models/MerchantAccountEntityCfee.js +50 -0
  190. package/dist/mjs/src/models/MerchantAddressEntity.d.ts +68 -0
  191. package/dist/mjs/src/models/MerchantAddressEntity.js +58 -0
  192. package/dist/mjs/src/models/MerchantCredentialsEntity.d.ts +74 -0
  193. package/dist/mjs/src/models/MerchantCredentialsEntity.js +63 -0
  194. package/dist/mjs/src/models/MerchantEntity.d.ts +88 -0
  195. package/dist/mjs/src/models/MerchantEntity.js +68 -0
  196. package/dist/mjs/src/models/MerchantEntityAddress.d.ts +68 -0
  197. package/dist/mjs/src/models/MerchantEntityAddress.js +58 -0
  198. package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +59 -0
  199. package/dist/mjs/src/models/MerchantGatewayEntity.js +60 -0
  200. package/dist/mjs/src/models/PaymentMethodDto.d.ts +76 -0
  201. package/dist/mjs/src/models/PaymentMethodDto.js +61 -0
  202. package/dist/mjs/src/models/PaymentMethodEntity.d.ts +124 -0
  203. package/dist/mjs/src/models/PaymentMethodEntity.js +90 -0
  204. package/dist/mjs/src/models/PaymentMethodEntity1.d.ts +89 -0
  205. package/dist/mjs/src/models/PaymentMethodEntity1.js +67 -0
  206. package/dist/mjs/src/models/PaymentMethodEntityBuyer.d.ts +69 -0
  207. package/dist/mjs/src/models/PaymentMethodEntityBuyer.js +60 -0
  208. package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +59 -0
  209. package/dist/mjs/src/models/PaymentMethodEntityDetails.js +60 -0
  210. package/dist/mjs/src/models/PaymentMethodsSearchEntity.d.ts +51 -0
  211. package/dist/mjs/src/models/PaymentMethodsSearchEntity.js +51 -0
  212. package/dist/mjs/src/models/PaymentsBuyerEntity.d.ts +69 -0
  213. package/dist/mjs/src/models/PaymentsBuyerEntity.js +55 -0
  214. package/dist/mjs/src/models/RefundTransactionDto.d.ts +32 -0
  215. package/dist/mjs/src/models/RefundTransactionDto.js +43 -0
  216. package/dist/mjs/src/models/TransactionEntity.d.ts +198 -0
  217. package/dist/mjs/src/models/TransactionEntity.js +121 -0
  218. package/dist/mjs/src/models/TransactionRefundEntity.d.ts +85 -0
  219. package/dist/mjs/src/models/TransactionRefundEntity.js +73 -0
  220. package/dist/mjs/src/models/TransactionRefundsSearchEntity.d.ts +51 -0
  221. package/dist/mjs/src/models/TransactionRefundsSearchEntity.js +51 -0
  222. package/dist/mjs/src/models/TransactionsSearchEntity.d.ts +51 -0
  223. package/dist/mjs/src/models/TransactionsSearchEntity.js +51 -0
  224. package/dist/mjs/src/models/UpdateAddressDto.d.ts +62 -0
  225. package/dist/mjs/src/models/UpdateAddressDto.js +51 -0
  226. package/dist/mjs/src/models/UpdateBuyerDto.d.ts +63 -0
  227. package/dist/mjs/src/models/UpdateBuyerDto.js +53 -0
  228. package/dist/mjs/src/models/UpdateBuyerDtoAddress.d.ts +62 -0
  229. package/dist/mjs/src/models/UpdateBuyerDtoAddress.js +51 -0
  230. package/dist/mjs/src/models/UpdateCFeeDto.d.ts +40 -0
  231. package/dist/mjs/src/models/UpdateCFeeDto.js +48 -0
  232. package/dist/mjs/src/models/UpdateMerchantAccountDto.d.ts +107 -0
  233. package/dist/mjs/src/models/UpdateMerchantAccountDto.js +82 -0
  234. package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +40 -0
  235. package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +48 -0
  236. package/dist/mjs/src/models/UpdateMerchantAddressDto.d.ts +68 -0
  237. package/dist/mjs/src/models/UpdateMerchantAddressDto.js +53 -0
  238. package/dist/mjs/src/models/UpdateMerchantCredentialsDto.d.ts +32 -0
  239. package/dist/mjs/src/models/UpdateMerchantCredentialsDto.js +42 -0
  240. package/dist/mjs/src/models/UpdateMerchantDto.d.ts +81 -0
  241. package/dist/mjs/src/models/UpdateMerchantDto.js +59 -0
  242. package/dist/mjs/src/models/UpdateMerchantDtoAddress.d.ts +68 -0
  243. package/dist/mjs/src/models/UpdateMerchantDtoAddress.js +53 -0
  244. package/dist/mjs/src/models/ValidateMerchantCredentialsDto.d.ts +26 -0
  245. package/dist/mjs/src/models/ValidateMerchantCredentialsDto.js +40 -0
  246. package/dist/mjs/src/models/index.d.ts +56 -0
  247. package/dist/mjs/src/models/index.js +58 -0
  248. package/dist/mjs/src/runtime.d.ts +118 -0
  249. package/dist/mjs/src/runtime.js +234 -0
  250. package/dist/mjs/test.d.ts +1 -0
  251. package/dist/mjs/test.js +47 -0
  252. package/package.json +32 -0
@@ -0,0 +1,70 @@
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.MerchantCredentialsEntityToJSON = exports.MerchantCredentialsEntityFromJSONTyped = exports.MerchantCredentialsEntityFromJSON = exports.instanceOfMerchantCredentialsEntity = void 0;
12
+ const runtime_1 = require("../runtime");
13
+ /**
14
+ * Check if a given object implements the MerchantCredentialsEntity interface.
15
+ */
16
+ function instanceOfMerchantCredentialsEntity(value) {
17
+ let isInstance = true;
18
+ isInstance = isInstance && "merchantCredentialsId" in value;
19
+ isInstance = isInstance && "merchantId" in value;
20
+ isInstance = isInstance && "credentialsName" in value;
21
+ isInstance = isInstance && "thumbprint" in value;
22
+ isInstance = isInstance && "createdAt" in value;
23
+ isInstance = isInstance && "updatedAt" in value;
24
+ isInstance = isInstance && "algorithm" in value;
25
+ isInstance = isInstance && "createdBy" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfMerchantCredentialsEntity = instanceOfMerchantCredentialsEntity;
29
+ function MerchantCredentialsEntityFromJSON(json) {
30
+ return MerchantCredentialsEntityFromJSONTyped(json, false);
31
+ }
32
+ exports.MerchantCredentialsEntityFromJSON = MerchantCredentialsEntityFromJSON;
33
+ function MerchantCredentialsEntityFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ const typed = {
38
+ 'merchantCredentialsId': json['merchantCredentialsId'],
39
+ 'merchantId': json['merchantId'],
40
+ 'credentialsName': json['credentialsName'],
41
+ 'thumbprint': json['thumbprint'],
42
+ 'createdAt': (new Date(json['createdAt'])),
43
+ 'updatedAt': (new Date(json['updatedAt'])),
44
+ 'algorithm': json['algorithm'],
45
+ 'createdBy': json['createdBy'],
46
+ 'signingKey': !(0, runtime_1.exists)(json, 'signingKey') ? undefined : json['signingKey'],
47
+ };
48
+ return (0, runtime_1.removeNullUndefined)(typed);
49
+ }
50
+ exports.MerchantCredentialsEntityFromJSONTyped = MerchantCredentialsEntityFromJSONTyped;
51
+ function MerchantCredentialsEntityToJSON(value) {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+ 'merchantCredentialsId': value.merchantCredentialsId,
60
+ 'merchantId': value.merchantId,
61
+ 'credentialsName': value.credentialsName,
62
+ 'thumbprint': value.thumbprint,
63
+ 'createdAt': (value.createdAt.toISOString()),
64
+ 'updatedAt': (value.updatedAt.toISOString()),
65
+ 'algorithm': value.algorithm,
66
+ 'createdBy': value.createdBy,
67
+ 'signingKey': value.signingKey,
68
+ };
69
+ }
70
+ exports.MerchantCredentialsEntityToJSON = MerchantCredentialsEntityToJSON;
@@ -0,0 +1,88 @@
1
+ /**
2
+ * Channel Payments API
3
+ *
4
+ * NOTE: This class is auto generated. Do not edit the class manually.
5
+ *
6
+ */
7
+ import type { MerchantAccountEntity } from './MerchantAccountEntity';
8
+ import type { MerchantEntityAddress } from './MerchantEntityAddress';
9
+ /**
10
+ *
11
+ * @export
12
+ * @interface MerchantEntity
13
+ */
14
+ export interface MerchantEntity {
15
+ /**
16
+ * The alphanumeric merchant ID
17
+ * @type {string}
18
+ * @memberof MerchantEntity
19
+ */
20
+ merchantId: string;
21
+ /**
22
+ * The name of the merchant
23
+ * @type {string}
24
+ * @memberof MerchantEntity
25
+ */
26
+ name: string;
27
+ /**
28
+ *
29
+ * @type {MerchantEntityAddress}
30
+ * @memberof MerchantEntity
31
+ */
32
+ address: MerchantEntityAddress;
33
+ /**
34
+ * The email address of the merchant
35
+ * @type {string}
36
+ * @memberof MerchantEntity
37
+ */
38
+ email: string;
39
+ /**
40
+ * The phone number of the merchant in E.164 format
41
+ * @type {string}
42
+ * @memberof MerchantEntity
43
+ */
44
+ phoneNumber: string;
45
+ /**
46
+ * The date the merchant was created
47
+ * @type {Date}
48
+ * @memberof MerchantEntity
49
+ */
50
+ createdAt: Date;
51
+ /**
52
+ * The date the merchant was last updated
53
+ * @type {Date}
54
+ * @memberof MerchantEntity
55
+ */
56
+ updatedAt: Date;
57
+ /**
58
+ * The URL of the merchant logo
59
+ * @type {string}
60
+ * @memberof MerchantEntity
61
+ */
62
+ logo?: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof MerchantEntity
67
+ */
68
+ parentMerchantId?: string;
69
+ /**
70
+ * The website URL of the merchant
71
+ * @type {string}
72
+ * @memberof MerchantEntity
73
+ */
74
+ website?: string;
75
+ /**
76
+ *
77
+ * @type {Array<MerchantAccountEntity>}
78
+ * @memberof MerchantEntity
79
+ */
80
+ merchantAccounts?: Array<MerchantAccountEntity>;
81
+ }
82
+ /**
83
+ * Check if a given object implements the MerchantEntity interface.
84
+ */
85
+ export declare function instanceOfMerchantEntity(value: object): boolean;
86
+ export declare function MerchantEntityFromJSON(json: any): MerchantEntity;
87
+ export declare function MerchantEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantEntity;
88
+ export declare function MerchantEntityToJSON(value?: MerchantEntity | null): any;
@@ -0,0 +1,75 @@
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.MerchantEntityToJSON = exports.MerchantEntityFromJSONTyped = exports.MerchantEntityFromJSON = exports.instanceOfMerchantEntity = void 0;
12
+ const runtime_1 = require("../runtime");
13
+ const MerchantAccountEntity_1 = require("./MerchantAccountEntity");
14
+ const MerchantEntityAddress_1 = require("./MerchantEntityAddress");
15
+ /**
16
+ * Check if a given object implements the MerchantEntity interface.
17
+ */
18
+ function instanceOfMerchantEntity(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "merchantId" in value;
21
+ isInstance = isInstance && "name" in value;
22
+ isInstance = isInstance && "address" in value;
23
+ isInstance = isInstance && "email" in value;
24
+ isInstance = isInstance && "phoneNumber" in value;
25
+ isInstance = isInstance && "createdAt" in value;
26
+ isInstance = isInstance && "updatedAt" in value;
27
+ return isInstance;
28
+ }
29
+ exports.instanceOfMerchantEntity = instanceOfMerchantEntity;
30
+ function MerchantEntityFromJSON(json) {
31
+ return MerchantEntityFromJSONTyped(json, false);
32
+ }
33
+ exports.MerchantEntityFromJSON = MerchantEntityFromJSON;
34
+ function MerchantEntityFromJSONTyped(json, ignoreDiscriminator) {
35
+ if ((json === undefined) || (json === null)) {
36
+ return json;
37
+ }
38
+ const typed = {
39
+ 'merchantId': json['merchantId'],
40
+ 'name': json['name'],
41
+ 'address': (0, MerchantEntityAddress_1.MerchantEntityAddressFromJSON)(json['address']),
42
+ 'email': json['email'],
43
+ 'phoneNumber': json['phoneNumber'],
44
+ 'createdAt': (new Date(json['createdAt'])),
45
+ 'updatedAt': (new Date(json['updatedAt'])),
46
+ 'logo': !(0, runtime_1.exists)(json, 'logo') ? undefined : json['logo'],
47
+ 'parentMerchantId': !(0, runtime_1.exists)(json, 'parentMerchantId') ? undefined : json['parentMerchantId'],
48
+ 'website': !(0, runtime_1.exists)(json, 'website') ? undefined : json['website'],
49
+ 'merchantAccounts': !(0, runtime_1.exists)(json, 'merchantAccounts') ? undefined : (json['merchantAccounts'].map(MerchantAccountEntity_1.MerchantAccountEntityFromJSON)),
50
+ };
51
+ return (0, runtime_1.removeNullUndefined)(typed);
52
+ }
53
+ exports.MerchantEntityFromJSONTyped = MerchantEntityFromJSONTyped;
54
+ function MerchantEntityToJSON(value) {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+ 'merchantId': value.merchantId,
63
+ 'name': value.name,
64
+ 'address': (0, MerchantEntityAddress_1.MerchantEntityAddressToJSON)(value.address),
65
+ 'email': value.email,
66
+ 'phoneNumber': value.phoneNumber,
67
+ 'createdAt': (value.createdAt.toISOString()),
68
+ 'updatedAt': (value.updatedAt.toISOString()),
69
+ 'logo': value.logo,
70
+ 'parentMerchantId': value.parentMerchantId,
71
+ 'website': value.website,
72
+ 'merchantAccounts': value.merchantAccounts === undefined ? undefined : (value.merchantAccounts.map(MerchantAccountEntity_1.MerchantAccountEntityToJSON)),
73
+ };
74
+ }
75
+ exports.MerchantEntityToJSON = MerchantEntityToJSON;
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Channel Payments API
3
+ *
4
+ * NOTE: This class is auto generated. Do not edit the class manually.
5
+ *
6
+ */
7
+ /**
8
+ * The address of the merchant
9
+ * @export
10
+ * @interface MerchantEntityAddress
11
+ */
12
+ export interface MerchantEntityAddress {
13
+ /**
14
+ * The country of the merchant address
15
+ * @type {string}
16
+ * @memberof MerchantEntityAddress
17
+ */
18
+ country: string;
19
+ /**
20
+ * The subdivision (state, province, or region) of the merchant address
21
+ * @type {string}
22
+ * @memberof MerchantEntityAddress
23
+ */
24
+ subdivision: string;
25
+ /**
26
+ * The city of the merchant address
27
+ * @type {string}
28
+ * @memberof MerchantEntityAddress
29
+ */
30
+ city: string;
31
+ /**
32
+ * The street address of the merchant
33
+ * @type {string}
34
+ * @memberof MerchantEntityAddress
35
+ */
36
+ streetAddress: string;
37
+ /**
38
+ * The postal code of the merchant address
39
+ * @type {string}
40
+ * @memberof MerchantEntityAddress
41
+ */
42
+ postalCode: string;
43
+ /**
44
+ * The country code of the merchant address
45
+ * @type {string}
46
+ * @memberof MerchantEntityAddress
47
+ */
48
+ countryCode?: string;
49
+ /**
50
+ * The subdivision code of the merchant address
51
+ * @type {string}
52
+ * @memberof MerchantEntityAddress
53
+ */
54
+ subdivisionCode?: string;
55
+ /**
56
+ * The second line of the street address of the merchant
57
+ * @type {string}
58
+ * @memberof MerchantEntityAddress
59
+ */
60
+ streetAddress2?: string;
61
+ }
62
+ /**
63
+ * Check if a given object implements the MerchantEntityAddress interface.
64
+ */
65
+ export declare function instanceOfMerchantEntityAddress(value: object): boolean;
66
+ export declare function MerchantEntityAddressFromJSON(json: any): MerchantEntityAddress;
67
+ export declare function MerchantEntityAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantEntityAddress;
68
+ export declare function MerchantEntityAddressToJSON(value?: MerchantEntityAddress | null): any;
@@ -0,0 +1,65 @@
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.MerchantEntityAddressToJSON = exports.MerchantEntityAddressFromJSONTyped = exports.MerchantEntityAddressFromJSON = exports.instanceOfMerchantEntityAddress = void 0;
12
+ const runtime_1 = require("../runtime");
13
+ /**
14
+ * Check if a given object implements the MerchantEntityAddress interface.
15
+ */
16
+ function instanceOfMerchantEntityAddress(value) {
17
+ let isInstance = true;
18
+ isInstance = isInstance && "country" in value;
19
+ isInstance = isInstance && "subdivision" in value;
20
+ isInstance = isInstance && "city" in value;
21
+ isInstance = isInstance && "streetAddress" in value;
22
+ isInstance = isInstance && "postalCode" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfMerchantEntityAddress = instanceOfMerchantEntityAddress;
26
+ function MerchantEntityAddressFromJSON(json) {
27
+ return MerchantEntityAddressFromJSONTyped(json, false);
28
+ }
29
+ exports.MerchantEntityAddressFromJSON = MerchantEntityAddressFromJSON;
30
+ function MerchantEntityAddressFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ const typed = {
35
+ 'country': json['country'],
36
+ 'subdivision': json['subdivision'],
37
+ 'city': json['city'],
38
+ 'streetAddress': json['streetAddress'],
39
+ 'postalCode': json['postalCode'],
40
+ 'countryCode': !(0, runtime_1.exists)(json, 'countryCode') ? undefined : json['countryCode'],
41
+ 'subdivisionCode': !(0, runtime_1.exists)(json, 'subdivisionCode') ? undefined : json['subdivisionCode'],
42
+ 'streetAddress2': !(0, runtime_1.exists)(json, 'streetAddress2') ? undefined : json['streetAddress2'],
43
+ };
44
+ return (0, runtime_1.removeNullUndefined)(typed);
45
+ }
46
+ exports.MerchantEntityAddressFromJSONTyped = MerchantEntityAddressFromJSONTyped;
47
+ function MerchantEntityAddressToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'country': value.country,
56
+ 'subdivision': value.subdivision,
57
+ 'city': value.city,
58
+ 'streetAddress': value.streetAddress,
59
+ 'postalCode': value.postalCode,
60
+ 'countryCode': value.countryCode,
61
+ 'subdivisionCode': value.subdivisionCode,
62
+ 'streetAddress2': value.streetAddress2,
63
+ };
64
+ }
65
+ exports.MerchantEntityAddressToJSON = MerchantEntityAddressToJSON;
@@ -0,0 +1,59 @@
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 MerchantGatewayEntity
11
+ */
12
+ export interface MerchantGatewayEntity {
13
+ /**
14
+ * The alphanumeric ID of the merchant gateway
15
+ * @type {string}
16
+ * @memberof MerchantGatewayEntity
17
+ */
18
+ merchantGatewayId: string;
19
+ /**
20
+ * The alphanumeric ID of the merchant account
21
+ * @type {string}
22
+ * @memberof MerchantGatewayEntity
23
+ */
24
+ merchantAccountId: string;
25
+ /**
26
+ * The name of the merchant gateway
27
+ * @type {string}
28
+ * @memberof MerchantGatewayEntity
29
+ */
30
+ name: MerchantGatewayEntityNameEnum;
31
+ /**
32
+ * The date the merchant gateway was created
33
+ * @type {Date}
34
+ * @memberof MerchantGatewayEntity
35
+ */
36
+ createdAt: Date;
37
+ /**
38
+ * The date the merchant gateway was last updated
39
+ * @type {Date}
40
+ * @memberof MerchantGatewayEntity
41
+ */
42
+ updatedAt: Date;
43
+ }
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const MerchantGatewayEntityNameEnum: {
48
+ readonly Epay: "EPAY";
49
+ readonly Nmi: "NMI";
50
+ readonly AuthorizeNet: "AUTHORIZE_NET";
51
+ };
52
+ export type MerchantGatewayEntityNameEnum = typeof MerchantGatewayEntityNameEnum[keyof typeof MerchantGatewayEntityNameEnum];
53
+ /**
54
+ * Check if a given object implements the MerchantGatewayEntity interface.
55
+ */
56
+ export declare function instanceOfMerchantGatewayEntity(value: object): boolean;
57
+ export declare function MerchantGatewayEntityFromJSON(json: any): MerchantGatewayEntity;
58
+ export declare function MerchantGatewayEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantGatewayEntity;
59
+ export declare function MerchantGatewayEntityToJSON(value?: MerchantGatewayEntity | null): any;
@@ -0,0 +1,67 @@
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.MerchantGatewayEntityToJSON = exports.MerchantGatewayEntityFromJSONTyped = exports.MerchantGatewayEntityFromJSON = exports.instanceOfMerchantGatewayEntity = exports.MerchantGatewayEntityNameEnum = void 0;
12
+ const runtime_1 = require("../runtime");
13
+ /**
14
+ * @export
15
+ */
16
+ exports.MerchantGatewayEntityNameEnum = {
17
+ Epay: 'EPAY',
18
+ Nmi: 'NMI',
19
+ AuthorizeNet: 'AUTHORIZE_NET'
20
+ };
21
+ /**
22
+ * Check if a given object implements the MerchantGatewayEntity interface.
23
+ */
24
+ function instanceOfMerchantGatewayEntity(value) {
25
+ let isInstance = true;
26
+ isInstance = isInstance && "merchantGatewayId" in value;
27
+ isInstance = isInstance && "merchantAccountId" in value;
28
+ isInstance = isInstance && "name" in value;
29
+ isInstance = isInstance && "createdAt" in value;
30
+ isInstance = isInstance && "updatedAt" in value;
31
+ return isInstance;
32
+ }
33
+ exports.instanceOfMerchantGatewayEntity = instanceOfMerchantGatewayEntity;
34
+ function MerchantGatewayEntityFromJSON(json) {
35
+ return MerchantGatewayEntityFromJSONTyped(json, false);
36
+ }
37
+ exports.MerchantGatewayEntityFromJSON = MerchantGatewayEntityFromJSON;
38
+ function MerchantGatewayEntityFromJSONTyped(json, ignoreDiscriminator) {
39
+ if ((json === undefined) || (json === null)) {
40
+ return json;
41
+ }
42
+ const typed = {
43
+ 'merchantGatewayId': json['merchantGatewayId'],
44
+ 'merchantAccountId': json['merchantAccountId'],
45
+ 'name': json['name'],
46
+ 'createdAt': (new Date(json['createdAt'])),
47
+ 'updatedAt': (new Date(json['updatedAt'])),
48
+ };
49
+ return (0, runtime_1.removeNullUndefined)(typed);
50
+ }
51
+ exports.MerchantGatewayEntityFromJSONTyped = MerchantGatewayEntityFromJSONTyped;
52
+ function MerchantGatewayEntityToJSON(value) {
53
+ if (value === undefined) {
54
+ return undefined;
55
+ }
56
+ if (value === null) {
57
+ return null;
58
+ }
59
+ return {
60
+ 'merchantGatewayId': value.merchantGatewayId,
61
+ 'merchantAccountId': value.merchantAccountId,
62
+ 'name': value.name,
63
+ 'createdAt': (value.createdAt.toISOString()),
64
+ 'updatedAt': (value.updatedAt.toISOString()),
65
+ };
66
+ }
67
+ exports.MerchantGatewayEntityToJSON = MerchantGatewayEntityToJSON;
@@ -0,0 +1,76 @@
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 PaymentMethodDto
11
+ */
12
+ export interface PaymentMethodDto {
13
+ /**
14
+ * The payment method.
15
+ * @type {string}
16
+ * @memberof PaymentMethodDto
17
+ */
18
+ method: PaymentMethodDtoMethodEnum;
19
+ /**
20
+ * The 13 - 19 digit card number. Must be unset is method is not CARD.
21
+ * @type {string}
22
+ * @memberof PaymentMethodDto
23
+ */
24
+ number?: string;
25
+ /**
26
+ * The 3 or 4 digit code often found on the back of the card. Often referred to as the CVV or CVD.
27
+ * @type {string}
28
+ * @memberof PaymentMethodDto
29
+ */
30
+ securityCode?: string;
31
+ /**
32
+ * The expiration date of the card, formatted MM/YY. Must be unset if method is not CARD.
33
+ * @type {string}
34
+ * @memberof PaymentMethodDto
35
+ */
36
+ expirationDate?: string;
37
+ /**
38
+ * The id of the buyer to associate the payment to. Must be unset if method is ID.
39
+ * @type {string}
40
+ * @memberof PaymentMethodDto
41
+ */
42
+ externalBuyerId?: string;
43
+ /**
44
+ * The id of the buyer to associate the payment to. Must be unset if method is ID.
45
+ * @type {string}
46
+ * @memberof PaymentMethodDto
47
+ */
48
+ buyerId?: string;
49
+ /**
50
+ * The id of the stored payment method to use. Must be unset if method is not ID.
51
+ * @type {string}
52
+ * @memberof PaymentMethodDto
53
+ */
54
+ paymentMethodId?: string;
55
+ /**
56
+ * Whether or not to also try and store the payment method for future use
57
+ * @type {boolean}
58
+ * @memberof PaymentMethodDto
59
+ */
60
+ store?: boolean;
61
+ }
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const PaymentMethodDtoMethodEnum: {
66
+ readonly Card: "CARD";
67
+ readonly Id: "ID";
68
+ };
69
+ export type PaymentMethodDtoMethodEnum = typeof PaymentMethodDtoMethodEnum[keyof typeof PaymentMethodDtoMethodEnum];
70
+ /**
71
+ * Check if a given object implements the PaymentMethodDto interface.
72
+ */
73
+ export declare function instanceOfPaymentMethodDto(value: object): boolean;
74
+ export declare function PaymentMethodDtoFromJSON(json: any): PaymentMethodDto;
75
+ export declare function PaymentMethodDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodDto;
76
+ export declare function PaymentMethodDtoToJSON(value?: PaymentMethodDto | null): any;
@@ -0,0 +1,68 @@
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.PaymentMethodDtoToJSON = exports.PaymentMethodDtoFromJSONTyped = exports.PaymentMethodDtoFromJSON = exports.instanceOfPaymentMethodDto = exports.PaymentMethodDtoMethodEnum = void 0;
12
+ const runtime_1 = require("../runtime");
13
+ /**
14
+ * @export
15
+ */
16
+ exports.PaymentMethodDtoMethodEnum = {
17
+ Card: 'CARD',
18
+ Id: 'ID'
19
+ };
20
+ /**
21
+ * Check if a given object implements the PaymentMethodDto interface.
22
+ */
23
+ function instanceOfPaymentMethodDto(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "method" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaymentMethodDto = instanceOfPaymentMethodDto;
29
+ function PaymentMethodDtoFromJSON(json) {
30
+ return PaymentMethodDtoFromJSONTyped(json, false);
31
+ }
32
+ exports.PaymentMethodDtoFromJSON = PaymentMethodDtoFromJSON;
33
+ function PaymentMethodDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ const typed = {
38
+ 'method': json['method'],
39
+ 'number': !(0, runtime_1.exists)(json, 'number') ? undefined : json['number'],
40
+ 'securityCode': !(0, runtime_1.exists)(json, 'securityCode') ? undefined : json['securityCode'],
41
+ 'expirationDate': !(0, runtime_1.exists)(json, 'expirationDate') ? undefined : json['expirationDate'],
42
+ 'externalBuyerId': !(0, runtime_1.exists)(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
43
+ 'buyerId': !(0, runtime_1.exists)(json, 'buyerId') ? undefined : json['buyerId'],
44
+ 'paymentMethodId': !(0, runtime_1.exists)(json, 'paymentMethodId') ? undefined : json['paymentMethodId'],
45
+ 'store': !(0, runtime_1.exists)(json, 'store') ? undefined : json['store'],
46
+ };
47
+ return (0, runtime_1.removeNullUndefined)(typed);
48
+ }
49
+ exports.PaymentMethodDtoFromJSONTyped = PaymentMethodDtoFromJSONTyped;
50
+ function PaymentMethodDtoToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'method': value.method,
59
+ 'number': value.number,
60
+ 'securityCode': value.securityCode,
61
+ 'expirationDate': value.expirationDate,
62
+ 'externalBuyerId': value.externalBuyerId,
63
+ 'buyerId': value.buyerId,
64
+ 'paymentMethodId': value.paymentMethodId,
65
+ 'store': value.store,
66
+ };
67
+ }
68
+ exports.PaymentMethodDtoToJSON = PaymentMethodDtoToJSON;