integration_api 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (613) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +438 -0
  4. data/Rakefile +8 -0
  5. data/docs/ACHApi.md +878 -0
  6. data/docs/AccountingApi.md +633 -0
  7. data/docs/AccountingCustomerResponseVO.md +9 -0
  8. data/docs/AccountingCustomerRevenueResponseVO.md +9 -0
  9. data/docs/AccountingFinalResponseVO.md +15 -0
  10. data/docs/AccountingInvoicePaymentResponseVO.md +9 -0
  11. data/docs/AccountingInvoiceResponseVO.md +9 -0
  12. data/docs/AccountingStatsResponseVO.md +9 -0
  13. data/docs/AchBalanceResponseVO.md +13 -0
  14. data/docs/AchBankLinkRequestCO.md +10 -0
  15. data/docs/AchBankLinkResponseVO.md +14 -0
  16. data/docs/AchBusinessRequestCO.md +10 -0
  17. data/docs/AchBusinessResponseVO.md +12 -0
  18. data/docs/AchCardLinkRequestCO.md +9 -0
  19. data/docs/AchCardLinkResponseVO.md +12 -0
  20. data/docs/AchClientRequestCO.md +10 -0
  21. data/docs/AchClientResponseVO.md +12 -0
  22. data/docs/AchTransferRequestCO.md +10 -0
  23. data/docs/AchTransferResponseVO.md +14 -0
  24. data/docs/Acquiree.md +10 -0
  25. data/docs/Acquirer.md +10 -0
  26. data/docs/Address.md +15 -0
  27. data/docs/AggregationAccount.md +29 -0
  28. data/docs/AggregationAccountBalance.md +18 -0
  29. data/docs/AggregationAccountBalanceResponseVO.md +11 -0
  30. data/docs/AggregationAccountHolding.md +27 -0
  31. data/docs/AggregationAccountHoldingResponseInternalObjectVO.md +9 -0
  32. data/docs/AggregationAccountHoldingResponseVO.md +11 -0
  33. data/docs/AggregationAccountResponseInternalObjectVO.md +9 -0
  34. data/docs/AggregationAccountResponseVO.md +11 -0
  35. data/docs/AggregationAccountTransaction.md +24 -0
  36. data/docs/AggregationAccountTransactionResponseInternalObjectVO.md +9 -0
  37. data/docs/AggregationAccountTransactionResponseVO.md +12 -0
  38. data/docs/AggregationAccountsResponseVO.md +11 -0
  39. data/docs/AggregationApi.md +722 -0
  40. data/docs/AggregationRequestObject.md +12 -0
  41. data/docs/AggregationVendorRequestCO.md +10 -0
  42. data/docs/ApplePayload.md +10 -0
  43. data/docs/AsyncApi.md +262 -0
  44. data/docs/AsyncTransaction.md +12 -0
  45. data/docs/AsyncTransactionVO.md +10 -0
  46. data/docs/BaasAccountCO.md +9 -0
  47. data/docs/BaasAccountVO.md +16 -0
  48. data/docs/BaasApi.md +551 -0
  49. data/docs/BaasBalanceVO.md +12 -0
  50. data/docs/BaasBusinessVO.md +14 -0
  51. data/docs/BaasClientVO.md +14 -0
  52. data/docs/BaasStatementVO.md +13 -0
  53. data/docs/BaasStatementsVO.md +10 -0
  54. data/docs/BaasSubAccountCO.md +8 -0
  55. data/docs/BaasSubAccountVO.md +15 -0
  56. data/docs/BaasTransactionsVO.md +12 -0
  57. data/docs/BankCredit.md +15 -0
  58. data/docs/BankLink.md +29 -0
  59. data/docs/BankLinkResponseInternalObjectVO.md +9 -0
  60. data/docs/BankLinkVendorDataVO.md +9 -0
  61. data/docs/BaseResponseVO.md +10 -0
  62. data/docs/BrokerageAccountCO.md +9 -0
  63. data/docs/BrokerageAccountVO.md +12 -0
  64. data/docs/BrokerageApi.md +1170 -0
  65. data/docs/BrokerageBalanceVO.md +13 -0
  66. data/docs/BrokerageBankLinkCO.md +8 -0
  67. data/docs/BrokerageBankLinkVO.md +13 -0
  68. data/docs/BrokerageClientCO.md +9 -0
  69. data/docs/BrokerageCreateClientVO.md +12 -0
  70. data/docs/BrokerageDepositCO.md +8 -0
  71. data/docs/BrokerageDepositVO.md +12 -0
  72. data/docs/BrokerageDocumentCO.md +9 -0
  73. data/docs/BrokerageDocumentVO.md +13 -0
  74. data/docs/BrokerageHoldingVO.md +13 -0
  75. data/docs/BrokerageOrderCO.md +8 -0
  76. data/docs/BrokerageOrderVO.md +13 -0
  77. data/docs/BrokeragePerformanceVO.md +13 -0
  78. data/docs/BrokerageSecuritiesVO.md +11 -0
  79. data/docs/BrokerageStatementVO.md +10 -0
  80. data/docs/BrokerageTransactionVO.md +13 -0
  81. data/docs/BrokerageUpdateClientVO.md +13 -0
  82. data/docs/BrokerageWithdrawalCO.md +8 -0
  83. data/docs/BrokerageWithdrawalVO.md +12 -0
  84. data/docs/BusinessAddress.md +14 -0
  85. data/docs/BusinessVendorRequestDataVO.md +22 -0
  86. data/docs/CardApi.md +1684 -0
  87. data/docs/CardAutoReloadRequestCO.md +11 -0
  88. data/docs/CardAutoReloadResponseVO.md +13 -0
  89. data/docs/CardBalanceResponseVO.md +13 -0
  90. data/docs/CardBaseRequestCO.md +10 -0
  91. data/docs/CardBusinessRequestCO.md +8 -0
  92. data/docs/CardClientRequestCO.md +9 -0
  93. data/docs/CardLoadRequestCO.md +9 -0
  94. data/docs/CardLoadUnloadResponseVO.md +14 -0
  95. data/docs/CardPinRequestCO.md +11 -0
  96. data/docs/CardReplaceResponseVO.md +14 -0
  97. data/docs/CardReserveAccountResponseVO.md +14 -0
  98. data/docs/CardSpendingControlRequestCO.md +8 -0
  99. data/docs/CardSpendingControlResponseVO.md +12 -0
  100. data/docs/CardTokenRequestCO.md +11 -0
  101. data/docs/CardTokenResponseVO.md +15 -0
  102. data/docs/CardTransactionResponseVO.md +13 -0
  103. data/docs/CardUnloadRequestCO.md +9 -0
  104. data/docs/CardUpdatePinRequestCO.md +11 -0
  105. data/docs/Cash.md +10 -0
  106. data/docs/ClientAddress.md +15 -0
  107. data/docs/ClientVendorRequestDataVO.md +25 -0
  108. data/docs/CreateBaasBusinessCO.md +9 -0
  109. data/docs/CreateBaasClientCO.md +9 -0
  110. data/docs/CreateBusinessResponseVO.md +12 -0
  111. data/docs/CreateCardClientResponseVO.md +12 -0
  112. data/docs/CreateUserRequest.md +13 -0
  113. data/docs/Customer.md +21 -0
  114. data/docs/CustomerAddress.md +14 -0
  115. data/docs/CustomerRevenue.md +16 -0
  116. data/docs/Dividend.md +10 -0
  117. data/docs/DividendTax.md +9 -0
  118. data/docs/Email.md +26 -0
  119. data/docs/EmailClick.md +11 -0
  120. data/docs/EmailOpen.md +10 -0
  121. data/docs/ExchangePublicTokenVO.md +12 -0
  122. data/docs/ExchangeTokenCO.md +13 -0
  123. data/docs/FinancialStatement.md +23 -0
  124. data/docs/GetCardImageResponseVO.md +12 -0
  125. data/docs/GetCardPciDetailsResponseVO.md +14 -0
  126. data/docs/GetCardStatementResponseVO.md +15 -0
  127. data/docs/GetCardTokenResponseVO.md +15 -0
  128. data/docs/GetTransactionsResponse.md +8 -0
  129. data/docs/GooglePayload.md +8 -0
  130. data/docs/IAVApi.md +126 -0
  131. data/docs/IavAggregationResponseVo.md +9 -0
  132. data/docs/IavBankLinkResponseVo.md +9 -0
  133. data/docs/IavRequestCO.md +14 -0
  134. data/docs/IavResponseVo.md +10 -0
  135. data/docs/IavTokenExchangeVendorResponseVO.md +7 -0
  136. data/docs/IavVendorRequestCO.md +10 -0
  137. data/docs/Identification.md +14 -0
  138. data/docs/Instrument.md +10 -0
  139. data/docs/Investment.md +16 -0
  140. data/docs/Invoice.md +32 -0
  141. data/docs/InvoicePayment.md +15 -0
  142. data/docs/JsonNode.md +28 -0
  143. data/docs/KMSApi.md +314 -0
  144. data/docs/KYCApi.md +135 -0
  145. data/docs/KmsConfig.md +19 -0
  146. data/docs/KycRequestCO.md +16 -0
  147. data/docs/KycResponseVo.md +18 -0
  148. data/docs/KycVendorRequestDataVO.md +30 -0
  149. data/docs/LineItems.md +15 -0
  150. data/docs/Location.md +15 -0
  151. data/docs/Mapstringobject.md +7 -0
  152. data/docs/MarketDataApi.md +122 -0
  153. data/docs/MdHistoryItemVO.md +14 -0
  154. data/docs/MdHistoryRequestCO.md +12 -0
  155. data/docs/MdHistoryResponseVO.md +8 -0
  156. data/docs/MdQuoteItemVO.md +25 -0
  157. data/docs/MdQuoteRequestCO.md +11 -0
  158. data/docs/MdQuoteResponseVO.md +8 -0
  159. data/docs/MergerAcquisition.md +10 -0
  160. data/docs/NucleusTransferFieldsCO.md +9 -0
  161. data/docs/Ownership.md +9 -0
  162. data/docs/PageAchTransferResponseVO.md +16 -0
  163. data/docs/PageKmsConfig.md +16 -0
  164. data/docs/PageWebhook.md +16 -0
  165. data/docs/Pageobject.md +16 -0
  166. data/docs/PoliticallyExposedPersonDTO.md +11 -0
  167. data/docs/PortfolioAssetSizeLog.md +20 -0
  168. data/docs/PropertyValueResponseVO.md +12 -0
  169. data/docs/RTPApi.md +521 -0
  170. data/docs/ResponseEntity.md +10 -0
  171. data/docs/RtpBankLinkRequestCO.md +9 -0
  172. data/docs/RtpBankLinkResponseVO.md +14 -0
  173. data/docs/RtpTransferRequestCO.md +9 -0
  174. data/docs/RtpTransferResponseVO.md +13 -0
  175. data/docs/SMS.md +24 -0
  176. data/docs/SMSApi.md +128 -0
  177. data/docs/SMSResponseVO.md +13 -0
  178. data/docs/SMSVO.md +12 -0
  179. data/docs/SMTPApi.md +128 -0
  180. data/docs/SamsungPayload.md +8 -0
  181. data/docs/SmtpResponseVO.md +13 -0
  182. data/docs/SmtpVO.md +17 -0
  183. data/docs/Sort.md +13 -0
  184. data/docs/SpendingControlVendorRequestDataVO.md +16 -0
  185. data/docs/Stat.md +9 -0
  186. data/docs/Transaction.md +29 -0
  187. data/docs/UpdateBaasBusinessCO.md +8 -0
  188. data/docs/UpdateBaasClientCO.md +8 -0
  189. data/docs/UpdateBusinessResponseVO.md +12 -0
  190. data/docs/UpdateCardClientResponseVO.md +12 -0
  191. data/docs/UserResponseInterface.md +7 -0
  192. data/docs/UserResponseVO.md +13 -0
  193. data/docs/UtilsApi.md +273 -0
  194. data/docs/VendorAccessConfigVO.md +10 -0
  195. data/docs/Webhook.md +15 -0
  196. data/docs/WebhookApi.md +314 -0
  197. data/docs/WidgetUrlVO.md +9 -0
  198. data/docs/WireApi.md +521 -0
  199. data/docs/WireBankLinkRequestCO.md +9 -0
  200. data/docs/WireBankLinkResponseVO.md +14 -0
  201. data/docs/WireTransferRequestCO.md +9 -0
  202. data/docs/WireTransferResponseVO.md +13 -0
  203. data/docs/ZillowPropertyVendorResponseVO.md +12 -0
  204. data/git_push.sh +55 -0
  205. data/integration_api.gemspec +46 -0
  206. data/lib/integration_api.rb +239 -0
  207. data/lib/integration_api/api/accounting_api.rb +597 -0
  208. data/lib/integration_api/api/ach_api.rb +800 -0
  209. data/lib/integration_api/api/aggregation_api.rb +665 -0
  210. data/lib/integration_api/api/async_api.rb +269 -0
  211. data/lib/integration_api/api/baas_api.rb +518 -0
  212. data/lib/integration_api/api/brokerage_api.rb +1089 -0
  213. data/lib/integration_api/api/card_api.rb +1548 -0
  214. data/lib/integration_api/api/iav_api.rb +129 -0
  215. data/lib/integration_api/api/kms_api.rb +301 -0
  216. data/lib/integration_api/api/kyc_api.rb +138 -0
  217. data/lib/integration_api/api/market_data_api.rb +127 -0
  218. data/lib/integration_api/api/rtp_api.rb +479 -0
  219. data/lib/integration_api/api/sms_api.rb +129 -0
  220. data/lib/integration_api/api/smtp_api.rb +129 -0
  221. data/lib/integration_api/api/utils_api.rb +272 -0
  222. data/lib/integration_api/api/webhook_api.rb +301 -0
  223. data/lib/integration_api/api/wire_api.rb +479 -0
  224. data/lib/integration_api/api_client.rb +391 -0
  225. data/lib/integration_api/api_error.rb +38 -0
  226. data/lib/integration_api/auth_configuration.rb +177 -0
  227. data/lib/integration_api/configuration.rb +209 -0
  228. data/lib/integration_api/models/accounting_customer_response_vo.rb +191 -0
  229. data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +191 -0
  230. data/lib/integration_api/models/accounting_final_response_vo.rb +253 -0
  231. data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +191 -0
  232. data/lib/integration_api/models/accounting_invoice_response_vo.rb +191 -0
  233. data/lib/integration_api/models/accounting_stats_response_vo.rb +191 -0
  234. data/lib/integration_api/models/ach_balance_response_vo.rb +231 -0
  235. data/lib/integration_api/models/ach_bank_link_request_co.rb +200 -0
  236. data/lib/integration_api/models/ach_bank_link_response_vo.rb +236 -0
  237. data/lib/integration_api/models/ach_business_request_co.rb +200 -0
  238. data/lib/integration_api/models/ach_business_response_vo.rb +218 -0
  239. data/lib/integration_api/models/ach_card_link_request_co.rb +191 -0
  240. data/lib/integration_api/models/ach_card_link_response_vo.rb +218 -0
  241. data/lib/integration_api/models/ach_client_request_co.rb +200 -0
  242. data/lib/integration_api/models/ach_client_response_vo.rb +218 -0
  243. data/lib/integration_api/models/ach_transfer_request_co.rb +200 -0
  244. data/lib/integration_api/models/ach_transfer_response_vo.rb +236 -0
  245. data/lib/integration_api/models/acquiree.rb +200 -0
  246. data/lib/integration_api/models/acquirer.rb +200 -0
  247. data/lib/integration_api/models/address.rb +281 -0
  248. data/lib/integration_api/models/aggregation_account.rb +411 -0
  249. data/lib/integration_api/models/aggregation_account_balance.rb +293 -0
  250. data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +209 -0
  251. data/lib/integration_api/models/aggregation_account_holding.rb +381 -0
  252. data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +191 -0
  253. data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +211 -0
  254. data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +191 -0
  255. data/lib/integration_api/models/aggregation_account_response_vo.rb +209 -0
  256. data/lib/integration_api/models/aggregation_account_transaction.rb +348 -0
  257. data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +191 -0
  258. data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +222 -0
  259. data/lib/integration_api/models/aggregation_accounts_response_vo.rb +211 -0
  260. data/lib/integration_api/models/aggregation_request_object.rb +218 -0
  261. data/lib/integration_api/models/aggregation_vendor_request_co.rb +200 -0
  262. data/lib/integration_api/models/apple_payload.rb +200 -0
  263. data/lib/integration_api/models/async_transaction.rb +218 -0
  264. data/lib/integration_api/models/async_transaction_vo.rb +200 -0
  265. data/lib/integration_api/models/baas_account_co.rb +191 -0
  266. data/lib/integration_api/models/baas_account_vo.rb +254 -0
  267. data/lib/integration_api/models/baas_balance_vo.rb +222 -0
  268. data/lib/integration_api/models/baas_business_vo.rb +238 -0
  269. data/lib/integration_api/models/baas_client_vo.rb +238 -0
  270. data/lib/integration_api/models/baas_statement_vo.rb +227 -0
  271. data/lib/integration_api/models/baas_statements_vo.rb +202 -0
  272. data/lib/integration_api/models/baas_sub_account_co.rb +182 -0
  273. data/lib/integration_api/models/baas_sub_account_vo.rb +245 -0
  274. data/lib/integration_api/models/baas_transactions_vo.rb +222 -0
  275. data/lib/integration_api/models/bank_credit.rb +263 -0
  276. data/lib/integration_api/models/bank_link.rb +412 -0
  277. data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +191 -0
  278. data/lib/integration_api/models/bank_link_vendor_data_vo.rb +191 -0
  279. data/lib/integration_api/models/base_response_vo.rb +200 -0
  280. data/lib/integration_api/models/brokerage_account_co.rb +193 -0
  281. data/lib/integration_api/models/brokerage_account_vo.rb +218 -0
  282. data/lib/integration_api/models/brokerage_balance_vo.rb +229 -0
  283. data/lib/integration_api/models/brokerage_bank_link_co.rb +182 -0
  284. data/lib/integration_api/models/brokerage_bank_link_vo.rb +227 -0
  285. data/lib/integration_api/models/brokerage_client_co.rb +193 -0
  286. data/lib/integration_api/models/brokerage_create_client_vo.rb +218 -0
  287. data/lib/integration_api/models/brokerage_deposit_co.rb +182 -0
  288. data/lib/integration_api/models/brokerage_deposit_vo.rb +218 -0
  289. data/lib/integration_api/models/brokerage_document_co.rb +191 -0
  290. data/lib/integration_api/models/brokerage_document_vo.rb +227 -0
  291. data/lib/integration_api/models/brokerage_holding_vo.rb +227 -0
  292. data/lib/integration_api/models/brokerage_order_co.rb +182 -0
  293. data/lib/integration_api/models/brokerage_order_vo.rb +227 -0
  294. data/lib/integration_api/models/brokerage_performance_vo.rb +227 -0
  295. data/lib/integration_api/models/brokerage_securities_vo.rb +209 -0
  296. data/lib/integration_api/models/brokerage_statement_vo.rb +200 -0
  297. data/lib/integration_api/models/brokerage_transaction_vo.rb +227 -0
  298. data/lib/integration_api/models/brokerage_update_client_vo.rb +227 -0
  299. data/lib/integration_api/models/brokerage_withdrawal_co.rb +182 -0
  300. data/lib/integration_api/models/brokerage_withdrawal_vo.rb +218 -0
  301. data/lib/integration_api/models/business_address.rb +244 -0
  302. data/lib/integration_api/models/business_vendor_request_data_vo.rb +314 -0
  303. data/lib/integration_api/models/card_auto_reload_request_co.rb +209 -0
  304. data/lib/integration_api/models/card_auto_reload_response_vo.rb +227 -0
  305. data/lib/integration_api/models/card_balance_response_vo.rb +231 -0
  306. data/lib/integration_api/models/card_base_request_co.rb +200 -0
  307. data/lib/integration_api/models/card_business_request_co.rb +182 -0
  308. data/lib/integration_api/models/card_client_request_co.rb +193 -0
  309. data/lib/integration_api/models/card_load_request_co.rb +191 -0
  310. data/lib/integration_api/models/card_load_unload_response_vo.rb +236 -0
  311. data/lib/integration_api/models/card_pin_request_co.rb +209 -0
  312. data/lib/integration_api/models/card_replace_response_vo.rb +236 -0
  313. data/lib/integration_api/models/card_reserve_account_response_vo.rb +236 -0
  314. data/lib/integration_api/models/card_spending_control_request_co.rb +182 -0
  315. data/lib/integration_api/models/card_spending_control_response_vo.rb +218 -0
  316. data/lib/integration_api/models/card_token_request_co.rb +243 -0
  317. data/lib/integration_api/models/card_token_response_vo.rb +279 -0
  318. data/lib/integration_api/models/card_transaction_response_vo.rb +231 -0
  319. data/lib/integration_api/models/card_unload_request_co.rb +191 -0
  320. data/lib/integration_api/models/card_update_pin_request_co.rb +209 -0
  321. data/lib/integration_api/models/cash.rb +214 -0
  322. data/lib/integration_api/models/client_address.rb +286 -0
  323. data/lib/integration_api/models/client_vendor_request_data_vo.rb +341 -0
  324. data/lib/integration_api/models/create_baas_business_co.rb +193 -0
  325. data/lib/integration_api/models/create_baas_client_co.rb +193 -0
  326. data/lib/integration_api/models/create_business_response_vo.rb +218 -0
  327. data/lib/integration_api/models/create_card_client_response_vo.rb +218 -0
  328. data/lib/integration_api/models/create_user_request.rb +227 -0
  329. data/lib/integration_api/models/customer.rb +318 -0
  330. data/lib/integration_api/models/customer_address.rb +269 -0
  331. data/lib/integration_api/models/customer_revenue.rb +285 -0
  332. data/lib/integration_api/models/dividend.rb +200 -0
  333. data/lib/integration_api/models/dividend_tax.rb +191 -0
  334. data/lib/integration_api/models/email.rb +360 -0
  335. data/lib/integration_api/models/email_click.rb +221 -0
  336. data/lib/integration_api/models/email_open.rb +206 -0
  337. data/lib/integration_api/models/exchange_public_token_vo.rb +218 -0
  338. data/lib/integration_api/models/exchange_token_co.rb +227 -0
  339. data/lib/integration_api/models/financial_statement.rb +353 -0
  340. data/lib/integration_api/models/get_card_image_response_vo.rb +218 -0
  341. data/lib/integration_api/models/get_card_pci_details_response_vo.rb +236 -0
  342. data/lib/integration_api/models/get_card_statement_response_vo.rb +247 -0
  343. data/lib/integration_api/models/get_card_token_response_vo.rb +279 -0
  344. data/lib/integration_api/models/get_transactions_response.rb +184 -0
  345. data/lib/integration_api/models/google_payload.rb +182 -0
  346. data/lib/integration_api/models/iav_aggregation_response_vo.rb +191 -0
  347. data/lib/integration_api/models/iav_bank_link_response_vo.rb +193 -0
  348. data/lib/integration_api/models/iav_request_co.rb +236 -0
  349. data/lib/integration_api/models/iav_response_vo.rb +200 -0
  350. data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +173 -0
  351. data/lib/integration_api/models/iav_vendor_request_co.rb +200 -0
  352. data/lib/integration_api/models/identification.rb +236 -0
  353. data/lib/integration_api/models/instrument.rb +200 -0
  354. data/lib/integration_api/models/investment.rb +284 -0
  355. data/lib/integration_api/models/invoice.rb +453 -0
  356. data/lib/integration_api/models/invoice_payment.rb +270 -0
  357. data/lib/integration_api/models/json_node.rb +396 -0
  358. data/lib/integration_api/models/kms_config.rb +308 -0
  359. data/lib/integration_api/models/kyc_request_co.rb +256 -0
  360. data/lib/integration_api/models/kyc_response_vo.rb +272 -0
  361. data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +386 -0
  362. data/lib/integration_api/models/line_items.rb +279 -0
  363. data/lib/integration_api/models/location.rb +254 -0
  364. data/lib/integration_api/models/mapstringobject.rb +173 -0
  365. data/lib/integration_api/models/md_history_item_vo.rb +236 -0
  366. data/lib/integration_api/models/md_history_request_co.rb +222 -0
  367. data/lib/integration_api/models/md_history_response_vo.rb +184 -0
  368. data/lib/integration_api/models/md_quote_item_vo.rb +335 -0
  369. data/lib/integration_api/models/md_quote_request_co.rb +247 -0
  370. data/lib/integration_api/models/md_quote_response_vo.rb +184 -0
  371. data/lib/integration_api/models/merger_acquisition.rb +200 -0
  372. data/lib/integration_api/models/nucleus_transfer_fields_co.rb +191 -0
  373. data/lib/integration_api/models/ownership.rb +191 -0
  374. data/lib/integration_api/models/page_ach_transfer_response_vo.rb +259 -0
  375. data/lib/integration_api/models/page_kms_config.rb +259 -0
  376. data/lib/integration_api/models/page_webhook.rb +259 -0
  377. data/lib/integration_api/models/pageobject.rb +259 -0
  378. data/lib/integration_api/models/politically_exposed_person_dto.rb +209 -0
  379. data/lib/integration_api/models/portfolio_asset_size_log.rb +330 -0
  380. data/lib/integration_api/models/property_value_response_vo.rb +218 -0
  381. data/lib/integration_api/models/response_entity.rb +234 -0
  382. data/lib/integration_api/models/rtp_bank_link_request_co.rb +191 -0
  383. data/lib/integration_api/models/rtp_bank_link_response_vo.rb +236 -0
  384. data/lib/integration_api/models/rtp_transfer_request_co.rb +191 -0
  385. data/lib/integration_api/models/rtp_transfer_response_vo.rb +227 -0
  386. data/lib/integration_api/models/samsung_payload.rb +182 -0
  387. data/lib/integration_api/models/sms.rb +338 -0
  388. data/lib/integration_api/models/sms_response_vo.rb +227 -0
  389. data/lib/integration_api/models/smsvo.rb +218 -0
  390. data/lib/integration_api/models/smtp_response_vo.rb +227 -0
  391. data/lib/integration_api/models/smtp_vo.rb +263 -0
  392. data/lib/integration_api/models/sort.rb +234 -0
  393. data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +256 -0
  394. data/lib/integration_api/models/stat.rb +204 -0
  395. data/lib/integration_api/models/transaction.rb +371 -0
  396. data/lib/integration_api/models/update_baas_business_co.rb +184 -0
  397. data/lib/integration_api/models/update_baas_client_co.rb +184 -0
  398. data/lib/integration_api/models/update_business_response_vo.rb +218 -0
  399. data/lib/integration_api/models/update_card_client_response_vo.rb +218 -0
  400. data/lib/integration_api/models/user_response_interface.rb +173 -0
  401. data/lib/integration_api/models/user_response_vo.rb +227 -0
  402. data/lib/integration_api/models/vendor_access_config_vo.rb +203 -0
  403. data/lib/integration_api/models/webhook.rb +280 -0
  404. data/lib/integration_api/models/widget_url_vo.rb +191 -0
  405. data/lib/integration_api/models/wire_bank_link_request_co.rb +191 -0
  406. data/lib/integration_api/models/wire_bank_link_response_vo.rb +236 -0
  407. data/lib/integration_api/models/wire_transfer_request_co.rb +191 -0
  408. data/lib/integration_api/models/wire_transfer_response_vo.rb +227 -0
  409. data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +218 -0
  410. data/lib/integration_api/version.rb +15 -0
  411. data/spec/api/accounting_api_spec.rb +169 -0
  412. data/spec/api/ach_api_spec.rb +207 -0
  413. data/spec/api/aggregation_api_spec.rb +181 -0
  414. data/spec/api/async_api_spec.rb +89 -0
  415. data/spec/api/baas_api_spec.rb +143 -0
  416. data/spec/api/brokerage_api_spec.rb +263 -0
  417. data/spec/api/card_api_spec.rb +363 -0
  418. data/spec/api/iav_api_spec.rb +59 -0
  419. data/spec/api/kms_api_spec.rb +100 -0
  420. data/spec/api/kyc_api_spec.rb +63 -0
  421. data/spec/api/market_data_api_spec.rb +57 -0
  422. data/spec/api/rtp_api_spec.rb +134 -0
  423. data/spec/api/sms_api_spec.rb +59 -0
  424. data/spec/api/smtp_api_spec.rb +59 -0
  425. data/spec/api/utils_api_spec.rb +96 -0
  426. data/spec/api/webhook_api_spec.rb +100 -0
  427. data/spec/api/wire_api_spec.rb +134 -0
  428. data/spec/api_client_spec.rb +243 -0
  429. data/spec/configuration_spec.rb +42 -0
  430. data/spec/models/accounting_customer_response_vo_spec.rb +47 -0
  431. data/spec/models/accounting_customer_revenue_response_vo_spec.rb +47 -0
  432. data/spec/models/accounting_final_response_vo_spec.rb +83 -0
  433. data/spec/models/accounting_invoice_payment_response_vo_spec.rb +47 -0
  434. data/spec/models/accounting_invoice_response_vo_spec.rb +47 -0
  435. data/spec/models/accounting_stats_response_vo_spec.rb +47 -0
  436. data/spec/models/ach_balance_response_vo_spec.rb +71 -0
  437. data/spec/models/ach_bank_link_request_co_spec.rb +53 -0
  438. data/spec/models/ach_bank_link_response_vo_spec.rb +77 -0
  439. data/spec/models/ach_business_request_co_spec.rb +53 -0
  440. data/spec/models/ach_business_response_vo_spec.rb +65 -0
  441. data/spec/models/ach_card_link_request_co_spec.rb +47 -0
  442. data/spec/models/ach_card_link_response_vo_spec.rb +65 -0
  443. data/spec/models/ach_client_request_co_spec.rb +53 -0
  444. data/spec/models/ach_client_response_vo_spec.rb +65 -0
  445. data/spec/models/ach_transfer_request_co_spec.rb +53 -0
  446. data/spec/models/ach_transfer_response_vo_spec.rb +77 -0
  447. data/spec/models/acquiree_spec.rb +53 -0
  448. data/spec/models/acquirer_spec.rb +53 -0
  449. data/spec/models/address_spec.rb +87 -0
  450. data/spec/models/aggregation_account_balance_response_vo_spec.rb +59 -0
  451. data/spec/models/aggregation_account_balance_spec.rb +101 -0
  452. data/spec/models/aggregation_account_holding_response_internal_object_vo_spec.rb +47 -0
  453. data/spec/models/aggregation_account_holding_response_vo_spec.rb +59 -0
  454. data/spec/models/aggregation_account_holding_spec.rb +155 -0
  455. data/spec/models/aggregation_account_response_internal_object_vo_spec.rb +47 -0
  456. data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
  457. data/spec/models/aggregation_account_spec.rb +167 -0
  458. data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +47 -0
  459. data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
  460. data/spec/models/aggregation_account_transaction_spec.rb +137 -0
  461. data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
  462. data/spec/models/aggregation_request_object_spec.rb +65 -0
  463. data/spec/models/aggregation_vendor_request_co_spec.rb +53 -0
  464. data/spec/models/apple_payload_spec.rb +53 -0
  465. data/spec/models/async_transaction_spec.rb +65 -0
  466. data/spec/models/async_transaction_vo_spec.rb +53 -0
  467. data/spec/models/baas_account_co_spec.rb +47 -0
  468. data/spec/models/baas_account_vo_spec.rb +89 -0
  469. data/spec/models/baas_balance_vo_spec.rb +65 -0
  470. data/spec/models/baas_business_vo_spec.rb +77 -0
  471. data/spec/models/baas_client_vo_spec.rb +77 -0
  472. data/spec/models/baas_statement_vo_spec.rb +71 -0
  473. data/spec/models/baas_statements_vo_spec.rb +53 -0
  474. data/spec/models/baas_sub_account_co_spec.rb +41 -0
  475. data/spec/models/baas_sub_account_vo_spec.rb +83 -0
  476. data/spec/models/baas_transactions_vo_spec.rb +65 -0
  477. data/spec/models/bank_credit_spec.rb +83 -0
  478. data/spec/models/bank_link_response_internal_object_vo_spec.rb +47 -0
  479. data/spec/models/bank_link_spec.rb +167 -0
  480. data/spec/models/bank_link_vendor_data_vo_spec.rb +47 -0
  481. data/spec/models/base_response_vo_spec.rb +53 -0
  482. data/spec/models/brokerage_account_co_spec.rb +47 -0
  483. data/spec/models/brokerage_account_vo_spec.rb +65 -0
  484. data/spec/models/brokerage_balance_vo_spec.rb +71 -0
  485. data/spec/models/brokerage_bank_link_co_spec.rb +41 -0
  486. data/spec/models/brokerage_bank_link_vo_spec.rb +71 -0
  487. data/spec/models/brokerage_client_co_spec.rb +47 -0
  488. data/spec/models/brokerage_create_client_vo_spec.rb +65 -0
  489. data/spec/models/brokerage_deposit_co_spec.rb +41 -0
  490. data/spec/models/brokerage_deposit_vo_spec.rb +65 -0
  491. data/spec/models/brokerage_document_co_spec.rb +47 -0
  492. data/spec/models/brokerage_document_vo_spec.rb +71 -0
  493. data/spec/models/brokerage_holding_vo_spec.rb +71 -0
  494. data/spec/models/brokerage_order_co_spec.rb +41 -0
  495. data/spec/models/brokerage_order_vo_spec.rb +71 -0
  496. data/spec/models/brokerage_performance_vo_spec.rb +71 -0
  497. data/spec/models/brokerage_securities_vo_spec.rb +59 -0
  498. data/spec/models/brokerage_statement_vo_spec.rb +53 -0
  499. data/spec/models/brokerage_transaction_vo_spec.rb +71 -0
  500. data/spec/models/brokerage_update_client_vo_spec.rb +71 -0
  501. data/spec/models/brokerage_withdrawal_co_spec.rb +41 -0
  502. data/spec/models/brokerage_withdrawal_vo_spec.rb +65 -0
  503. data/spec/models/business_address_spec.rb +77 -0
  504. data/spec/models/business_vendor_request_data_vo_spec.rb +125 -0
  505. data/spec/models/card_auto_reload_request_co_spec.rb +59 -0
  506. data/spec/models/card_auto_reload_response_vo_spec.rb +71 -0
  507. data/spec/models/card_balance_response_vo_spec.rb +71 -0
  508. data/spec/models/card_base_request_co_spec.rb +53 -0
  509. data/spec/models/card_business_request_co_spec.rb +41 -0
  510. data/spec/models/card_client_request_co_spec.rb +47 -0
  511. data/spec/models/card_load_request_co_spec.rb +47 -0
  512. data/spec/models/card_load_unload_response_vo_spec.rb +77 -0
  513. data/spec/models/card_pin_request_co_spec.rb +59 -0
  514. data/spec/models/card_replace_response_vo_spec.rb +77 -0
  515. data/spec/models/card_reserve_account_response_vo_spec.rb +77 -0
  516. data/spec/models/card_spending_control_request_co_spec.rb +41 -0
  517. data/spec/models/card_spending_control_response_vo_spec.rb +65 -0
  518. data/spec/models/card_token_request_co_spec.rb +63 -0
  519. data/spec/models/card_token_response_vo_spec.rb +87 -0
  520. data/spec/models/card_transaction_response_vo_spec.rb +71 -0
  521. data/spec/models/card_unload_request_co_spec.rb +47 -0
  522. data/spec/models/card_update_pin_request_co_spec.rb +59 -0
  523. data/spec/models/cash_spec.rb +53 -0
  524. data/spec/models/client_address_spec.rb +87 -0
  525. data/spec/models/client_vendor_request_data_vo_spec.rb +143 -0
  526. data/spec/models/create_baas_business_co_spec.rb +47 -0
  527. data/spec/models/create_baas_client_co_spec.rb +47 -0
  528. data/spec/models/create_business_response_vo_spec.rb +65 -0
  529. data/spec/models/create_card_client_response_vo_spec.rb +65 -0
  530. data/spec/models/create_user_request_spec.rb +71 -0
  531. data/spec/models/customer_address_spec.rb +77 -0
  532. data/spec/models/customer_revenue_spec.rb +89 -0
  533. data/spec/models/customer_spec.rb +119 -0
  534. data/spec/models/dividend_spec.rb +53 -0
  535. data/spec/models/dividend_tax_spec.rb +47 -0
  536. data/spec/models/email_click_spec.rb +59 -0
  537. data/spec/models/email_open_spec.rb +53 -0
  538. data/spec/models/email_spec.rb +149 -0
  539. data/spec/models/exchange_public_token_vo_spec.rb +65 -0
  540. data/spec/models/exchange_token_co_spec.rb +71 -0
  541. data/spec/models/financial_statement_spec.rb +131 -0
  542. data/spec/models/get_card_image_response_vo_spec.rb +65 -0
  543. data/spec/models/get_card_pci_details_response_vo_spec.rb +77 -0
  544. data/spec/models/get_card_statement_response_vo_spec.rb +83 -0
  545. data/spec/models/get_card_token_response_vo_spec.rb +87 -0
  546. data/spec/models/get_transactions_response_spec.rb +41 -0
  547. data/spec/models/google_payload_spec.rb +41 -0
  548. data/spec/models/iav_aggregation_response_vo_spec.rb +47 -0
  549. data/spec/models/iav_bank_link_response_vo_spec.rb +47 -0
  550. data/spec/models/iav_request_co_spec.rb +77 -0
  551. data/spec/models/iav_response_vo_spec.rb +53 -0
  552. data/spec/models/iav_token_exchange_vendor_response_vo_spec.rb +35 -0
  553. data/spec/models/iav_vendor_request_co_spec.rb +53 -0
  554. data/spec/models/identification_spec.rb +77 -0
  555. data/spec/models/instrument_spec.rb +53 -0
  556. data/spec/models/investment_spec.rb +89 -0
  557. data/spec/models/invoice_payment_spec.rb +83 -0
  558. data/spec/models/invoice_spec.rb +185 -0
  559. data/spec/models/json_node_spec.rb +165 -0
  560. data/spec/models/kms_config_spec.rb +107 -0
  561. data/spec/models/kyc_request_co_spec.rb +89 -0
  562. data/spec/models/kyc_response_vo_spec.rb +101 -0
  563. data/spec/models/kyc_vendor_request_data_vo_spec.rb +173 -0
  564. data/spec/models/line_items_spec.rb +83 -0
  565. data/spec/models/location_spec.rb +83 -0
  566. data/spec/models/mapstringobject_spec.rb +35 -0
  567. data/spec/models/md_history_item_vo_spec.rb +77 -0
  568. data/spec/models/md_history_request_co_spec.rb +65 -0
  569. data/spec/models/md_history_response_vo_spec.rb +41 -0
  570. data/spec/models/md_quote_item_vo_spec.rb +143 -0
  571. data/spec/models/md_quote_request_co_spec.rb +63 -0
  572. data/spec/models/md_quote_response_vo_spec.rb +41 -0
  573. data/spec/models/merger_acquisition_spec.rb +53 -0
  574. data/spec/models/nucleus_transfer_fields_co_spec.rb +47 -0
  575. data/spec/models/ownership_spec.rb +47 -0
  576. data/spec/models/page_ach_transfer_response_vo_spec.rb +89 -0
  577. data/spec/models/page_kms_config_spec.rb +89 -0
  578. data/spec/models/page_webhook_spec.rb +89 -0
  579. data/spec/models/pageobject_spec.rb +89 -0
  580. data/spec/models/politically_exposed_person_dto_spec.rb +59 -0
  581. data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
  582. data/spec/models/property_value_response_vo_spec.rb +65 -0
  583. data/spec/models/response_entity_spec.rb +57 -0
  584. data/spec/models/rtp_bank_link_request_co_spec.rb +47 -0
  585. data/spec/models/rtp_bank_link_response_vo_spec.rb +77 -0
  586. data/spec/models/rtp_transfer_request_co_spec.rb +47 -0
  587. data/spec/models/rtp_transfer_response_vo_spec.rb +71 -0
  588. data/spec/models/samsung_payload_spec.rb +41 -0
  589. data/spec/models/sms_response_vo_spec.rb +71 -0
  590. data/spec/models/sms_spec.rb +137 -0
  591. data/spec/models/smsvo_spec.rb +65 -0
  592. data/spec/models/smtp_response_vo_spec.rb +71 -0
  593. data/spec/models/smtp_vo_spec.rb +95 -0
  594. data/spec/models/sort_spec.rb +71 -0
  595. data/spec/models/spending_control_vendor_request_data_vo_spec.rb +89 -0
  596. data/spec/models/stat_spec.rb +47 -0
  597. data/spec/models/transaction_spec.rb +167 -0
  598. data/spec/models/update_baas_business_co_spec.rb +41 -0
  599. data/spec/models/update_baas_client_co_spec.rb +41 -0
  600. data/spec/models/update_business_response_vo_spec.rb +65 -0
  601. data/spec/models/update_card_client_response_vo_spec.rb +65 -0
  602. data/spec/models/user_response_interface_spec.rb +35 -0
  603. data/spec/models/user_response_vo_spec.rb +71 -0
  604. data/spec/models/vendor_access_config_vo_spec.rb +53 -0
  605. data/spec/models/webhook_spec.rb +87 -0
  606. data/spec/models/widget_url_vo_spec.rb +47 -0
  607. data/spec/models/wire_bank_link_request_co_spec.rb +47 -0
  608. data/spec/models/wire_bank_link_response_vo_spec.rb +77 -0
  609. data/spec/models/wire_transfer_request_co_spec.rb +47 -0
  610. data/spec/models/wire_transfer_response_vo_spec.rb +71 -0
  611. data/spec/models/zillow_property_vendor_response_vo_spec.rb +65 -0
  612. data/spec/spec_helper.rb +111 -0
  613. metadata +1056 -0
@@ -0,0 +1,1548 @@
1
+ =begin
2
+ #Hydrogen Integration API
3
+
4
+ #The Hydrogen Integration API
5
+
6
+ OpenAPI spec version: 1.2.1
7
+ Contact: info@hydrogenplatform.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.18
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module IntegrationApi
16
+ class CardApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Card auto reload
23
+ # @param request request
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [CardAutoReloadResponseVO]
26
+ def create_auto_reload_using_post(request, opts = {})
27
+ data, _status_code, _headers = create_auto_reload_using_post_with_http_info(request, opts)
28
+ data
29
+ end
30
+
31
+ # Card auto reload
32
+ # @param request request
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(CardAutoReloadResponseVO, Fixnum, Hash)>] CardAutoReloadResponseVO data, response status code and response headers
35
+ def create_auto_reload_using_post_with_http_info(request, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: CardApi.create_auto_reload_using_post ...'
38
+ end
39
+ # verify the required parameter 'request' is set
40
+ if @api_client.config.client_side_validation && request.nil?
41
+ fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_auto_reload_using_post"
42
+ end
43
+ # resource path
44
+ local_var_path = '/card/auto_reload'
45
+
46
+ # query parameters
47
+ query_params = {}
48
+
49
+ # header parameters
50
+ header_params = {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = {}
58
+
59
+ # http body (model)
60
+ post_body = @api_client.object_to_http_body(request)
61
+ auth_names = ['oauth2']
62
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
63
+ :header_params => header_params,
64
+ :query_params => query_params,
65
+ :form_params => form_params,
66
+ :body => post_body,
67
+ :auth_names => auth_names,
68
+ :return_type => 'CardAutoReloadResponseVO')
69
+ if @api_client.config.debugging
70
+ @api_client.config.logger.debug "API called: CardApi#create_auto_reload_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ end
72
+ return data, status_code, headers
73
+ end
74
+ # Activate card
75
+ # @param activate_request activateRequest
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [BaseResponseVO]
78
+ def create_card_activate_using_post(activate_request, opts = {})
79
+ data, _status_code, _headers = create_card_activate_using_post_with_http_info(activate_request, opts)
80
+ data
81
+ end
82
+
83
+ # Activate card
84
+ # @param activate_request activateRequest
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
87
+ def create_card_activate_using_post_with_http_info(activate_request, opts = {})
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_activate_using_post ...'
90
+ end
91
+ # verify the required parameter 'activate_request' is set
92
+ if @api_client.config.client_side_validation && activate_request.nil?
93
+ fail ArgumentError, "Missing the required parameter 'activate_request' when calling CardApi.create_card_activate_using_post"
94
+ end
95
+ # resource path
96
+ local_var_path = '/card/activate'
97
+
98
+ # query parameters
99
+ query_params = {}
100
+
101
+ # header parameters
102
+ header_params = {}
103
+ # HTTP header 'Accept' (if needed)
104
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
105
+ # HTTP header 'Content-Type'
106
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
107
+
108
+ # form parameters
109
+ form_params = {}
110
+
111
+ # http body (model)
112
+ post_body = @api_client.object_to_http_body(activate_request)
113
+ auth_names = ['oauth2']
114
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
115
+ :header_params => header_params,
116
+ :query_params => query_params,
117
+ :form_params => form_params,
118
+ :body => post_body,
119
+ :auth_names => auth_names,
120
+ :return_type => 'BaseResponseVO')
121
+ if @api_client.config.debugging
122
+ @api_client.config.logger.debug "API called: CardApi#create_card_activate_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
+ end
124
+ return data, status_code, headers
125
+ end
126
+ # Create a card business
127
+ # @param card_business_request_co cardBusinessRequestCO
128
+ # @param [Hash] opts the optional parameters
129
+ # @return [CreateBusinessResponseVO]
130
+ def create_card_business_using_post(card_business_request_co, opts = {})
131
+ data, _status_code, _headers = create_card_business_using_post_with_http_info(card_business_request_co, opts)
132
+ data
133
+ end
134
+
135
+ # Create a card business
136
+ # @param card_business_request_co cardBusinessRequestCO
137
+ # @param [Hash] opts the optional parameters
138
+ # @return [Array<(CreateBusinessResponseVO, Fixnum, Hash)>] CreateBusinessResponseVO data, response status code and response headers
139
+ def create_card_business_using_post_with_http_info(card_business_request_co, opts = {})
140
+ if @api_client.config.debugging
141
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_business_using_post ...'
142
+ end
143
+ # verify the required parameter 'card_business_request_co' is set
144
+ if @api_client.config.client_side_validation && card_business_request_co.nil?
145
+ fail ArgumentError, "Missing the required parameter 'card_business_request_co' when calling CardApi.create_card_business_using_post"
146
+ end
147
+ # resource path
148
+ local_var_path = '/card/business'
149
+
150
+ # query parameters
151
+ query_params = {}
152
+
153
+ # header parameters
154
+ header_params = {}
155
+ # HTTP header 'Accept' (if needed)
156
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
157
+ # HTTP header 'Content-Type'
158
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
159
+
160
+ # form parameters
161
+ form_params = {}
162
+
163
+ # http body (model)
164
+ post_body = @api_client.object_to_http_body(card_business_request_co)
165
+ auth_names = ['oauth2']
166
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
167
+ :header_params => header_params,
168
+ :query_params => query_params,
169
+ :form_params => form_params,
170
+ :body => post_body,
171
+ :auth_names => auth_names,
172
+ :return_type => 'CreateBusinessResponseVO')
173
+ if @api_client.config.debugging
174
+ @api_client.config.logger.debug "API called: CardApi#create_card_business_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
175
+ end
176
+ return data, status_code, headers
177
+ end
178
+ # close a card
179
+ # @param close_request closeRequest
180
+ # @param [Hash] opts the optional parameters
181
+ # @return [BaseResponseVO]
182
+ def create_card_close_using_post(close_request, opts = {})
183
+ data, _status_code, _headers = create_card_close_using_post_with_http_info(close_request, opts)
184
+ data
185
+ end
186
+
187
+ # close a card
188
+ # @param close_request closeRequest
189
+ # @param [Hash] opts the optional parameters
190
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
191
+ def create_card_close_using_post_with_http_info(close_request, opts = {})
192
+ if @api_client.config.debugging
193
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_close_using_post ...'
194
+ end
195
+ # verify the required parameter 'close_request' is set
196
+ if @api_client.config.client_side_validation && close_request.nil?
197
+ fail ArgumentError, "Missing the required parameter 'close_request' when calling CardApi.create_card_close_using_post"
198
+ end
199
+ # resource path
200
+ local_var_path = '/card/close'
201
+
202
+ # query parameters
203
+ query_params = {}
204
+
205
+ # header parameters
206
+ header_params = {}
207
+ # HTTP header 'Accept' (if needed)
208
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
209
+ # HTTP header 'Content-Type'
210
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
211
+
212
+ # form parameters
213
+ form_params = {}
214
+
215
+ # http body (model)
216
+ post_body = @api_client.object_to_http_body(close_request)
217
+ auth_names = ['oauth2']
218
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
219
+ :header_params => header_params,
220
+ :query_params => query_params,
221
+ :form_params => form_params,
222
+ :body => post_body,
223
+ :auth_names => auth_names,
224
+ :return_type => 'BaseResponseVO')
225
+ if @api_client.config.debugging
226
+ @api_client.config.logger.debug "API called: CardApi#create_card_close_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
227
+ end
228
+ return data, status_code, headers
229
+ end
230
+ # issue a card
231
+ # @param issue_request issueRequest
232
+ # @param [Hash] opts the optional parameters
233
+ # @return [BaseResponseVO]
234
+ def create_card_issue_using_post(issue_request, opts = {})
235
+ data, _status_code, _headers = create_card_issue_using_post_with_http_info(issue_request, opts)
236
+ data
237
+ end
238
+
239
+ # issue a card
240
+ # @param issue_request issueRequest
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
243
+ def create_card_issue_using_post_with_http_info(issue_request, opts = {})
244
+ if @api_client.config.debugging
245
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_issue_using_post ...'
246
+ end
247
+ # verify the required parameter 'issue_request' is set
248
+ if @api_client.config.client_side_validation && issue_request.nil?
249
+ fail ArgumentError, "Missing the required parameter 'issue_request' when calling CardApi.create_card_issue_using_post"
250
+ end
251
+ # resource path
252
+ local_var_path = '/card/issue'
253
+
254
+ # query parameters
255
+ query_params = {}
256
+
257
+ # header parameters
258
+ header_params = {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
261
+ # HTTP header 'Content-Type'
262
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
263
+
264
+ # form parameters
265
+ form_params = {}
266
+
267
+ # http body (model)
268
+ post_body = @api_client.object_to_http_body(issue_request)
269
+ auth_names = ['oauth2']
270
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
271
+ :header_params => header_params,
272
+ :query_params => query_params,
273
+ :form_params => form_params,
274
+ :body => post_body,
275
+ :auth_names => auth_names,
276
+ :return_type => 'BaseResponseVO')
277
+ if @api_client.config.debugging
278
+ @api_client.config.logger.debug "API called: CardApi#create_card_issue_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
279
+ end
280
+ return data, status_code, headers
281
+ end
282
+ # Create a card load
283
+ # @param load_request loadRequest
284
+ # @param [Hash] opts the optional parameters
285
+ # @return [CardLoadUnloadResponseVO]
286
+ def create_card_load_using_post(load_request, opts = {})
287
+ data, _status_code, _headers = create_card_load_using_post_with_http_info(load_request, opts)
288
+ data
289
+ end
290
+
291
+ # Create a card load
292
+ # @param load_request loadRequest
293
+ # @param [Hash] opts the optional parameters
294
+ # @return [Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>] CardLoadUnloadResponseVO data, response status code and response headers
295
+ def create_card_load_using_post_with_http_info(load_request, opts = {})
296
+ if @api_client.config.debugging
297
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_load_using_post ...'
298
+ end
299
+ # verify the required parameter 'load_request' is set
300
+ if @api_client.config.client_side_validation && load_request.nil?
301
+ fail ArgumentError, "Missing the required parameter 'load_request' when calling CardApi.create_card_load_using_post"
302
+ end
303
+ # resource path
304
+ local_var_path = '/card/load'
305
+
306
+ # query parameters
307
+ query_params = {}
308
+
309
+ # header parameters
310
+ header_params = {}
311
+ # HTTP header 'Accept' (if needed)
312
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
313
+ # HTTP header 'Content-Type'
314
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
315
+
316
+ # form parameters
317
+ form_params = {}
318
+
319
+ # http body (model)
320
+ post_body = @api_client.object_to_http_body(load_request)
321
+ auth_names = ['oauth2']
322
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
323
+ :header_params => header_params,
324
+ :query_params => query_params,
325
+ :form_params => form_params,
326
+ :body => post_body,
327
+ :auth_names => auth_names,
328
+ :return_type => 'CardLoadUnloadResponseVO')
329
+ if @api_client.config.debugging
330
+ @api_client.config.logger.debug "API called: CardApi#create_card_load_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
331
+ end
332
+ return data, status_code, headers
333
+ end
334
+ # pin card
335
+ # @param card_pin_request_co cardPinRequestCO
336
+ # @param [Hash] opts the optional parameters
337
+ # @return [BaseResponseVO]
338
+ def create_card_pin_using_post(card_pin_request_co, opts = {})
339
+ data, _status_code, _headers = create_card_pin_using_post_with_http_info(card_pin_request_co, opts)
340
+ data
341
+ end
342
+
343
+ # pin card
344
+ # @param card_pin_request_co cardPinRequestCO
345
+ # @param [Hash] opts the optional parameters
346
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
347
+ def create_card_pin_using_post_with_http_info(card_pin_request_co, opts = {})
348
+ if @api_client.config.debugging
349
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_pin_using_post ...'
350
+ end
351
+ # verify the required parameter 'card_pin_request_co' is set
352
+ if @api_client.config.client_side_validation && card_pin_request_co.nil?
353
+ fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.create_card_pin_using_post"
354
+ end
355
+ # resource path
356
+ local_var_path = '/card/pin'
357
+
358
+ # query parameters
359
+ query_params = {}
360
+
361
+ # header parameters
362
+ header_params = {}
363
+ # HTTP header 'Accept' (if needed)
364
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
365
+ # HTTP header 'Content-Type'
366
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
367
+
368
+ # form parameters
369
+ form_params = {}
370
+
371
+ # http body (model)
372
+ post_body = @api_client.object_to_http_body(card_pin_request_co)
373
+ auth_names = ['oauth2']
374
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
375
+ :header_params => header_params,
376
+ :query_params => query_params,
377
+ :form_params => form_params,
378
+ :body => post_body,
379
+ :auth_names => auth_names,
380
+ :return_type => 'BaseResponseVO')
381
+ if @api_client.config.debugging
382
+ @api_client.config.logger.debug "API called: CardApi#create_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
383
+ end
384
+ return data, status_code, headers
385
+ end
386
+ # reactivate card
387
+ # @param reactivate_request reactivateRequest
388
+ # @param [Hash] opts the optional parameters
389
+ # @return [BaseResponseVO]
390
+ def create_card_reactivate_using_post(reactivate_request, opts = {})
391
+ data, _status_code, _headers = create_card_reactivate_using_post_with_http_info(reactivate_request, opts)
392
+ data
393
+ end
394
+
395
+ # reactivate card
396
+ # @param reactivate_request reactivateRequest
397
+ # @param [Hash] opts the optional parameters
398
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
399
+ def create_card_reactivate_using_post_with_http_info(reactivate_request, opts = {})
400
+ if @api_client.config.debugging
401
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_reactivate_using_post ...'
402
+ end
403
+ # verify the required parameter 'reactivate_request' is set
404
+ if @api_client.config.client_side_validation && reactivate_request.nil?
405
+ fail ArgumentError, "Missing the required parameter 'reactivate_request' when calling CardApi.create_card_reactivate_using_post"
406
+ end
407
+ # resource path
408
+ local_var_path = '/card/reactivate'
409
+
410
+ # query parameters
411
+ query_params = {}
412
+
413
+ # header parameters
414
+ header_params = {}
415
+ # HTTP header 'Accept' (if needed)
416
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
417
+ # HTTP header 'Content-Type'
418
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
419
+
420
+ # form parameters
421
+ form_params = {}
422
+
423
+ # http body (model)
424
+ post_body = @api_client.object_to_http_body(reactivate_request)
425
+ auth_names = ['oauth2']
426
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
427
+ :header_params => header_params,
428
+ :query_params => query_params,
429
+ :form_params => form_params,
430
+ :body => post_body,
431
+ :auth_names => auth_names,
432
+ :return_type => 'BaseResponseVO')
433
+ if @api_client.config.debugging
434
+ @api_client.config.logger.debug "API called: CardApi#create_card_reactivate_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
+ end
436
+ return data, status_code, headers
437
+ end
438
+ # Reissue a card
439
+ # @param request request
440
+ # @param [Hash] opts the optional parameters
441
+ # @return [BaseResponseVO]
442
+ def create_card_reissue_using_post(request, opts = {})
443
+ data, _status_code, _headers = create_card_reissue_using_post_with_http_info(request, opts)
444
+ data
445
+ end
446
+
447
+ # Reissue a card
448
+ # @param request request
449
+ # @param [Hash] opts the optional parameters
450
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
451
+ def create_card_reissue_using_post_with_http_info(request, opts = {})
452
+ if @api_client.config.debugging
453
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_reissue_using_post ...'
454
+ end
455
+ # verify the required parameter 'request' is set
456
+ if @api_client.config.client_side_validation && request.nil?
457
+ fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_reissue_using_post"
458
+ end
459
+ # resource path
460
+ local_var_path = '/card/reissue'
461
+
462
+ # query parameters
463
+ query_params = {}
464
+
465
+ # header parameters
466
+ header_params = {}
467
+ # HTTP header 'Accept' (if needed)
468
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
469
+ # HTTP header 'Content-Type'
470
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
471
+
472
+ # form parameters
473
+ form_params = {}
474
+
475
+ # http body (model)
476
+ post_body = @api_client.object_to_http_body(request)
477
+ auth_names = ['oauth2']
478
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
479
+ :header_params => header_params,
480
+ :query_params => query_params,
481
+ :form_params => form_params,
482
+ :body => post_body,
483
+ :auth_names => auth_names,
484
+ :return_type => 'BaseResponseVO')
485
+ if @api_client.config.debugging
486
+ @api_client.config.logger.debug "API called: CardApi#create_card_reissue_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
487
+ end
488
+ return data, status_code, headers
489
+ end
490
+ # Create card replace
491
+ # @param request request
492
+ # @param [Hash] opts the optional parameters
493
+ # @return [CardReplaceResponseVO]
494
+ def create_card_replace_using_post(request, opts = {})
495
+ data, _status_code, _headers = create_card_replace_using_post_with_http_info(request, opts)
496
+ data
497
+ end
498
+
499
+ # Create card replace
500
+ # @param request request
501
+ # @param [Hash] opts the optional parameters
502
+ # @return [Array<(CardReplaceResponseVO, Fixnum, Hash)>] CardReplaceResponseVO data, response status code and response headers
503
+ def create_card_replace_using_post_with_http_info(request, opts = {})
504
+ if @api_client.config.debugging
505
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_replace_using_post ...'
506
+ end
507
+ # verify the required parameter 'request' is set
508
+ if @api_client.config.client_side_validation && request.nil?
509
+ fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_replace_using_post"
510
+ end
511
+ # resource path
512
+ local_var_path = '/card/replace'
513
+
514
+ # query parameters
515
+ query_params = {}
516
+
517
+ # header parameters
518
+ header_params = {}
519
+ # HTTP header 'Accept' (if needed)
520
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
521
+ # HTTP header 'Content-Type'
522
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
523
+
524
+ # form parameters
525
+ form_params = {}
526
+
527
+ # http body (model)
528
+ post_body = @api_client.object_to_http_body(request)
529
+ auth_names = ['oauth2']
530
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
531
+ :header_params => header_params,
532
+ :query_params => query_params,
533
+ :form_params => form_params,
534
+ :body => post_body,
535
+ :auth_names => auth_names,
536
+ :return_type => 'CardReplaceResponseVO')
537
+ if @api_client.config.debugging
538
+ @api_client.config.logger.debug "API called: CardApi#create_card_replace_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
539
+ end
540
+ return data, status_code, headers
541
+ end
542
+ # Create card spending control
543
+ # @param request request
544
+ # @param [Hash] opts the optional parameters
545
+ # @return [CardSpendingControlResponseVO]
546
+ def create_card_spending_control_using_post(request, opts = {})
547
+ data, _status_code, _headers = create_card_spending_control_using_post_with_http_info(request, opts)
548
+ data
549
+ end
550
+
551
+ # Create card spending control
552
+ # @param request request
553
+ # @param [Hash] opts the optional parameters
554
+ # @return [Array<(CardSpendingControlResponseVO, Fixnum, Hash)>] CardSpendingControlResponseVO data, response status code and response headers
555
+ def create_card_spending_control_using_post_with_http_info(request, opts = {})
556
+ if @api_client.config.debugging
557
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_spending_control_using_post ...'
558
+ end
559
+ # verify the required parameter 'request' is set
560
+ if @api_client.config.client_side_validation && request.nil?
561
+ fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_spending_control_using_post"
562
+ end
563
+ # resource path
564
+ local_var_path = '/card/spending_control'
565
+
566
+ # query parameters
567
+ query_params = {}
568
+
569
+ # header parameters
570
+ header_params = {}
571
+ # HTTP header 'Accept' (if needed)
572
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
573
+ # HTTP header 'Content-Type'
574
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
575
+
576
+ # form parameters
577
+ form_params = {}
578
+
579
+ # http body (model)
580
+ post_body = @api_client.object_to_http_body(request)
581
+ auth_names = ['oauth2']
582
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
583
+ :header_params => header_params,
584
+ :query_params => query_params,
585
+ :form_params => form_params,
586
+ :body => post_body,
587
+ :auth_names => auth_names,
588
+ :return_type => 'CardSpendingControlResponseVO')
589
+ if @api_client.config.debugging
590
+ @api_client.config.logger.debug "API called: CardApi#create_card_spending_control_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
591
+ end
592
+ return data, status_code, headers
593
+ end
594
+ # suspend card
595
+ # @param suspend_request suspendRequest
596
+ # @param [Hash] opts the optional parameters
597
+ # @return [BaseResponseVO]
598
+ def create_card_suspend_using_post(suspend_request, opts = {})
599
+ data, _status_code, _headers = create_card_suspend_using_post_with_http_info(suspend_request, opts)
600
+ data
601
+ end
602
+
603
+ # suspend card
604
+ # @param suspend_request suspendRequest
605
+ # @param [Hash] opts the optional parameters
606
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
607
+ def create_card_suspend_using_post_with_http_info(suspend_request, opts = {})
608
+ if @api_client.config.debugging
609
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_suspend_using_post ...'
610
+ end
611
+ # verify the required parameter 'suspend_request' is set
612
+ if @api_client.config.client_side_validation && suspend_request.nil?
613
+ fail ArgumentError, "Missing the required parameter 'suspend_request' when calling CardApi.create_card_suspend_using_post"
614
+ end
615
+ # resource path
616
+ local_var_path = '/card/suspend'
617
+
618
+ # query parameters
619
+ query_params = {}
620
+
621
+ # header parameters
622
+ header_params = {}
623
+ # HTTP header 'Accept' (if needed)
624
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
625
+ # HTTP header 'Content-Type'
626
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
627
+
628
+ # form parameters
629
+ form_params = {}
630
+
631
+ # http body (model)
632
+ post_body = @api_client.object_to_http_body(suspend_request)
633
+ auth_names = ['oauth2']
634
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
635
+ :header_params => header_params,
636
+ :query_params => query_params,
637
+ :form_params => form_params,
638
+ :body => post_body,
639
+ :auth_names => auth_names,
640
+ :return_type => 'BaseResponseVO')
641
+ if @api_client.config.debugging
642
+ @api_client.config.logger.debug "API called: CardApi#create_card_suspend_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
643
+ end
644
+ return data, status_code, headers
645
+ end
646
+ # token card
647
+ # @param tokenize_request tokenizeRequest
648
+ # @param [Hash] opts the optional parameters
649
+ # @return [CardTokenResponseVO]
650
+ def create_card_token_using_post(tokenize_request, opts = {})
651
+ data, _status_code, _headers = create_card_token_using_post_with_http_info(tokenize_request, opts)
652
+ data
653
+ end
654
+
655
+ # token card
656
+ # @param tokenize_request tokenizeRequest
657
+ # @param [Hash] opts the optional parameters
658
+ # @return [Array<(CardTokenResponseVO, Fixnum, Hash)>] CardTokenResponseVO data, response status code and response headers
659
+ def create_card_token_using_post_with_http_info(tokenize_request, opts = {})
660
+ if @api_client.config.debugging
661
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_token_using_post ...'
662
+ end
663
+ # verify the required parameter 'tokenize_request' is set
664
+ if @api_client.config.client_side_validation && tokenize_request.nil?
665
+ fail ArgumentError, "Missing the required parameter 'tokenize_request' when calling CardApi.create_card_token_using_post"
666
+ end
667
+ # resource path
668
+ local_var_path = '/card/token'
669
+
670
+ # query parameters
671
+ query_params = {}
672
+
673
+ # header parameters
674
+ header_params = {}
675
+ # HTTP header 'Accept' (if needed)
676
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
677
+ # HTTP header 'Content-Type'
678
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
679
+
680
+ # form parameters
681
+ form_params = {}
682
+
683
+ # http body (model)
684
+ post_body = @api_client.object_to_http_body(tokenize_request)
685
+ auth_names = ['oauth2']
686
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
687
+ :header_params => header_params,
688
+ :query_params => query_params,
689
+ :form_params => form_params,
690
+ :body => post_body,
691
+ :auth_names => auth_names,
692
+ :return_type => 'CardTokenResponseVO')
693
+ if @api_client.config.debugging
694
+ @api_client.config.logger.debug "API called: CardApi#create_card_token_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
695
+ end
696
+ return data, status_code, headers
697
+ end
698
+ # Create a card upload
699
+ # @param reload_request reloadRequest
700
+ # @param [Hash] opts the optional parameters
701
+ # @return [CardLoadUnloadResponseVO]
702
+ def create_card_unload_using_post(reload_request, opts = {})
703
+ data, _status_code, _headers = create_card_unload_using_post_with_http_info(reload_request, opts)
704
+ data
705
+ end
706
+
707
+ # Create a card upload
708
+ # @param reload_request reloadRequest
709
+ # @param [Hash] opts the optional parameters
710
+ # @return [Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>] CardLoadUnloadResponseVO data, response status code and response headers
711
+ def create_card_unload_using_post_with_http_info(reload_request, opts = {})
712
+ if @api_client.config.debugging
713
+ @api_client.config.logger.debug 'Calling API: CardApi.create_card_unload_using_post ...'
714
+ end
715
+ # verify the required parameter 'reload_request' is set
716
+ if @api_client.config.client_side_validation && reload_request.nil?
717
+ fail ArgumentError, "Missing the required parameter 'reload_request' when calling CardApi.create_card_unload_using_post"
718
+ end
719
+ # resource path
720
+ local_var_path = '/card/unload'
721
+
722
+ # query parameters
723
+ query_params = {}
724
+
725
+ # header parameters
726
+ header_params = {}
727
+ # HTTP header 'Accept' (if needed)
728
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
729
+ # HTTP header 'Content-Type'
730
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
731
+
732
+ # form parameters
733
+ form_params = {}
734
+
735
+ # http body (model)
736
+ post_body = @api_client.object_to_http_body(reload_request)
737
+ auth_names = ['oauth2']
738
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
739
+ :header_params => header_params,
740
+ :query_params => query_params,
741
+ :form_params => form_params,
742
+ :body => post_body,
743
+ :auth_names => auth_names,
744
+ :return_type => 'CardLoadUnloadResponseVO')
745
+ if @api_client.config.debugging
746
+ @api_client.config.logger.debug "API called: CardApi#create_card_unload_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
747
+ end
748
+ return data, status_code, headers
749
+ end
750
+ # Create a card client
751
+ # @param card_client_request_co cardClientRequestCO
752
+ # @param [Hash] opts the optional parameters
753
+ # @return [CreateCardClientResponseVO]
754
+ def create_client_card_using_post(card_client_request_co, opts = {})
755
+ data, _status_code, _headers = create_client_card_using_post_with_http_info(card_client_request_co, opts)
756
+ data
757
+ end
758
+
759
+ # Create a card client
760
+ # @param card_client_request_co cardClientRequestCO
761
+ # @param [Hash] opts the optional parameters
762
+ # @return [Array<(CreateCardClientResponseVO, Fixnum, Hash)>] CreateCardClientResponseVO data, response status code and response headers
763
+ def create_client_card_using_post_with_http_info(card_client_request_co, opts = {})
764
+ if @api_client.config.debugging
765
+ @api_client.config.logger.debug 'Calling API: CardApi.create_client_card_using_post ...'
766
+ end
767
+ # verify the required parameter 'card_client_request_co' is set
768
+ if @api_client.config.client_side_validation && card_client_request_co.nil?
769
+ fail ArgumentError, "Missing the required parameter 'card_client_request_co' when calling CardApi.create_client_card_using_post"
770
+ end
771
+ # resource path
772
+ local_var_path = '/card/client'
773
+
774
+ # query parameters
775
+ query_params = {}
776
+
777
+ # header parameters
778
+ header_params = {}
779
+ # HTTP header 'Accept' (if needed)
780
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
781
+ # HTTP header 'Content-Type'
782
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
783
+
784
+ # form parameters
785
+ form_params = {}
786
+
787
+ # http body (model)
788
+ post_body = @api_client.object_to_http_body(card_client_request_co)
789
+ auth_names = ['oauth2']
790
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
791
+ :header_params => header_params,
792
+ :query_params => query_params,
793
+ :form_params => form_params,
794
+ :body => post_body,
795
+ :auth_names => auth_names,
796
+ :return_type => 'CreateCardClientResponseVO')
797
+ if @api_client.config.debugging
798
+ @api_client.config.logger.debug "API called: CardApi#create_client_card_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
799
+ end
800
+ return data, status_code, headers
801
+ end
802
+ # Get a Card Balance
803
+ # @param id id
804
+ # @param [Hash] opts the optional parameters
805
+ # @option opts [Date] :end_date end_date
806
+ # @option opts [Date] :start_date start_date
807
+ # @return [CardBalanceResponseVO]
808
+ def get_card_balance_using_get(id, opts = {})
809
+ data, _status_code, _headers = get_card_balance_using_get_with_http_info(id, opts)
810
+ data
811
+ end
812
+
813
+ # Get a Card Balance
814
+ # @param id id
815
+ # @param [Hash] opts the optional parameters
816
+ # @option opts [Date] :end_date end_date
817
+ # @option opts [Date] :start_date start_date
818
+ # @return [Array<(CardBalanceResponseVO, Fixnum, Hash)>] CardBalanceResponseVO data, response status code and response headers
819
+ def get_card_balance_using_get_with_http_info(id, opts = {})
820
+ if @api_client.config.debugging
821
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_balance_using_get ...'
822
+ end
823
+ # verify the required parameter 'id' is set
824
+ if @api_client.config.client_side_validation && id.nil?
825
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.get_card_balance_using_get"
826
+ end
827
+ # resource path
828
+ local_var_path = '/card/balance/{id}'.sub('{' + 'id' + '}', id.to_s)
829
+
830
+ # query parameters
831
+ query_params = {}
832
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
833
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
834
+
835
+ # header parameters
836
+ header_params = {}
837
+ # HTTP header 'Accept' (if needed)
838
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
839
+
840
+ # form parameters
841
+ form_params = {}
842
+
843
+ # http body (model)
844
+ post_body = nil
845
+ auth_names = ['oauth2']
846
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
847
+ :header_params => header_params,
848
+ :query_params => query_params,
849
+ :form_params => form_params,
850
+ :body => post_body,
851
+ :auth_names => auth_names,
852
+ :return_type => 'CardBalanceResponseVO')
853
+ if @api_client.config.debugging
854
+ @api_client.config.logger.debug "API called: CardApi#get_card_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
855
+ end
856
+ return data, status_code, headers
857
+ end
858
+ # Get card image
859
+ # @param card_id card_id
860
+ # @param [Hash] opts the optional parameters
861
+ # @return [GetCardImageResponseVO]
862
+ def get_card_image(card_id, opts = {})
863
+ data, _status_code, _headers = get_card_image_with_http_info(card_id, opts)
864
+ data
865
+ end
866
+
867
+ # Get card image
868
+ # @param card_id card_id
869
+ # @param [Hash] opts the optional parameters
870
+ # @return [Array<(GetCardImageResponseVO, Fixnum, Hash)>] GetCardImageResponseVO data, response status code and response headers
871
+ def get_card_image_with_http_info(card_id, opts = {})
872
+ if @api_client.config.debugging
873
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_image ...'
874
+ end
875
+ # verify the required parameter 'card_id' is set
876
+ if @api_client.config.client_side_validation && card_id.nil?
877
+ fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_image"
878
+ end
879
+ # resource path
880
+ local_var_path = '/card/image/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s)
881
+
882
+ # query parameters
883
+ query_params = {}
884
+
885
+ # header parameters
886
+ header_params = {}
887
+ # HTTP header 'Accept' (if needed)
888
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
889
+
890
+ # form parameters
891
+ form_params = {}
892
+
893
+ # http body (model)
894
+ post_body = nil
895
+ auth_names = ['oauth2']
896
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
897
+ :header_params => header_params,
898
+ :query_params => query_params,
899
+ :form_params => form_params,
900
+ :body => post_body,
901
+ :auth_names => auth_names,
902
+ :return_type => 'GetCardImageResponseVO')
903
+ if @api_client.config.debugging
904
+ @api_client.config.logger.debug "API called: CardApi#get_card_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
905
+ end
906
+ return data, status_code, headers
907
+ end
908
+ # Get card pci details
909
+ # @param card_id card_id
910
+ # @param [Hash] opts the optional parameters
911
+ # @return [GetCardPciDetailsResponseVO]
912
+ def get_card_pci_details(card_id, opts = {})
913
+ data, _status_code, _headers = get_card_pci_details_with_http_info(card_id, opts)
914
+ data
915
+ end
916
+
917
+ # Get card pci details
918
+ # @param card_id card_id
919
+ # @param [Hash] opts the optional parameters
920
+ # @return [Array<(GetCardPciDetailsResponseVO, Fixnum, Hash)>] GetCardPciDetailsResponseVO data, response status code and response headers
921
+ def get_card_pci_details_with_http_info(card_id, opts = {})
922
+ if @api_client.config.debugging
923
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_pci_details ...'
924
+ end
925
+ # verify the required parameter 'card_id' is set
926
+ if @api_client.config.client_side_validation && card_id.nil?
927
+ fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_pci_details"
928
+ end
929
+ # resource path
930
+ local_var_path = '/card/pci_details/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s)
931
+
932
+ # query parameters
933
+ query_params = {}
934
+
935
+ # header parameters
936
+ header_params = {}
937
+ # HTTP header 'Accept' (if needed)
938
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
939
+
940
+ # form parameters
941
+ form_params = {}
942
+
943
+ # http body (model)
944
+ post_body = nil
945
+ auth_names = ['oauth2']
946
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
947
+ :header_params => header_params,
948
+ :query_params => query_params,
949
+ :form_params => form_params,
950
+ :body => post_body,
951
+ :auth_names => auth_names,
952
+ :return_type => 'GetCardPciDetailsResponseVO')
953
+ if @api_client.config.debugging
954
+ @api_client.config.logger.debug "API called: CardApi#get_card_pci_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
955
+ end
956
+ return data, status_code, headers
957
+ end
958
+ # Card reserve account
959
+ # @param [Hash] opts the optional parameters
960
+ # @return [CardReserveAccountResponseVO]
961
+ def get_card_reserve_account_details_using_get(opts = {})
962
+ data, _status_code, _headers = get_card_reserve_account_details_using_get_with_http_info(opts)
963
+ data
964
+ end
965
+
966
+ # Card reserve account
967
+ # @param [Hash] opts the optional parameters
968
+ # @return [Array<(CardReserveAccountResponseVO, Fixnum, Hash)>] CardReserveAccountResponseVO data, response status code and response headers
969
+ def get_card_reserve_account_details_using_get_with_http_info(opts = {})
970
+ if @api_client.config.debugging
971
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_reserve_account_details_using_get ...'
972
+ end
973
+ # resource path
974
+ local_var_path = '/card/reserve'
975
+
976
+ # query parameters
977
+ query_params = {}
978
+
979
+ # header parameters
980
+ header_params = {}
981
+ # HTTP header 'Accept' (if needed)
982
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
983
+
984
+ # form parameters
985
+ form_params = {}
986
+
987
+ # http body (model)
988
+ post_body = nil
989
+ auth_names = ['oauth2']
990
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
991
+ :header_params => header_params,
992
+ :query_params => query_params,
993
+ :form_params => form_params,
994
+ :body => post_body,
995
+ :auth_names => auth_names,
996
+ :return_type => 'CardReserveAccountResponseVO')
997
+ if @api_client.config.debugging
998
+ @api_client.config.logger.debug "API called: CardApi#get_card_reserve_account_details_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
999
+ end
1000
+ return data, status_code, headers
1001
+ end
1002
+ # Get card statement
1003
+ # @param card_id card_id
1004
+ # @param [Hash] opts the optional parameters
1005
+ # @option opts [Date] :end_date end_date
1006
+ # @option opts [Date] :start_date start_date
1007
+ # @return [GetCardStatementResponseVO]
1008
+ def get_card_statement_using_get(card_id, opts = {})
1009
+ data, _status_code, _headers = get_card_statement_using_get_with_http_info(card_id, opts)
1010
+ data
1011
+ end
1012
+
1013
+ # Get card statement
1014
+ # @param card_id card_id
1015
+ # @param [Hash] opts the optional parameters
1016
+ # @option opts [Date] :end_date end_date
1017
+ # @option opts [Date] :start_date start_date
1018
+ # @return [Array<(GetCardStatementResponseVO, Fixnum, Hash)>] GetCardStatementResponseVO data, response status code and response headers
1019
+ def get_card_statement_using_get_with_http_info(card_id, opts = {})
1020
+ if @api_client.config.debugging
1021
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_statement_using_get ...'
1022
+ end
1023
+ # verify the required parameter 'card_id' is set
1024
+ if @api_client.config.client_side_validation && card_id.nil?
1025
+ fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_statement_using_get"
1026
+ end
1027
+ # resource path
1028
+ local_var_path = '/card/statement/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s)
1029
+
1030
+ # query parameters
1031
+ query_params = {}
1032
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
1033
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
1034
+
1035
+ # header parameters
1036
+ header_params = {}
1037
+ # HTTP header 'Accept' (if needed)
1038
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1039
+
1040
+ # form parameters
1041
+ form_params = {}
1042
+
1043
+ # http body (model)
1044
+ post_body = nil
1045
+ auth_names = ['oauth2']
1046
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1047
+ :header_params => header_params,
1048
+ :query_params => query_params,
1049
+ :form_params => form_params,
1050
+ :body => post_body,
1051
+ :auth_names => auth_names,
1052
+ :return_type => 'GetCardStatementResponseVO')
1053
+ if @api_client.config.debugging
1054
+ @api_client.config.logger.debug "API called: CardApi#get_card_statement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1055
+ end
1056
+ return data, status_code, headers
1057
+ end
1058
+ # Get a card token
1059
+ # @param id id
1060
+ # @param [Hash] opts the optional parameters
1061
+ # @option opts [String] :device_id device_id
1062
+ # @option opts [String] :device_type device_type
1063
+ # @option opts [String] :wallet wallet
1064
+ # @return [Array<GetCardTokenResponseVO>]
1065
+ def get_card_token_using_token(id, opts = {})
1066
+ data, _status_code, _headers = get_card_token_using_token_with_http_info(id, opts)
1067
+ data
1068
+ end
1069
+
1070
+ # Get a card token
1071
+ # @param id id
1072
+ # @param [Hash] opts the optional parameters
1073
+ # @option opts [String] :device_id device_id
1074
+ # @option opts [String] :device_type device_type
1075
+ # @option opts [String] :wallet wallet
1076
+ # @return [Array<(Array<GetCardTokenResponseVO>, Fixnum, Hash)>] Array<GetCardTokenResponseVO> data, response status code and response headers
1077
+ def get_card_token_using_token_with_http_info(id, opts = {})
1078
+ if @api_client.config.debugging
1079
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_token_using_token ...'
1080
+ end
1081
+ # verify the required parameter 'id' is set
1082
+ if @api_client.config.client_side_validation && id.nil?
1083
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.get_card_token_using_token"
1084
+ end
1085
+ if @api_client.config.client_side_validation && opts[:'device_type'] && !['watch', 'mobile_phone', 'tablet', 'gaming_device', 'vehicle', 'appliance', 'laptop'].include?(opts[:'device_type'])
1086
+ fail ArgumentError, 'invalid value for "device_type", must be one of watch, mobile_phone, tablet, gaming_device, vehicle, appliance, laptop'
1087
+ end
1088
+ if @api_client.config.client_side_validation && opts[:'wallet'] && !['google', 'apple', 'samsung'].include?(opts[:'wallet'])
1089
+ fail ArgumentError, 'invalid value for "wallet", must be one of google, apple, samsung'
1090
+ end
1091
+ # resource path
1092
+ local_var_path = '/card/token/{id}'.sub('{' + 'id' + '}', id.to_s)
1093
+
1094
+ # query parameters
1095
+ query_params = {}
1096
+ query_params[:'device_id'] = opts[:'device_id'] if !opts[:'device_id'].nil?
1097
+ query_params[:'device_type'] = opts[:'device_type'] if !opts[:'device_type'].nil?
1098
+ query_params[:'wallet'] = opts[:'wallet'] if !opts[:'wallet'].nil?
1099
+
1100
+ # header parameters
1101
+ header_params = {}
1102
+ # HTTP header 'Accept' (if needed)
1103
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1104
+
1105
+ # form parameters
1106
+ form_params = {}
1107
+
1108
+ # http body (model)
1109
+ post_body = nil
1110
+ auth_names = ['oauth2']
1111
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1112
+ :header_params => header_params,
1113
+ :query_params => query_params,
1114
+ :form_params => form_params,
1115
+ :body => post_body,
1116
+ :auth_names => auth_names,
1117
+ :return_type => 'Array<GetCardTokenResponseVO>')
1118
+ if @api_client.config.debugging
1119
+ @api_client.config.logger.debug "API called: CardApi#get_card_token_using_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1120
+ end
1121
+ return data, status_code, headers
1122
+ end
1123
+ # Get a card transaction
1124
+ # @param id id
1125
+ # @param [Hash] opts the optional parameters
1126
+ # @option opts [Date] :end_date end_date
1127
+ # @option opts [Date] :start_date start_date
1128
+ # @return [CardTransactionResponseVO]
1129
+ def get_card_transaction_using_get(id, opts = {})
1130
+ data, _status_code, _headers = get_card_transaction_using_get_with_http_info(id, opts)
1131
+ data
1132
+ end
1133
+
1134
+ # Get a card transaction
1135
+ # @param id id
1136
+ # @param [Hash] opts the optional parameters
1137
+ # @option opts [Date] :end_date end_date
1138
+ # @option opts [Date] :start_date start_date
1139
+ # @return [Array<(CardTransactionResponseVO, Fixnum, Hash)>] CardTransactionResponseVO data, response status code and response headers
1140
+ def get_card_transaction_using_get_with_http_info(id, opts = {})
1141
+ if @api_client.config.debugging
1142
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_transaction_using_get ...'
1143
+ end
1144
+ # verify the required parameter 'id' is set
1145
+ if @api_client.config.client_side_validation && id.nil?
1146
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.get_card_transaction_using_get"
1147
+ end
1148
+ # resource path
1149
+ local_var_path = '/card/transaction/{id}'.sub('{' + 'id' + '}', id.to_s)
1150
+
1151
+ # query parameters
1152
+ query_params = {}
1153
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
1154
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
1155
+
1156
+ # header parameters
1157
+ header_params = {}
1158
+ # HTTP header 'Accept' (if needed)
1159
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1160
+
1161
+ # form parameters
1162
+ form_params = {}
1163
+
1164
+ # http body (model)
1165
+ post_body = nil
1166
+ auth_names = ['oauth2']
1167
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1168
+ :header_params => header_params,
1169
+ :query_params => query_params,
1170
+ :form_params => form_params,
1171
+ :body => post_body,
1172
+ :auth_names => auth_names,
1173
+ :return_type => 'CardTransactionResponseVO')
1174
+ if @api_client.config.debugging
1175
+ @api_client.config.logger.debug "API called: CardApi#get_card_transaction_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1176
+ end
1177
+ return data, status_code, headers
1178
+ end
1179
+ # Get a card information
1180
+ # @param id id
1181
+ # @param [Hash] opts the optional parameters
1182
+ # @return [BaseResponseVO]
1183
+ def get_card_using_get(id, opts = {})
1184
+ data, _status_code, _headers = get_card_using_get_with_http_info(id, opts)
1185
+ data
1186
+ end
1187
+
1188
+ # Get a card information
1189
+ # @param id id
1190
+ # @param [Hash] opts the optional parameters
1191
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
1192
+ def get_card_using_get_with_http_info(id, opts = {})
1193
+ if @api_client.config.debugging
1194
+ @api_client.config.logger.debug 'Calling API: CardApi.get_card_using_get ...'
1195
+ end
1196
+ # verify the required parameter 'id' is set
1197
+ if @api_client.config.client_side_validation && id.nil?
1198
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.get_card_using_get"
1199
+ end
1200
+ # resource path
1201
+ local_var_path = '/card/{id}'.sub('{' + 'id' + '}', id.to_s)
1202
+
1203
+ # query parameters
1204
+ query_params = {}
1205
+
1206
+ # header parameters
1207
+ header_params = {}
1208
+ # HTTP header 'Accept' (if needed)
1209
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1210
+
1211
+ # form parameters
1212
+ form_params = {}
1213
+
1214
+ # http body (model)
1215
+ post_body = nil
1216
+ auth_names = ['oauth2']
1217
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1218
+ :header_params => header_params,
1219
+ :query_params => query_params,
1220
+ :form_params => form_params,
1221
+ :body => post_body,
1222
+ :auth_names => auth_names,
1223
+ :return_type => 'BaseResponseVO')
1224
+ if @api_client.config.debugging
1225
+ @api_client.config.logger.debug "API called: CardApi#get_card_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1226
+ end
1227
+ return data, status_code, headers
1228
+ end
1229
+ # Update a card business
1230
+ # @param nucleus_business_id nucleus_business_id
1231
+ # @param [Hash] opts the optional parameters
1232
+ # @return [UpdateBusinessResponseVO]
1233
+ def update_card_business_using_put(nucleus_business_id, opts = {})
1234
+ data, _status_code, _headers = update_card_business_using_put_with_http_info(nucleus_business_id, opts)
1235
+ data
1236
+ end
1237
+
1238
+ # Update a card business
1239
+ # @param nucleus_business_id nucleus_business_id
1240
+ # @param [Hash] opts the optional parameters
1241
+ # @return [Array<(UpdateBusinessResponseVO, Fixnum, Hash)>] UpdateBusinessResponseVO data, response status code and response headers
1242
+ def update_card_business_using_put_with_http_info(nucleus_business_id, opts = {})
1243
+ if @api_client.config.debugging
1244
+ @api_client.config.logger.debug 'Calling API: CardApi.update_card_business_using_put ...'
1245
+ end
1246
+ # verify the required parameter 'nucleus_business_id' is set
1247
+ if @api_client.config.client_side_validation && nucleus_business_id.nil?
1248
+ fail ArgumentError, "Missing the required parameter 'nucleus_business_id' when calling CardApi.update_card_business_using_put"
1249
+ end
1250
+ # resource path
1251
+ local_var_path = '/card/business/{nucleus_business_id}'.sub('{' + 'nucleus_business_id' + '}', nucleus_business_id.to_s)
1252
+
1253
+ # query parameters
1254
+ query_params = {}
1255
+
1256
+ # header parameters
1257
+ header_params = {}
1258
+ # HTTP header 'Accept' (if needed)
1259
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1260
+ # HTTP header 'Content-Type'
1261
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1262
+
1263
+ # form parameters
1264
+ form_params = {}
1265
+
1266
+ # http body (model)
1267
+ post_body = nil
1268
+ auth_names = ['oauth2']
1269
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1270
+ :header_params => header_params,
1271
+ :query_params => query_params,
1272
+ :form_params => form_params,
1273
+ :body => post_body,
1274
+ :auth_names => auth_names,
1275
+ :return_type => 'UpdateBusinessResponseVO')
1276
+ if @api_client.config.debugging
1277
+ @api_client.config.logger.debug "API called: CardApi#update_card_business_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1278
+ end
1279
+ return data, status_code, headers
1280
+ end
1281
+ # update a pin card
1282
+ # @param card_pin_request_co cardPinRequestCO
1283
+ # @param id id
1284
+ # @param [Hash] opts the optional parameters
1285
+ # @return [BaseResponseVO]
1286
+ def update_card_pin_using_post(card_pin_request_co, id, opts = {})
1287
+ data, _status_code, _headers = update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts)
1288
+ data
1289
+ end
1290
+
1291
+ # update a pin card
1292
+ # @param card_pin_request_co cardPinRequestCO
1293
+ # @param id id
1294
+ # @param [Hash] opts the optional parameters
1295
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
1296
+ def update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts = {})
1297
+ if @api_client.config.debugging
1298
+ @api_client.config.logger.debug 'Calling API: CardApi.update_card_pin_using_post ...'
1299
+ end
1300
+ # verify the required parameter 'card_pin_request_co' is set
1301
+ if @api_client.config.client_side_validation && card_pin_request_co.nil?
1302
+ fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.update_card_pin_using_post"
1303
+ end
1304
+ # verify the required parameter 'id' is set
1305
+ if @api_client.config.client_side_validation && id.nil?
1306
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.update_card_pin_using_post"
1307
+ end
1308
+ # resource path
1309
+ local_var_path = '/card/pin/{id}'.sub('{' + 'id' + '}', id.to_s)
1310
+
1311
+ # query parameters
1312
+ query_params = {}
1313
+
1314
+ # header parameters
1315
+ header_params = {}
1316
+ # HTTP header 'Accept' (if needed)
1317
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1318
+ # HTTP header 'Content-Type'
1319
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1320
+
1321
+ # form parameters
1322
+ form_params = {}
1323
+
1324
+ # http body (model)
1325
+ post_body = @api_client.object_to_http_body(card_pin_request_co)
1326
+ auth_names = ['oauth2']
1327
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1328
+ :header_params => header_params,
1329
+ :query_params => query_params,
1330
+ :form_params => form_params,
1331
+ :body => post_body,
1332
+ :auth_names => auth_names,
1333
+ :return_type => 'BaseResponseVO')
1334
+ if @api_client.config.debugging
1335
+ @api_client.config.logger.debug "API called: CardApi#update_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1336
+ end
1337
+ return data, status_code, headers
1338
+ end
1339
+ # Update a card spending control
1340
+ # @param nucleus_spending_control_id nucleus_spending_control_id
1341
+ # @param [Hash] opts the optional parameters
1342
+ # @return [CardSpendingControlResponseVO]
1343
+ def update_card_spending_control_using_put(nucleus_spending_control_id, opts = {})
1344
+ data, _status_code, _headers = update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts)
1345
+ data
1346
+ end
1347
+
1348
+ # Update a card spending control
1349
+ # @param nucleus_spending_control_id nucleus_spending_control_id
1350
+ # @param [Hash] opts the optional parameters
1351
+ # @return [Array<(CardSpendingControlResponseVO, Fixnum, Hash)>] CardSpendingControlResponseVO data, response status code and response headers
1352
+ def update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts = {})
1353
+ if @api_client.config.debugging
1354
+ @api_client.config.logger.debug 'Calling API: CardApi.update_card_spending_control_using_put ...'
1355
+ end
1356
+ # verify the required parameter 'nucleus_spending_control_id' is set
1357
+ if @api_client.config.client_side_validation && nucleus_spending_control_id.nil?
1358
+ fail ArgumentError, "Missing the required parameter 'nucleus_spending_control_id' when calling CardApi.update_card_spending_control_using_put"
1359
+ end
1360
+ # resource path
1361
+ local_var_path = '/card/spending_control/{nucleus_spending_control_id}'.sub('{' + 'nucleus_spending_control_id' + '}', nucleus_spending_control_id.to_s)
1362
+
1363
+ # query parameters
1364
+ query_params = {}
1365
+
1366
+ # header parameters
1367
+ header_params = {}
1368
+ # HTTP header 'Accept' (if needed)
1369
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1370
+ # HTTP header 'Content-Type'
1371
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1372
+
1373
+ # form parameters
1374
+ form_params = {}
1375
+
1376
+ # http body (model)
1377
+ post_body = nil
1378
+ auth_names = ['oauth2']
1379
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1380
+ :header_params => header_params,
1381
+ :query_params => query_params,
1382
+ :form_params => form_params,
1383
+ :body => post_body,
1384
+ :auth_names => auth_names,
1385
+ :return_type => 'CardSpendingControlResponseVO')
1386
+ if @api_client.config.debugging
1387
+ @api_client.config.logger.debug "API called: CardApi#update_card_spending_control_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1388
+ end
1389
+ return data, status_code, headers
1390
+ end
1391
+ # Update a card information
1392
+ # @param id id
1393
+ # @param [Hash] opts the optional parameters
1394
+ # @return [BaseResponseVO]
1395
+ def update_card_using_put(id, opts = {})
1396
+ data, _status_code, _headers = update_card_using_put_with_http_info(id, opts)
1397
+ data
1398
+ end
1399
+
1400
+ # Update a card information
1401
+ # @param id id
1402
+ # @param [Hash] opts the optional parameters
1403
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
1404
+ def update_card_using_put_with_http_info(id, opts = {})
1405
+ if @api_client.config.debugging
1406
+ @api_client.config.logger.debug 'Calling API: CardApi.update_card_using_put ...'
1407
+ end
1408
+ # verify the required parameter 'id' is set
1409
+ if @api_client.config.client_side_validation && id.nil?
1410
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.update_card_using_put"
1411
+ end
1412
+ # resource path
1413
+ local_var_path = '/card/{id}'.sub('{' + 'id' + '}', id.to_s)
1414
+
1415
+ # query parameters
1416
+ query_params = {}
1417
+
1418
+ # header parameters
1419
+ header_params = {}
1420
+ # HTTP header 'Accept' (if needed)
1421
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1422
+ # HTTP header 'Content-Type'
1423
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1424
+
1425
+ # form parameters
1426
+ form_params = {}
1427
+
1428
+ # http body (model)
1429
+ post_body = nil
1430
+ auth_names = ['oauth2']
1431
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1432
+ :header_params => header_params,
1433
+ :query_params => query_params,
1434
+ :form_params => form_params,
1435
+ :body => post_body,
1436
+ :auth_names => auth_names,
1437
+ :return_type => 'BaseResponseVO')
1438
+ if @api_client.config.debugging
1439
+ @api_client.config.logger.debug "API called: CardApi#update_card_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1440
+ end
1441
+ return data, status_code, headers
1442
+ end
1443
+ # Update a card client
1444
+ # @param id id
1445
+ # @param [Hash] opts the optional parameters
1446
+ # @return [UpdateCardClientResponseVO]
1447
+ def update_client_card_using_put(id, opts = {})
1448
+ data, _status_code, _headers = update_client_card_using_put_with_http_info(id, opts)
1449
+ data
1450
+ end
1451
+
1452
+ # Update a card client
1453
+ # @param id id
1454
+ # @param [Hash] opts the optional parameters
1455
+ # @return [Array<(UpdateCardClientResponseVO, Fixnum, Hash)>] UpdateCardClientResponseVO data, response status code and response headers
1456
+ def update_client_card_using_put_with_http_info(id, opts = {})
1457
+ if @api_client.config.debugging
1458
+ @api_client.config.logger.debug 'Calling API: CardApi.update_client_card_using_put ...'
1459
+ end
1460
+ # verify the required parameter 'id' is set
1461
+ if @api_client.config.client_side_validation && id.nil?
1462
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.update_client_card_using_put"
1463
+ end
1464
+ # resource path
1465
+ local_var_path = '/card/client/{id}'.sub('{' + 'id' + '}', id.to_s)
1466
+
1467
+ # query parameters
1468
+ query_params = {}
1469
+
1470
+ # header parameters
1471
+ header_params = {}
1472
+ # HTTP header 'Accept' (if needed)
1473
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1474
+ # HTTP header 'Content-Type'
1475
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1476
+
1477
+ # form parameters
1478
+ form_params = {}
1479
+
1480
+ # http body (model)
1481
+ post_body = nil
1482
+ auth_names = ['oauth2']
1483
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1484
+ :header_params => header_params,
1485
+ :query_params => query_params,
1486
+ :form_params => form_params,
1487
+ :body => post_body,
1488
+ :auth_names => auth_names,
1489
+ :return_type => 'UpdateCardClientResponseVO')
1490
+ if @api_client.config.debugging
1491
+ @api_client.config.logger.debug "API called: CardApi#update_client_card_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1492
+ end
1493
+ return data, status_code, headers
1494
+ end
1495
+ # verify card pin
1496
+ # @param card_pin_request_co cardPinRequestCO
1497
+ # @param [Hash] opts the optional parameters
1498
+ # @return [BaseResponseVO]
1499
+ def verify_card_pin_using_post(card_pin_request_co, opts = {})
1500
+ data, _status_code, _headers = verify_card_pin_using_post_with_http_info(card_pin_request_co, opts)
1501
+ data
1502
+ end
1503
+
1504
+ # verify card pin
1505
+ # @param card_pin_request_co cardPinRequestCO
1506
+ # @param [Hash] opts the optional parameters
1507
+ # @return [Array<(BaseResponseVO, Fixnum, Hash)>] BaseResponseVO data, response status code and response headers
1508
+ def verify_card_pin_using_post_with_http_info(card_pin_request_co, opts = {})
1509
+ if @api_client.config.debugging
1510
+ @api_client.config.logger.debug 'Calling API: CardApi.verify_card_pin_using_post ...'
1511
+ end
1512
+ # verify the required parameter 'card_pin_request_co' is set
1513
+ if @api_client.config.client_side_validation && card_pin_request_co.nil?
1514
+ fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.verify_card_pin_using_post"
1515
+ end
1516
+ # resource path
1517
+ local_var_path = '/card/pin/verify'
1518
+
1519
+ # query parameters
1520
+ query_params = {}
1521
+
1522
+ # header parameters
1523
+ header_params = {}
1524
+ # HTTP header 'Accept' (if needed)
1525
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1526
+ # HTTP header 'Content-Type'
1527
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1528
+
1529
+ # form parameters
1530
+ form_params = {}
1531
+
1532
+ # http body (model)
1533
+ post_body = @api_client.object_to_http_body(card_pin_request_co)
1534
+ auth_names = ['oauth2']
1535
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1536
+ :header_params => header_params,
1537
+ :query_params => query_params,
1538
+ :form_params => form_params,
1539
+ :body => post_body,
1540
+ :auth_names => auth_names,
1541
+ :return_type => 'BaseResponseVO')
1542
+ if @api_client.config.debugging
1543
+ @api_client.config.logger.debug "API called: CardApi#verify_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1544
+ end
1545
+ return data, status_code, headers
1546
+ end
1547
+ end
1548
+ end