treezor_client 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +11 -0
  3. data/Gemfile.lock +71 -0
  4. data/README.md +275 -0
  5. data/Rakefile +13 -0
  6. data/doc/TreezorClient.html +251 -0
  7. data/doc/TreezorClient/ApiClient.html +2600 -0
  8. data/doc/TreezorClient/ApiError.html +464 -0
  9. data/doc/TreezorClient/Balance.html +2042 -0
  10. data/doc/TreezorClient/BalanceApi.html +760 -0
  11. data/doc/TreezorClient/Bankaccount.html +2560 -0
  12. data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +455 -0
  13. data/doc/TreezorClient/BankaccountApi.html +2450 -0
  14. data/doc/TreezorClient/BeneficiariesApi.html +2387 -0
  15. data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +1816 -0
  16. data/doc/TreezorClient/Beneficiary.html +2574 -0
  17. data/doc/TreezorClient/Body.html +1826 -0
  18. data/doc/TreezorClient/Body/EnumAttributeValidator.html +455 -0
  19. data/doc/TreezorClient/Body1.html +2596 -0
  20. data/doc/TreezorClient/Body10.html +2069 -0
  21. data/doc/TreezorClient/Body10/EnumAttributeValidator.html +455 -0
  22. data/doc/TreezorClient/Body2.html +2492 -0
  23. data/doc/TreezorClient/Body3.html +1726 -0
  24. data/doc/TreezorClient/Body4.html +1726 -0
  25. data/doc/TreezorClient/Body5.html +2001 -0
  26. data/doc/TreezorClient/Body5/EnumAttributeValidator.html +455 -0
  27. data/doc/TreezorClient/Body6.html +2069 -0
  28. data/doc/TreezorClient/Body6/EnumAttributeValidator.html +455 -0
  29. data/doc/TreezorClient/Body7.html +2002 -0
  30. data/doc/TreezorClient/Body7/EnumAttributeValidator.html +455 -0
  31. data/doc/TreezorClient/Body8.html +1981 -0
  32. data/doc/TreezorClient/Body8/EnumAttributeValidator.html +455 -0
  33. data/doc/TreezorClient/Body9.html +2001 -0
  34. data/doc/TreezorClient/Body9/EnumAttributeValidator.html +455 -0
  35. data/doc/TreezorClient/BusinessApi.html +1548 -0
  36. data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +2822 -0
  37. data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +455 -0
  38. data/doc/TreezorClient/Card.html +6928 -0
  39. data/doc/TreezorClient/Card/EnumAttributeValidator.html +455 -0
  40. data/doc/TreezorClient/CardApi.html +9907 -0
  41. data/doc/TreezorClient/CardDigitalization.html +2126 -0
  42. data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +4343 -0
  43. data/doc/TreezorClient/CardDigitalizationsApi.html +1542 -0
  44. data/doc/TreezorClient/CardReserveApi.html +1622 -0
  45. data/doc/TreezorClient/CardtransactionApi.html +1243 -0
  46. data/doc/TreezorClient/Configuration.html +2459 -0
  47. data/doc/TreezorClient/CountryRestrictionGroupsApi.html +2602 -0
  48. data/doc/TreezorClient/Document.html +2812 -0
  49. data/doc/TreezorClient/Document/EnumAttributeValidator.html +455 -0
  50. data/doc/TreezorClient/DocumentApi.html +2878 -0
  51. data/doc/TreezorClient/Error.html +1794 -0
  52. data/doc/TreezorClient/HeartbeatApi.html +702 -0
  53. data/doc/TreezorClient/InlineResponse200.html +1626 -0
  54. data/doc/TreezorClient/InlineResponse2001.html +1626 -0
  55. data/doc/TreezorClient/InlineResponse20010.html +1626 -0
  56. data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +5844 -0
  57. data/doc/TreezorClient/InlineResponse20011.html +1626 -0
  58. data/doc/TreezorClient/InlineResponse20012.html +1626 -0
  59. data/doc/TreezorClient/InlineResponse20013.html +1626 -0
  60. data/doc/TreezorClient/InlineResponse20014.html +1626 -0
  61. data/doc/TreezorClient/InlineResponse20015.html +1626 -0
  62. data/doc/TreezorClient/InlineResponse20016.html +1626 -0
  63. data/doc/TreezorClient/InlineResponse20017.html +1626 -0
  64. data/doc/TreezorClient/InlineResponse20018.html +1626 -0
  65. data/doc/TreezorClient/InlineResponse20019.html +1626 -0
  66. data/doc/TreezorClient/InlineResponse2002.html +1626 -0
  67. data/doc/TreezorClient/InlineResponse20020.html +1626 -0
  68. data/doc/TreezorClient/InlineResponse20021.html +1626 -0
  69. data/doc/TreezorClient/InlineResponse20022.html +1626 -0
  70. data/doc/TreezorClient/InlineResponse20023.html +1626 -0
  71. data/doc/TreezorClient/InlineResponse20024.html +1626 -0
  72. data/doc/TreezorClient/InlineResponse20025.html +1626 -0
  73. data/doc/TreezorClient/InlineResponse2003.html +1626 -0
  74. data/doc/TreezorClient/InlineResponse2004.html +1626 -0
  75. data/doc/TreezorClient/InlineResponse2005.html +1626 -0
  76. data/doc/TreezorClient/InlineResponse2005Businessinformations.html +3561 -0
  77. data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +455 -0
  78. data/doc/TreezorClient/InlineResponse2005Users.html +1972 -0
  79. data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +455 -0
  80. data/doc/TreezorClient/InlineResponse2006.html +1626 -0
  81. data/doc/TreezorClient/InlineResponse2007.html +1626 -0
  82. data/doc/TreezorClient/InlineResponse2007Cardimages.html +1800 -0
  83. data/doc/TreezorClient/InlineResponse2008.html +1626 -0
  84. data/doc/TreezorClient/InlineResponse2009.html +1790 -0
  85. data/doc/TreezorClient/InlineResponseDefault.html +1626 -0
  86. data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +1371 -0
  87. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +1803 -0
  88. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +1804 -0
  89. data/doc/TreezorClient/Mandate.html +4584 -0
  90. data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +455 -0
  91. data/doc/TreezorClient/MandateApi.html +3787 -0
  92. data/doc/TreezorClient/MccRestrictionGroup.html +2144 -0
  93. data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +455 -0
  94. data/doc/TreezorClient/MccRestrictionGroupsApi.html +2598 -0
  95. data/doc/TreezorClient/MerchantIdRestrictionGroup.html +2144 -0
  96. data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +455 -0
  97. data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +2638 -0
  98. data/doc/TreezorClient/Payin.html +5584 -0
  99. data/doc/TreezorClient/Payin/EnumAttributeValidator.html +455 -0
  100. data/doc/TreezorClient/PayinApi.html +2963 -0
  101. data/doc/TreezorClient/Payinrefund.html +2476 -0
  102. data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +455 -0
  103. data/doc/TreezorClient/PayinrefundApi.html +2449 -0
  104. data/doc/TreezorClient/Payout.html +3488 -0
  105. data/doc/TreezorClient/Payout/EnumAttributeValidator.html +455 -0
  106. data/doc/TreezorClient/PayoutApi.html +2737 -0
  107. data/doc/TreezorClient/Tav.html +2130 -0
  108. data/doc/TreezorClient/Transaction.html +2798 -0
  109. data/doc/TreezorClient/TransactionApi.html +1491 -0
  110. data/doc/TreezorClient/Transfer.html +3158 -0
  111. data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +455 -0
  112. data/doc/TreezorClient/TransferApi.html +2725 -0
  113. data/doc/TreezorClient/Transferrefund.html +2644 -0
  114. data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +455 -0
  115. data/doc/TreezorClient/TransferrefundApi.html +2450 -0
  116. data/doc/TreezorClient/User.html +5844 -0
  117. data/doc/TreezorClient/User/EnumAttributeValidator.html +455 -0
  118. data/doc/TreezorClient/UserApi.html +6647 -0
  119. data/doc/TreezorClient/Virtualiban.html +2462 -0
  120. data/doc/TreezorClient/VirtualibansApi.html +2845 -0
  121. data/doc/TreezorClient/Wallet.html +4076 -0
  122. data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +455 -0
  123. data/doc/TreezorClient/WalletApi.html +3944 -0
  124. data/doc/_index.html +1025 -0
  125. data/doc/class_list.html +51 -0
  126. data/doc/css/common.css +1 -0
  127. data/doc/css/full_list.css +58 -0
  128. data/doc/css/style.css +496 -0
  129. data/doc/file.README.html +636 -0
  130. data/doc/file_list.html +56 -0
  131. data/doc/frames.html +17 -0
  132. data/doc/index.html +636 -0
  133. data/doc/js/app.js +292 -0
  134. data/doc/js/full_list.js +216 -0
  135. data/doc/js/jquery.js +4 -0
  136. data/doc/method_list.html +15699 -0
  137. data/doc/top-level-namespace.html +110 -0
  138. data/docs/Balance.md +13 -0
  139. data/docs/BalanceApi.md +74 -0
  140. data/docs/Bankaccount.md +19 -0
  141. data/docs/BankaccountApi.md +288 -0
  142. data/docs/BeneficiariesApi.md +284 -0
  143. data/docs/BeneficiariesSddB2bWhitelist.md +10 -0
  144. data/docs/Beneficiary.md +19 -0
  145. data/docs/Body.md +10 -0
  146. data/docs/Body1.md +19 -0
  147. data/docs/Body10.md +13 -0
  148. data/docs/Body2.md +18 -0
  149. data/docs/Body3.md +9 -0
  150. data/docs/Body4.md +9 -0
  151. data/docs/Body5.md +12 -0
  152. data/docs/Body6.md +13 -0
  153. data/docs/Body7.md +12 -0
  154. data/docs/Body8.md +12 -0
  155. data/docs/Body9.md +12 -0
  156. data/docs/BusinessApi.md +162 -0
  157. data/docs/BusinesssearchsBusinessinformations.md +22 -0
  158. data/docs/Card.md +71 -0
  159. data/docs/CardApi.md +1202 -0
  160. data/docs/CardDigitalization.md +14 -0
  161. data/docs/CardDigitalizationDetailsFromGPS.md +40 -0
  162. data/docs/CardDigitalizationsApi.md +195 -0
  163. data/docs/CardReserveApi.md +201 -0
  164. data/docs/CardtransactionApi.md +141 -0
  165. data/docs/CountryRestrictionGroupsApi.md +333 -0
  166. data/docs/Document.md +22 -0
  167. data/docs/DocumentApi.md +351 -0
  168. data/docs/Error.md +10 -0
  169. data/docs/HeartbeatApi.md +69 -0
  170. data/docs/InlineResponse200.md +8 -0
  171. data/docs/InlineResponse2001.md +8 -0
  172. data/docs/InlineResponse20010.md +8 -0
  173. data/docs/InlineResponse20010Cardtransactions.md +58 -0
  174. data/docs/InlineResponse20011.md +8 -0
  175. data/docs/InlineResponse20012.md +8 -0
  176. data/docs/InlineResponse20013.md +8 -0
  177. data/docs/InlineResponse20014.md +8 -0
  178. data/docs/InlineResponse20015.md +8 -0
  179. data/docs/InlineResponse20016.md +8 -0
  180. data/docs/InlineResponse20017.md +8 -0
  181. data/docs/InlineResponse20018.md +8 -0
  182. data/docs/InlineResponse20019.md +8 -0
  183. data/docs/InlineResponse2002.md +8 -0
  184. data/docs/InlineResponse20020.md +8 -0
  185. data/docs/InlineResponse20021.md +8 -0
  186. data/docs/InlineResponse20022.md +8 -0
  187. data/docs/InlineResponse20023.md +8 -0
  188. data/docs/InlineResponse20024.md +8 -0
  189. data/docs/InlineResponse20025.md +8 -0
  190. data/docs/InlineResponse2003.md +8 -0
  191. data/docs/InlineResponse2004.md +8 -0
  192. data/docs/InlineResponse2005.md +8 -0
  193. data/docs/InlineResponse2005Businessinformations.md +26 -0
  194. data/docs/InlineResponse2005Users.md +12 -0
  195. data/docs/InlineResponse2006.md +8 -0
  196. data/docs/InlineResponse2007.md +8 -0
  197. data/docs/InlineResponse2007Cardimages.md +10 -0
  198. data/docs/InlineResponse2008.md +8 -0
  199. data/docs/InlineResponse2009.md +10 -0
  200. data/docs/InlineResponseDefault.md +8 -0
  201. data/docs/IssuerInitiatedDigitizationDataApi.md +146 -0
  202. data/docs/IssuerInitiatedDigitizationDatasAdditionnalData.md +10 -0
  203. data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +10 -0
  204. data/docs/Mandate.md +43 -0
  205. data/docs/MandateApi.md +443 -0
  206. data/docs/MccRestrictionGroup.md +14 -0
  207. data/docs/MccRestrictionGroupsApi.md +333 -0
  208. data/docs/MerchantIdRestrictionGroup.md +14 -0
  209. data/docs/MerchantIdRestrictionGroupsApi.md +335 -0
  210. data/docs/Payin.md +55 -0
  211. data/docs/PayinApi.md +321 -0
  212. data/docs/Payinrefund.md +18 -0
  213. data/docs/PayinrefundApi.md +289 -0
  214. data/docs/Payout.md +30 -0
  215. data/docs/PayoutApi.md +309 -0
  216. data/docs/Tav.md +14 -0
  217. data/docs/Transaction.md +22 -0
  218. data/docs/TransactionApi.md +157 -0
  219. data/docs/Transfer.md +26 -0
  220. data/docs/TransferApi.md +308 -0
  221. data/docs/Transferrefund.md +20 -0
  222. data/docs/TransferrefundApi.md +289 -0
  223. data/docs/User.md +58 -0
  224. data/docs/UserApi.md +568 -0
  225. data/docs/Virtualiban.md +18 -0
  226. data/docs/VirtualibansApi.md +315 -0
  227. data/docs/Wallet.md +37 -0
  228. data/docs/WalletApi.md +423 -0
  229. data/git_push.sh +55 -0
  230. data/lib/treezor_client.rb +130 -0
  231. data/lib/treezor_client/api/balance_api.rb +90 -0
  232. data/lib/treezor_client/api/bankaccount_api.rb +343 -0
  233. data/lib/treezor_client/api/beneficiaries_api.rb +310 -0
  234. data/lib/treezor_client/api/business_api.rb +187 -0
  235. data/lib/treezor_client/api/card_api.rb +1321 -0
  236. data/lib/treezor_client/api/card_digitalizations_api.rb +213 -0
  237. data/lib/treezor_client/api/card_reserve_api.rb +216 -0
  238. data/lib/treezor_client/api/cardtransaction_api.rb +163 -0
  239. data/lib/treezor_client/api/country_restriction_groups_api.rb +353 -0
  240. data/lib/treezor_client/api/document_api.rb +404 -0
  241. data/lib/treezor_client/api/heartbeat_api.rb +83 -0
  242. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +165 -0
  243. data/lib/treezor_client/api/mandate_api.rb +543 -0
  244. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +353 -0
  245. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +356 -0
  246. data/lib/treezor_client/api/payin_api.rb +389 -0
  247. data/lib/treezor_client/api/payinrefund_api.rb +333 -0
  248. data/lib/treezor_client/api/payout_api.rb +363 -0
  249. data/lib/treezor_client/api/transaction_api.rb +187 -0
  250. data/lib/treezor_client/api/transfer_api.rb +364 -0
  251. data/lib/treezor_client/api/transferrefund_api.rb +333 -0
  252. data/lib/treezor_client/api/user_api.rb +708 -0
  253. data/lib/treezor_client/api/virtualibans_api.rb +369 -0
  254. data/lib/treezor_client/api/wallet_api.rb +505 -0
  255. data/lib/treezor_client/api_client.rb +389 -0
  256. data/lib/treezor_client/api_error.rb +38 -0
  257. data/lib/treezor_client/configuration.rb +209 -0
  258. data/lib/treezor_client/models/balance.rb +234 -0
  259. data/lib/treezor_client/models/bankaccount.rb +322 -0
  260. data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +219 -0
  261. data/lib/treezor_client/models/beneficiary.rb +306 -0
  262. data/lib/treezor_client/models/body.rb +251 -0
  263. data/lib/treezor_client/models/body_1.rb +317 -0
  264. data/lib/treezor_client/models/body_10.rb +278 -0
  265. data/lib/treezor_client/models/body_2.rb +297 -0
  266. data/lib/treezor_client/models/body_3.rb +209 -0
  267. data/lib/treezor_client/models/body_4.rb +209 -0
  268. data/lib/treezor_client/models/body_5.rb +276 -0
  269. data/lib/treezor_client/models/body_6.rb +278 -0
  270. data/lib/treezor_client/models/body_7.rb +276 -0
  271. data/lib/treezor_client/models/body_8.rb +266 -0
  272. data/lib/treezor_client/models/body_9.rb +276 -0
  273. data/lib/treezor_client/models/businesssearchs_businessinformations.rb +362 -0
  274. data/lib/treezor_client/models/card.rb +793 -0
  275. data/lib/treezor_client/models/card_digitalization.rb +242 -0
  276. data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +509 -0
  277. data/lib/treezor_client/models/document.rb +349 -0
  278. data/lib/treezor_client/models/error.rb +208 -0
  279. data/lib/treezor_client/models/inline_response_200.rb +190 -0
  280. data/lib/treezor_client/models/inline_response_200_1.rb +190 -0
  281. data/lib/treezor_client/models/inline_response_200_10.rb +190 -0
  282. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +642 -0
  283. data/lib/treezor_client/models/inline_response_200_11.rb +190 -0
  284. data/lib/treezor_client/models/inline_response_200_12.rb +190 -0
  285. data/lib/treezor_client/models/inline_response_200_13.rb +190 -0
  286. data/lib/treezor_client/models/inline_response_200_14.rb +190 -0
  287. data/lib/treezor_client/models/inline_response_200_15.rb +190 -0
  288. data/lib/treezor_client/models/inline_response_200_16.rb +190 -0
  289. data/lib/treezor_client/models/inline_response_200_17.rb +190 -0
  290. data/lib/treezor_client/models/inline_response_200_18.rb +190 -0
  291. data/lib/treezor_client/models/inline_response_200_19.rb +190 -0
  292. data/lib/treezor_client/models/inline_response_200_2.rb +190 -0
  293. data/lib/treezor_client/models/inline_response_200_20.rb +190 -0
  294. data/lib/treezor_client/models/inline_response_200_21.rb +190 -0
  295. data/lib/treezor_client/models/inline_response_200_22.rb +190 -0
  296. data/lib/treezor_client/models/inline_response_200_23.rb +190 -0
  297. data/lib/treezor_client/models/inline_response_200_24.rb +190 -0
  298. data/lib/treezor_client/models/inline_response_200_25.rb +190 -0
  299. data/lib/treezor_client/models/inline_response_200_3.rb +190 -0
  300. data/lib/treezor_client/models/inline_response_200_4.rb +190 -0
  301. data/lib/treezor_client/models/inline_response_200_5.rb +190 -0
  302. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +451 -0
  303. data/lib/treezor_client/models/inline_response_200_5_users.rb +262 -0
  304. data/lib/treezor_client/models/inline_response_200_6.rb +190 -0
  305. data/lib/treezor_client/models/inline_response_200_7.rb +190 -0
  306. data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +225 -0
  307. data/lib/treezor_client/models/inline_response_200_8.rb +190 -0
  308. data/lib/treezor_client/models/inline_response_200_9.rb +209 -0
  309. data/lib/treezor_client/models/inline_response_default.rb +190 -0
  310. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +208 -0
  311. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +209 -0
  312. data/lib/treezor_client/models/mandate.rb +564 -0
  313. data/lib/treezor_client/models/mcc_restriction_group.rb +284 -0
  314. data/lib/treezor_client/models/merchant_id_restriction_group.rb +284 -0
  315. data/lib/treezor_client/models/payin.rb +646 -0
  316. data/lib/treezor_client/models/payinrefund.rb +313 -0
  317. data/lib/treezor_client/models/payout.rb +434 -0
  318. data/lib/treezor_client/models/tav.rb +246 -0
  319. data/lib/treezor_client/models/transaction.rb +317 -0
  320. data/lib/treezor_client/models/transfer.rb +389 -0
  321. data/lib/treezor_client/models/transferrefund.rb +331 -0
  322. data/lib/treezor_client/models/user.rb +688 -0
  323. data/lib/treezor_client/models/virtualiban.rb +278 -0
  324. data/lib/treezor_client/models/wallet.rb +488 -0
  325. data/lib/treezor_client/version.rb +15 -0
  326. data/pkg/treezor_client-1.0.0.gem +0 -0
  327. data/spec/api/balance_api_spec.rb +52 -0
  328. data/spec/api/bankaccount_api_spec.rb +109 -0
  329. data/spec/api/beneficiaries_api_spec.rb +108 -0
  330. data/spec/api/business_api_spec.rb +79 -0
  331. data/spec/api/card_api_spec.rb +365 -0
  332. data/spec/api/card_digitalizations_api_spec.rb +79 -0
  333. data/spec/api/card_reserve_api_spec.rb +83 -0
  334. data/spec/api/cardtransaction_api_spec.rb +70 -0
  335. data/spec/api/country_restriction_groups_api_spec.rb +116 -0
  336. data/spec/api/document_api_spec.rb +126 -0
  337. data/spec/api/heartbeat_api_spec.rb +50 -0
  338. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +72 -0
  339. data/spec/api/mandate_api_spec.rb +147 -0
  340. data/spec/api/mcc_restriction_groups_api_spec.rb +116 -0
  341. data/spec/api/merchant_id_restriction_groups_api_spec.rb +117 -0
  342. data/spec/api/payin_api_spec.rb +126 -0
  343. data/spec/api/payinrefund_api_spec.rb +111 -0
  344. data/spec/api/payout_api_spec.rb +121 -0
  345. data/spec/api/transaction_api_spec.rb +78 -0
  346. data/spec/api/transfer_api_spec.rb +120 -0
  347. data/spec/api/transferrefund_api_spec.rb +111 -0
  348. data/spec/api/user_api_spec.rb +216 -0
  349. data/spec/api/virtualibans_api_spec.rb +123 -0
  350. data/spec/api/wallet_api_spec.rb +158 -0
  351. data/spec/api_client_spec.rb +226 -0
  352. data/spec/configuration_spec.rb +42 -0
  353. data/spec/models/balance_spec.rb +72 -0
  354. data/spec/models/bankaccount_spec.rb +112 -0
  355. data/spec/models/beneficiaries_sdd_b2b_whitelist_spec.rb +54 -0
  356. data/spec/models/beneficiary_spec.rb +108 -0
  357. data/spec/models/body_10_spec.rb +76 -0
  358. data/spec/models/body_1_spec.rb +108 -0
  359. data/spec/models/body_2_spec.rb +102 -0
  360. data/spec/models/body_3_spec.rb +48 -0
  361. data/spec/models/body_4_spec.rb +48 -0
  362. data/spec/models/body_5_spec.rb +70 -0
  363. data/spec/models/body_6_spec.rb +76 -0
  364. data/spec/models/body_7_spec.rb +70 -0
  365. data/spec/models/body_8_spec.rb +70 -0
  366. data/spec/models/body_9_spec.rb +70 -0
  367. data/spec/models/body_spec.rb +58 -0
  368. data/spec/models/businesssearchs_businessinformations_spec.rb +130 -0
  369. data/spec/models/card_digitalization_details_from_gps_spec.rb +234 -0
  370. data/spec/models/card_digitalization_spec.rb +78 -0
  371. data/spec/models/card_spec.rb +424 -0
  372. data/spec/models/document_spec.rb +130 -0
  373. data/spec/models/error_spec.rb +54 -0
  374. data/spec/models/inline_response_200_10_cardtransactions_spec.rb +342 -0
  375. data/spec/models/inline_response_200_10_spec.rb +42 -0
  376. data/spec/models/inline_response_200_11_spec.rb +42 -0
  377. data/spec/models/inline_response_200_12_spec.rb +42 -0
  378. data/spec/models/inline_response_200_13_spec.rb +42 -0
  379. data/spec/models/inline_response_200_14_spec.rb +42 -0
  380. data/spec/models/inline_response_200_15_spec.rb +42 -0
  381. data/spec/models/inline_response_200_16_spec.rb +42 -0
  382. data/spec/models/inline_response_200_17_spec.rb +42 -0
  383. data/spec/models/inline_response_200_18_spec.rb +42 -0
  384. data/spec/models/inline_response_200_19_spec.rb +42 -0
  385. data/spec/models/inline_response_200_1_spec.rb +42 -0
  386. data/spec/models/inline_response_200_20_spec.rb +42 -0
  387. data/spec/models/inline_response_200_21_spec.rb +42 -0
  388. data/spec/models/inline_response_200_22_spec.rb +42 -0
  389. data/spec/models/inline_response_200_23_spec.rb +42 -0
  390. data/spec/models/inline_response_200_24_spec.rb +42 -0
  391. data/spec/models/inline_response_200_25_spec.rb +42 -0
  392. data/spec/models/inline_response_200_2_spec.rb +42 -0
  393. data/spec/models/inline_response_200_3_spec.rb +42 -0
  394. data/spec/models/inline_response_200_4_spec.rb +42 -0
  395. data/spec/models/inline_response_200_5_businessinformations_spec.rb +170 -0
  396. data/spec/models/inline_response_200_5_spec.rb +42 -0
  397. data/spec/models/inline_response_200_5_users_spec.rb +70 -0
  398. data/spec/models/inline_response_200_6_spec.rb +42 -0
  399. data/spec/models/inline_response_200_7_cardimages_spec.rb +54 -0
  400. data/spec/models/inline_response_200_7_spec.rb +42 -0
  401. data/spec/models/inline_response_200_8_spec.rb +42 -0
  402. data/spec/models/inline_response_200_9_spec.rb +54 -0
  403. data/spec/models/inline_response_200_spec.rb +42 -0
  404. data/spec/models/inline_response_default_spec.rb +42 -0
  405. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +54 -0
  406. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +54 -0
  407. data/spec/models/mandate_spec.rb +264 -0
  408. data/spec/models/mcc_restriction_group_spec.rb +82 -0
  409. data/spec/models/merchant_id_restriction_group_spec.rb +82 -0
  410. data/spec/models/payin_spec.rb +328 -0
  411. data/spec/models/payinrefund_spec.rb +106 -0
  412. data/spec/models/payout_spec.rb +182 -0
  413. data/spec/models/tav_spec.rb +78 -0
  414. data/spec/models/transaction_spec.rb +126 -0
  415. data/spec/models/transfer_spec.rb +154 -0
  416. data/spec/models/transferrefund_spec.rb +118 -0
  417. data/spec/models/user_spec.rb +350 -0
  418. data/spec/models/virtualiban_spec.rb +102 -0
  419. data/spec/models/wallet_spec.rb +220 -0
  420. data/spec/spec_helper.rb +111 -0
  421. data/treezor_client.gemspec +47 -0
  422. metadata +739 -0
@@ -0,0 +1,2042 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: TreezorClient::Balance
8
+
9
+ &mdash; Documentation by YARD 0.9.15
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "TreezorClient::Balance";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (B)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../TreezorClient.html" title="TreezorClient (module)">TreezorClient</a></span></span>
41
+ &raquo;
42
+ <span class="title">Balance</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: TreezorClient::Balance
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">TreezorClient::Balance</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/treezor_client/models/balance.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+
103
+
104
+
105
+
106
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
+ <ul class="summary">
108
+
109
+ <li class="public ">
110
+ <span class="summary_signature">
111
+
112
+ <a href="#authorizations-instance_method" title="#authorizations (instance method)">#<strong>authorizations</strong> &#x21d2; Object </a>
113
+
114
+
115
+
116
+ </span>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <span class="summary_desc"><div class='inline'>
130
+ <p>Returns the value of attribute authorizations.</p>
131
+ </div></span>
132
+
133
+ </li>
134
+
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#authorized_balance-instance_method" title="#authorized_balance (instance method)">#<strong>authorized_balance</strong> &#x21d2; Object </a>
140
+
141
+
142
+
143
+ </span>
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>Returns the value of attribute authorized_balance.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="public ">
164
+ <span class="summary_signature">
165
+
166
+ <a href="#calculation_date-instance_method" title="#calculation_date (instance method)">#<strong>calculation_date</strong> &#x21d2; Object </a>
167
+
168
+
169
+
170
+ </span>
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <span class="summary_desc"><div class='inline'>
184
+ <p>Date YYYY-MM-DD HH:MM:SS.</p>
185
+ </div></span>
186
+
187
+ </li>
188
+
189
+
190
+ <li class="public ">
191
+ <span class="summary_signature">
192
+
193
+ <a href="#currency-instance_method" title="#currency (instance method)">#<strong>currency</strong> &#x21d2; Object </a>
194
+
195
+
196
+
197
+ </span>
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <span class="summary_desc"><div class='inline'>
211
+ <p>Returns the value of attribute currency.</p>
212
+ </div></span>
213
+
214
+ </li>
215
+
216
+
217
+ <li class="public ">
218
+ <span class="summary_signature">
219
+
220
+ <a href="#current_balance-instance_method" title="#current_balance (instance method)">#<strong>current_balance</strong> &#x21d2; Object </a>
221
+
222
+
223
+
224
+ </span>
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <span class="summary_desc"><div class='inline'>
238
+ <p>Returns the value of attribute current_balance.</p>
239
+ </div></span>
240
+
241
+ </li>
242
+
243
+
244
+ <li class="public ">
245
+ <span class="summary_signature">
246
+
247
+ <a href="#wallet_id-instance_method" title="#wallet_id (instance method)">#<strong>wallet_id</strong> &#x21d2; Object </a>
248
+
249
+
250
+
251
+ </span>
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ <span class="summary_desc"><div class='inline'>
265
+ <p>Returns the value of attribute wallet_id.</p>
266
+ </div></span>
267
+
268
+ </li>
269
+
270
+
271
+ </ul>
272
+
273
+
274
+
275
+
276
+
277
+ <h2>
278
+ Class Method Summary
279
+ <small><a href="#" class="summary_toggle">collapse</a></small>
280
+ </h2>
281
+
282
+ <ul class="summary">
283
+
284
+ <li class="public ">
285
+ <span class="summary_signature">
286
+
287
+ <a href="#attribute_map-class_method" title="attribute_map (class method)">.<strong>attribute_map</strong> &#x21d2; Object </a>
288
+
289
+
290
+
291
+ </span>
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ <span class="summary_desc"><div class='inline'>
302
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
303
+ </div></span>
304
+
305
+ </li>
306
+
307
+
308
+ <li class="public ">
309
+ <span class="summary_signature">
310
+
311
+ <a href="#swagger_types-class_method" title="swagger_types (class method)">.<strong>swagger_types</strong> &#x21d2; Object </a>
312
+
313
+
314
+
315
+ </span>
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+ <span class="summary_desc"><div class='inline'>
326
+ <p>Attribute type mapping.</p>
327
+ </div></span>
328
+
329
+ </li>
330
+
331
+
332
+ </ul>
333
+
334
+ <h2>
335
+ Instance Method Summary
336
+ <small><a href="#" class="summary_toggle">collapse</a></small>
337
+ </h2>
338
+
339
+ <ul class="summary">
340
+
341
+ <li class="public ">
342
+ <span class="summary_signature">
343
+
344
+ <a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(o) &#x21d2; Object </a>
345
+
346
+
347
+
348
+ </span>
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+ <span class="summary_desc"><div class='inline'>
359
+ <p>Checks equality by comparing each attribute.</p>
360
+ </div></span>
361
+
362
+ </li>
363
+
364
+
365
+ <li class="public ">
366
+ <span class="summary_signature">
367
+
368
+ <a href="#_deserialize-instance_method" title="#_deserialize (instance method)">#<strong>_deserialize</strong>(type, value) &#x21d2; Object </a>
369
+
370
+
371
+
372
+ </span>
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <span class="summary_desc"><div class='inline'>
383
+ <p>Deserializes the data based on type.</p>
384
+ </div></span>
385
+
386
+ </li>
387
+
388
+
389
+ <li class="public ">
390
+ <span class="summary_signature">
391
+
392
+ <a href="#_to_hash-instance_method" title="#_to_hash (instance method)">#<strong>_to_hash</strong>(value) &#x21d2; Hash </a>
393
+
394
+
395
+
396
+ </span>
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+ <span class="summary_desc"><div class='inline'>
407
+ <p>Outputs non-array value in the form of hash For object, use to_hash.</p>
408
+ </div></span>
409
+
410
+ </li>
411
+
412
+
413
+ <li class="public ">
414
+ <span class="summary_signature">
415
+
416
+ <a href="#build_from_hash-instance_method" title="#build_from_hash (instance method)">#<strong>build_from_hash</strong>(attributes) &#x21d2; Object </a>
417
+
418
+
419
+
420
+ </span>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+ <span class="summary_desc"><div class='inline'>
431
+ <p>Builds the object from hash.</p>
432
+ </div></span>
433
+
434
+ </li>
435
+
436
+
437
+ <li class="public ">
438
+ <span class="summary_signature">
439
+
440
+ <a href="#eql%3F-instance_method" title="#eql? (instance method)">#<strong>eql?</strong>(o) &#x21d2; Boolean </a>
441
+
442
+
443
+
444
+ </span>
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+ <span class="summary_desc"><div class='inline'></div></span>
455
+
456
+ </li>
457
+
458
+
459
+ <li class="public ">
460
+ <span class="summary_signature">
461
+
462
+ <a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> &#x21d2; Fixnum </a>
463
+
464
+
465
+
466
+ </span>
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+ <span class="summary_desc"><div class='inline'>
477
+ <p>Calculates hash code according to all attributes.</p>
478
+ </div></span>
479
+
480
+ </li>
481
+
482
+
483
+ <li class="public ">
484
+ <span class="summary_signature">
485
+
486
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(attributes = {}) &#x21d2; Balance </a>
487
+
488
+
489
+
490
+ </span>
491
+
492
+
493
+ <span class="note title constructor">constructor</span>
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+ <span class="summary_desc"><div class='inline'>
503
+ <p>Initializes the object.</p>
504
+ </div></span>
505
+
506
+ </li>
507
+
508
+
509
+ <li class="public ">
510
+ <span class="summary_signature">
511
+
512
+ <a href="#list_invalid_properties-instance_method" title="#list_invalid_properties (instance method)">#<strong>list_invalid_properties</strong> &#x21d2; Object </a>
513
+
514
+
515
+
516
+ </span>
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+
525
+
526
+ <span class="summary_desc"><div class='inline'>
527
+ <p>Show invalid properties with the reasons.</p>
528
+ </div></span>
529
+
530
+ </li>
531
+
532
+
533
+ <li class="public ">
534
+ <span class="summary_signature">
535
+
536
+ <a href="#to_body-instance_method" title="#to_body (instance method)">#<strong>to_body</strong> &#x21d2; Hash </a>
537
+
538
+
539
+
540
+ </span>
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+ <span class="summary_desc"><div class='inline'>
551
+ <p>to_body is an alias to to_hash (backward compatibility).</p>
552
+ </div></span>
553
+
554
+ </li>
555
+
556
+
557
+ <li class="public ">
558
+ <span class="summary_signature">
559
+
560
+ <a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> &#x21d2; Hash </a>
561
+
562
+
563
+
564
+ </span>
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+ <span class="summary_desc"><div class='inline'>
575
+ <p>Returns the object in the form of hash.</p>
576
+ </div></span>
577
+
578
+ </li>
579
+
580
+
581
+ <li class="public ">
582
+ <span class="summary_signature">
583
+
584
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
585
+
586
+
587
+
588
+ </span>
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+ <span class="summary_desc"><div class='inline'>
599
+ <p>Returns the string representation of the object.</p>
600
+ </div></span>
601
+
602
+ </li>
603
+
604
+
605
+ <li class="public ">
606
+ <span class="summary_signature">
607
+
608
+ <a href="#valid%3F-instance_method" title="#valid? (instance method)">#<strong>valid?</strong> &#x21d2; Boolean </a>
609
+
610
+
611
+
612
+ </span>
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+ <span class="summary_desc"><div class='inline'>
623
+ <p>Check to see if the all the properties in the model are valid.</p>
624
+ </div></span>
625
+
626
+ </li>
627
+
628
+
629
+ </ul>
630
+
631
+
632
+ <div id="constructor_details" class="method_details_list">
633
+ <h2>Constructor Details</h2>
634
+
635
+ <div class="method_details first">
636
+ <h3 class="signature first" id="initialize-instance_method">
637
+
638
+ #<strong>initialize</strong>(attributes = {}) &#x21d2; <tt><span class='object_link'><a href="" title="TreezorClient::Balance (class)">Balance</a></span></tt>
639
+
640
+
641
+
642
+
643
+
644
+ </h3><div class="docstring">
645
+ <div class="discussion">
646
+
647
+ <p>Initializes the object</p>
648
+
649
+
650
+ </div>
651
+ </div>
652
+ <div class="tags">
653
+ <p class="tag_title">Parameters:</p>
654
+ <ul class="param">
655
+
656
+ <li>
657
+
658
+ <span class='name'>attributes</span>
659
+
660
+
661
+ <span class='type'>(<tt>Hash</tt>)</span>
662
+
663
+
664
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
665
+
666
+
667
+ &mdash;
668
+ <div class='inline'>
669
+ <p>Model attributes in the form of hash</p>
670
+ </div>
671
+
672
+ </li>
673
+
674
+ </ul>
675
+
676
+
677
+ </div><table class="source_code">
678
+ <tr>
679
+ <td>
680
+ <pre class="lines">
681
+
682
+
683
+ 58
684
+ 59
685
+ 60
686
+ 61
687
+ 62
688
+ 63
689
+ 64
690
+ 65
691
+ 66
692
+ 67
693
+ 68
694
+ 69
695
+ 70
696
+ 71
697
+ 72
698
+ 73
699
+ 74
700
+ 75
701
+ 76
702
+ 77
703
+ 78
704
+ 79
705
+ 80
706
+ 81
707
+ 82
708
+ 83
709
+ 84
710
+ 85
711
+ 86
712
+ 87
713
+ 88</pre>
714
+ </td>
715
+ <td>
716
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 58</span>
717
+
718
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
719
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
720
+
721
+ <span class='comment'># convert string to symbol for hash key
722
+ </span> <span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_each_with_object'>each_with_object</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbrace'>{</span><span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span><span class='rbrace'>}</span>
723
+
724
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;walletId&#39;</span><span class='rparen'>)</span>
725
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wallet_id'>wallet_id</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;walletId&#39;</span><span class='rbracket'>]</span>
726
+ <span class='kw'>end</span>
727
+
728
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;currentBalance&#39;</span><span class='rparen'>)</span>
729
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_current_balance'>current_balance</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;currentBalance&#39;</span><span class='rbracket'>]</span>
730
+ <span class='kw'>end</span>
731
+
732
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;authorizations&#39;</span><span class='rparen'>)</span>
733
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_authorizations'>authorizations</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;authorizations&#39;</span><span class='rbracket'>]</span>
734
+ <span class='kw'>end</span>
735
+
736
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;authorizedBalance&#39;</span><span class='rparen'>)</span>
737
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_authorized_balance'>authorized_balance</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;authorizedBalance&#39;</span><span class='rbracket'>]</span>
738
+ <span class='kw'>end</span>
739
+
740
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;currency&#39;</span><span class='rparen'>)</span>
741
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_currency'>currency</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;currency&#39;</span><span class='rbracket'>]</span>
742
+ <span class='kw'>end</span>
743
+
744
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;calculationDate&#39;</span><span class='rparen'>)</span>
745
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_calculation_date'>calculation_date</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;calculationDate&#39;</span><span class='rbracket'>]</span>
746
+ <span class='kw'>end</span>
747
+
748
+ <span class='kw'>end</span></pre>
749
+ </td>
750
+ </tr>
751
+ </table>
752
+ </div>
753
+
754
+ </div>
755
+
756
+ <div id="instance_attr_details" class="attr_details">
757
+ <h2>Instance Attribute Details</h2>
758
+
759
+
760
+ <span id="authorizations=-instance_method"></span>
761
+ <div class="method_details first">
762
+ <h3 class="signature first" id="authorizations-instance_method">
763
+
764
+ #<strong>authorizations</strong> &#x21d2; <tt>Object</tt>
765
+
766
+
767
+
768
+
769
+
770
+ </h3><div class="docstring">
771
+ <div class="discussion">
772
+
773
+ <p>Returns the value of attribute authorizations</p>
774
+
775
+
776
+ </div>
777
+ </div>
778
+ <div class="tags">
779
+
780
+
781
+ </div><table class="source_code">
782
+ <tr>
783
+ <td>
784
+ <pre class="lines">
785
+
786
+
787
+ 22
788
+ 23
789
+ 24</pre>
790
+ </td>
791
+ <td>
792
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 22</span>
793
+
794
+ <span class='kw'>def</span> <span class='id identifier rubyid_authorizations'>authorizations</span>
795
+ <span class='ivar'>@authorizations</span>
796
+ <span class='kw'>end</span></pre>
797
+ </td>
798
+ </tr>
799
+ </table>
800
+ </div>
801
+
802
+
803
+ <span id="authorized_balance=-instance_method"></span>
804
+ <div class="method_details ">
805
+ <h3 class="signature " id="authorized_balance-instance_method">
806
+
807
+ #<strong>authorized_balance</strong> &#x21d2; <tt>Object</tt>
808
+
809
+
810
+
811
+
812
+
813
+ </h3><div class="docstring">
814
+ <div class="discussion">
815
+
816
+ <p>Returns the value of attribute authorized_balance</p>
817
+
818
+
819
+ </div>
820
+ </div>
821
+ <div class="tags">
822
+
823
+
824
+ </div><table class="source_code">
825
+ <tr>
826
+ <td>
827
+ <pre class="lines">
828
+
829
+
830
+ 24
831
+ 25
832
+ 26</pre>
833
+ </td>
834
+ <td>
835
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 24</span>
836
+
837
+ <span class='kw'>def</span> <span class='id identifier rubyid_authorized_balance'>authorized_balance</span>
838
+ <span class='ivar'>@authorized_balance</span>
839
+ <span class='kw'>end</span></pre>
840
+ </td>
841
+ </tr>
842
+ </table>
843
+ </div>
844
+
845
+
846
+ <span id="calculation_date=-instance_method"></span>
847
+ <div class="method_details ">
848
+ <h3 class="signature " id="calculation_date-instance_method">
849
+
850
+ #<strong>calculation_date</strong> &#x21d2; <tt>Object</tt>
851
+
852
+
853
+
854
+
855
+
856
+ </h3><div class="docstring">
857
+ <div class="discussion">
858
+
859
+ <p>Date YYYY-MM-DD HH:MM:SS</p>
860
+
861
+
862
+ </div>
863
+ </div>
864
+ <div class="tags">
865
+
866
+
867
+ </div><table class="source_code">
868
+ <tr>
869
+ <td>
870
+ <pre class="lines">
871
+
872
+
873
+ 29
874
+ 30
875
+ 31</pre>
876
+ </td>
877
+ <td>
878
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 29</span>
879
+
880
+ <span class='kw'>def</span> <span class='id identifier rubyid_calculation_date'>calculation_date</span>
881
+ <span class='ivar'>@calculation_date</span>
882
+ <span class='kw'>end</span></pre>
883
+ </td>
884
+ </tr>
885
+ </table>
886
+ </div>
887
+
888
+
889
+ <span id="currency=-instance_method"></span>
890
+ <div class="method_details ">
891
+ <h3 class="signature " id="currency-instance_method">
892
+
893
+ #<strong>currency</strong> &#x21d2; <tt>Object</tt>
894
+
895
+
896
+
897
+
898
+
899
+ </h3><div class="docstring">
900
+ <div class="discussion">
901
+
902
+ <p>Returns the value of attribute currency</p>
903
+
904
+
905
+ </div>
906
+ </div>
907
+ <div class="tags">
908
+
909
+
910
+ </div><table class="source_code">
911
+ <tr>
912
+ <td>
913
+ <pre class="lines">
914
+
915
+
916
+ 26
917
+ 27
918
+ 28</pre>
919
+ </td>
920
+ <td>
921
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 26</span>
922
+
923
+ <span class='kw'>def</span> <span class='id identifier rubyid_currency'>currency</span>
924
+ <span class='ivar'>@currency</span>
925
+ <span class='kw'>end</span></pre>
926
+ </td>
927
+ </tr>
928
+ </table>
929
+ </div>
930
+
931
+
932
+ <span id="current_balance=-instance_method"></span>
933
+ <div class="method_details ">
934
+ <h3 class="signature " id="current_balance-instance_method">
935
+
936
+ #<strong>current_balance</strong> &#x21d2; <tt>Object</tt>
937
+
938
+
939
+
940
+
941
+
942
+ </h3><div class="docstring">
943
+ <div class="discussion">
944
+
945
+ <p>Returns the value of attribute current_balance</p>
946
+
947
+
948
+ </div>
949
+ </div>
950
+ <div class="tags">
951
+
952
+
953
+ </div><table class="source_code">
954
+ <tr>
955
+ <td>
956
+ <pre class="lines">
957
+
958
+
959
+ 20
960
+ 21
961
+ 22</pre>
962
+ </td>
963
+ <td>
964
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 20</span>
965
+
966
+ <span class='kw'>def</span> <span class='id identifier rubyid_current_balance'>current_balance</span>
967
+ <span class='ivar'>@current_balance</span>
968
+ <span class='kw'>end</span></pre>
969
+ </td>
970
+ </tr>
971
+ </table>
972
+ </div>
973
+
974
+
975
+ <span id="wallet_id=-instance_method"></span>
976
+ <div class="method_details ">
977
+ <h3 class="signature " id="wallet_id-instance_method">
978
+
979
+ #<strong>wallet_id</strong> &#x21d2; <tt>Object</tt>
980
+
981
+
982
+
983
+
984
+
985
+ </h3><div class="docstring">
986
+ <div class="discussion">
987
+
988
+ <p>Returns the value of attribute wallet_id</p>
989
+
990
+
991
+ </div>
992
+ </div>
993
+ <div class="tags">
994
+
995
+
996
+ </div><table class="source_code">
997
+ <tr>
998
+ <td>
999
+ <pre class="lines">
1000
+
1001
+
1002
+ 18
1003
+ 19
1004
+ 20</pre>
1005
+ </td>
1006
+ <td>
1007
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 18</span>
1008
+
1009
+ <span class='kw'>def</span> <span class='id identifier rubyid_wallet_id'>wallet_id</span>
1010
+ <span class='ivar'>@wallet_id</span>
1011
+ <span class='kw'>end</span></pre>
1012
+ </td>
1013
+ </tr>
1014
+ </table>
1015
+ </div>
1016
+
1017
+ </div>
1018
+
1019
+
1020
+ <div id="class_method_details" class="method_details_list">
1021
+ <h2>Class Method Details</h2>
1022
+
1023
+
1024
+ <div class="method_details first">
1025
+ <h3 class="signature first" id="attribute_map-class_method">
1026
+
1027
+ .<strong>attribute_map</strong> &#x21d2; <tt>Object</tt>
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+ </h3><div class="docstring">
1034
+ <div class="discussion">
1035
+
1036
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
1037
+
1038
+
1039
+ </div>
1040
+ </div>
1041
+ <div class="tags">
1042
+
1043
+
1044
+ </div><table class="source_code">
1045
+ <tr>
1046
+ <td>
1047
+ <pre class="lines">
1048
+
1049
+
1050
+ 33
1051
+ 34
1052
+ 35
1053
+ 36
1054
+ 37
1055
+ 38
1056
+ 39
1057
+ 40
1058
+ 41
1059
+ 42</pre>
1060
+ </td>
1061
+ <td>
1062
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 33</span>
1063
+
1064
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span>
1065
+ <span class='lbrace'>{</span>
1066
+ <span class='symbol'>:&#39;wallet_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;walletId&#39;</span><span class='comma'>,</span>
1067
+ <span class='symbol'>:&#39;current_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;currentBalance&#39;</span><span class='comma'>,</span>
1068
+ <span class='symbol'>:&#39;authorizations&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;authorizations&#39;</span><span class='comma'>,</span>
1069
+ <span class='symbol'>:&#39;authorized_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;authorizedBalance&#39;</span><span class='comma'>,</span>
1070
+ <span class='symbol'>:&#39;currency&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;currency&#39;</span><span class='comma'>,</span>
1071
+ <span class='symbol'>:&#39;calculation_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;calculationDate&#39;</span>
1072
+ <span class='rbrace'>}</span>
1073
+ <span class='kw'>end</span></pre>
1074
+ </td>
1075
+ </tr>
1076
+ </table>
1077
+ </div>
1078
+
1079
+ <div class="method_details ">
1080
+ <h3 class="signature " id="swagger_types-class_method">
1081
+
1082
+ .<strong>swagger_types</strong> &#x21d2; <tt>Object</tt>
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+ </h3><div class="docstring">
1089
+ <div class="discussion">
1090
+
1091
+ <p>Attribute type mapping.</p>
1092
+
1093
+
1094
+ </div>
1095
+ </div>
1096
+ <div class="tags">
1097
+
1098
+
1099
+ </div><table class="source_code">
1100
+ <tr>
1101
+ <td>
1102
+ <pre class="lines">
1103
+
1104
+
1105
+ 45
1106
+ 46
1107
+ 47
1108
+ 48
1109
+ 49
1110
+ 50
1111
+ 51
1112
+ 52
1113
+ 53
1114
+ 54</pre>
1115
+ </td>
1116
+ <td>
1117
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 45</span>
1118
+
1119
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_swagger_types'>swagger_types</span>
1120
+ <span class='lbrace'>{</span>
1121
+ <span class='symbol'>:&#39;wallet_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1122
+ <span class='symbol'>:&#39;current_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1123
+ <span class='symbol'>:&#39;authorizations&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1124
+ <span class='symbol'>:&#39;authorized_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1125
+ <span class='symbol'>:&#39;currency&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1126
+ <span class='symbol'>:&#39;calculation_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span>
1127
+ <span class='rbrace'>}</span>
1128
+ <span class='kw'>end</span></pre>
1129
+ </td>
1130
+ </tr>
1131
+ </table>
1132
+ </div>
1133
+
1134
+ </div>
1135
+
1136
+ <div id="instance_method_details" class="method_details_list">
1137
+ <h2>Instance Method Details</h2>
1138
+
1139
+
1140
+ <div class="method_details first">
1141
+ <h3 class="signature first" id="==-instance_method">
1142
+
1143
+ #<strong>==</strong>(o) &#x21d2; <tt>Object</tt>
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+ </h3><div class="docstring">
1150
+ <div class="discussion">
1151
+
1152
+ <p>Checks equality by comparing each attribute.</p>
1153
+
1154
+
1155
+ </div>
1156
+ </div>
1157
+ <div class="tags">
1158
+ <p class="tag_title">Parameters:</p>
1159
+ <ul class="param">
1160
+
1161
+ <li>
1162
+
1163
+ <span class='name'>Object</span>
1164
+
1165
+
1166
+ <span class='type'>(<tt>Object</tt>)</span>
1167
+
1168
+
1169
+
1170
+ &mdash;
1171
+ <div class='inline'>
1172
+ <p>to be compared</p>
1173
+ </div>
1174
+
1175
+ </li>
1176
+
1177
+ </ul>
1178
+
1179
+
1180
+ </div><table class="source_code">
1181
+ <tr>
1182
+ <td>
1183
+ <pre class="lines">
1184
+
1185
+
1186
+ 105
1187
+ 106
1188
+ 107
1189
+ 108
1190
+ 109
1191
+ 110
1192
+ 111
1193
+ 112
1194
+ 113
1195
+ 114</pre>
1196
+ </td>
1197
+ <td>
1198
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 105</span>
1199
+
1200
+ <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1201
+ <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1202
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>&amp;&amp;</span>
1203
+ <span class='id identifier rubyid_wallet_id'>wallet_id</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_wallet_id'>wallet_id</span> <span class='op'>&amp;&amp;</span>
1204
+ <span class='id identifier rubyid_current_balance'>current_balance</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_current_balance'>current_balance</span> <span class='op'>&amp;&amp;</span>
1205
+ <span class='id identifier rubyid_authorizations'>authorizations</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_authorizations'>authorizations</span> <span class='op'>&amp;&amp;</span>
1206
+ <span class='id identifier rubyid_authorized_balance'>authorized_balance</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_authorized_balance'>authorized_balance</span> <span class='op'>&amp;&amp;</span>
1207
+ <span class='id identifier rubyid_currency'>currency</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_currency'>currency</span> <span class='op'>&amp;&amp;</span>
1208
+ <span class='id identifier rubyid_calculation_date'>calculation_date</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_calculation_date'>calculation_date</span>
1209
+ <span class='kw'>end</span></pre>
1210
+ </td>
1211
+ </tr>
1212
+ </table>
1213
+ </div>
1214
+
1215
+ <div class="method_details ">
1216
+ <h3 class="signature " id="_deserialize-instance_method">
1217
+
1218
+ #<strong>_deserialize</strong>(type, value) &#x21d2; <tt>Object</tt>
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+ </h3><div class="docstring">
1225
+ <div class="discussion">
1226
+
1227
+ <p>Deserializes the data based on type</p>
1228
+
1229
+
1230
+ </div>
1231
+ </div>
1232
+ <div class="tags">
1233
+ <p class="tag_title">Parameters:</p>
1234
+ <ul class="param">
1235
+
1236
+ <li>
1237
+
1238
+ <span class='name'>string</span>
1239
+
1240
+
1241
+ <span class='type'></span>
1242
+
1243
+
1244
+
1245
+ &mdash;
1246
+ <div class='inline'>
1247
+ <p>type Data type</p>
1248
+ </div>
1249
+
1250
+ </li>
1251
+
1252
+ <li>
1253
+
1254
+ <span class='name'>string</span>
1255
+
1256
+
1257
+ <span class='type'></span>
1258
+
1259
+
1260
+
1261
+ &mdash;
1262
+ <div class='inline'>
1263
+ <p>value Value to be deserialized</p>
1264
+ </div>
1265
+
1266
+ </li>
1267
+
1268
+ </ul>
1269
+
1270
+ <p class="tag_title">Returns:</p>
1271
+ <ul class="return">
1272
+
1273
+ <li>
1274
+
1275
+
1276
+ <span class='type'>(<tt>Object</tt>)</span>
1277
+
1278
+
1279
+
1280
+ &mdash;
1281
+ <div class='inline'>
1282
+ <p>Deserialized data</p>
1283
+ </div>
1284
+
1285
+ </li>
1286
+
1287
+ </ul>
1288
+
1289
+ </div><table class="source_code">
1290
+ <tr>
1291
+ <td>
1292
+ <pre class="lines">
1293
+
1294
+
1295
+ 152
1296
+ 153
1297
+ 154
1298
+ 155
1299
+ 156
1300
+ 157
1301
+ 158
1302
+ 159
1303
+ 160
1304
+ 161
1305
+ 162
1306
+ 163
1307
+ 164
1308
+ 165
1309
+ 166
1310
+ 167
1311
+ 168
1312
+ 169
1313
+ 170
1314
+ 171
1315
+ 172
1316
+ 173
1317
+ 174
1318
+ 175
1319
+ 176
1320
+ 177
1321
+ 178
1322
+ 179
1323
+ 180
1324
+ 181
1325
+ 182
1326
+ 183
1327
+ 184
1328
+ 185
1329
+ 186
1330
+ 187
1331
+ 188</pre>
1332
+ </td>
1333
+ <td>
1334
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 152</span>
1335
+
1336
+ <span class='kw'>def</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1337
+ <span class='kw'>case</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
1338
+ <span class='kw'>when</span> <span class='symbol'>:DateTime</span>
1339
+ <span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1340
+ <span class='kw'>when</span> <span class='symbol'>:Date</span>
1341
+ <span class='const'>Date</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1342
+ <span class='kw'>when</span> <span class='symbol'>:String</span>
1343
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
1344
+ <span class='kw'>when</span> <span class='symbol'>:Integer</span>
1345
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
1346
+ <span class='kw'>when</span> <span class='symbol'>:Float</span>
1347
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span>
1348
+ <span class='kw'>when</span> <span class='symbol'>:BOOLEAN</span>
1349
+ <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\A(true|t|yes|y|1)\z</span><span class='regexp_end'>/i</span></span>
1350
+ <span class='kw'>true</span>
1351
+ <span class='kw'>else</span>
1352
+ <span class='kw'>false</span>
1353
+ <span class='kw'>end</span>
1354
+ <span class='kw'>when</span> <span class='symbol'>:Object</span>
1355
+ <span class='comment'># generic object (usually a Hash), return directly
1356
+ </span> <span class='id identifier rubyid_value'>value</span>
1357
+ <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AArray&lt;(?&lt;inner_type&gt;.+)&gt;\z</span><span class='regexp_end'>/</span></span>
1358
+ <span class='id identifier rubyid_inner_type'>inner_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:inner_type</span><span class='rbracket'>]</span>
1359
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_inner_type'>inner_type</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1360
+ <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AHash&lt;(?&lt;k_type&gt;.+?), (?&lt;v_type&gt;.+)&gt;\z</span><span class='regexp_end'>/</span></span>
1361
+ <span class='id identifier rubyid_k_type'>k_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:k_type</span><span class='rbracket'>]</span>
1362
+ <span class='id identifier rubyid_v_type'>v_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:v_type</span><span class='rbracket'>]</span>
1363
+ <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_hash'>hash</span><span class='op'>|</span>
1364
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
1365
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_k_type'>k_type</span><span class='comma'>,</span> <span class='id identifier rubyid_k'>k</span><span class='rparen'>)</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_v_type'>v_type</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span>
1366
+ <span class='kw'>end</span>
1367
+ <span class='kw'>end</span>
1368
+ <span class='kw'>else</span> <span class='comment'># model
1369
+ </span> <span class='id identifier rubyid_temp_model'>temp_model</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../TreezorClient.html" title="TreezorClient (module)">TreezorClient</a></span></span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
1370
+ <span class='id identifier rubyid_temp_model'>temp_model</span><span class='period'>.</span><span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1371
+ <span class='kw'>end</span>
1372
+ <span class='kw'>end</span></pre>
1373
+ </td>
1374
+ </tr>
1375
+ </table>
1376
+ </div>
1377
+
1378
+ <div class="method_details ">
1379
+ <h3 class="signature " id="_to_hash-instance_method">
1380
+
1381
+ #<strong>_to_hash</strong>(value) &#x21d2; <tt>Hash</tt>
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+ </h3><div class="docstring">
1388
+ <div class="discussion">
1389
+
1390
+ <p>Outputs non-array value in the form of hash For object, use to_hash.
1391
+ Otherwise, just return the value</p>
1392
+
1393
+
1394
+ </div>
1395
+ </div>
1396
+ <div class="tags">
1397
+ <p class="tag_title">Parameters:</p>
1398
+ <ul class="param">
1399
+
1400
+ <li>
1401
+
1402
+ <span class='name'>value</span>
1403
+
1404
+
1405
+ <span class='type'>(<tt>Object</tt>)</span>
1406
+
1407
+
1408
+
1409
+ &mdash;
1410
+ <div class='inline'>
1411
+ <p>Any valid value</p>
1412
+ </div>
1413
+
1414
+ </li>
1415
+
1416
+ </ul>
1417
+
1418
+ <p class="tag_title">Returns:</p>
1419
+ <ul class="return">
1420
+
1421
+ <li>
1422
+
1423
+
1424
+ <span class='type'>(<tt>Hash</tt>)</span>
1425
+
1426
+
1427
+
1428
+ &mdash;
1429
+ <div class='inline'>
1430
+ <p>Returns the value in the form of hash</p>
1431
+ </div>
1432
+
1433
+ </li>
1434
+
1435
+ </ul>
1436
+
1437
+ </div><table class="source_code">
1438
+ <tr>
1439
+ <td>
1440
+ <pre class="lines">
1441
+
1442
+
1443
+ 218
1444
+ 219
1445
+ 220
1446
+ 221
1447
+ 222
1448
+ 223
1449
+ 224
1450
+ 225
1451
+ 226
1452
+ 227
1453
+ 228
1454
+ 229
1455
+ 230</pre>
1456
+ </td>
1457
+ <td>
1458
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 218</span>
1459
+
1460
+ <span class='kw'>def</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1461
+ <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
1462
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1463
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
1464
+ <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_hash'>hash</span><span class='op'>|</span>
1465
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1466
+ <span class='kw'>end</span>
1467
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span> <span class='symbol'>:to_hash</span>
1468
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
1469
+ <span class='kw'>else</span>
1470
+ <span class='id identifier rubyid_value'>value</span>
1471
+ <span class='kw'>end</span>
1472
+ <span class='kw'>end</span></pre>
1473
+ </td>
1474
+ </tr>
1475
+ </table>
1476
+ </div>
1477
+
1478
+ <div class="method_details ">
1479
+ <h3 class="signature " id="build_from_hash-instance_method">
1480
+
1481
+ #<strong>build_from_hash</strong>(attributes) &#x21d2; <tt>Object</tt>
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+ </h3><div class="docstring">
1488
+ <div class="discussion">
1489
+
1490
+ <p>Builds the object from hash</p>
1491
+
1492
+
1493
+ </div>
1494
+ </div>
1495
+ <div class="tags">
1496
+ <p class="tag_title">Parameters:</p>
1497
+ <ul class="param">
1498
+
1499
+ <li>
1500
+
1501
+ <span class='name'>attributes</span>
1502
+
1503
+
1504
+ <span class='type'>(<tt>Hash</tt>)</span>
1505
+
1506
+
1507
+
1508
+ &mdash;
1509
+ <div class='inline'>
1510
+ <p>Model attributes in the form of hash</p>
1511
+ </div>
1512
+
1513
+ </li>
1514
+
1515
+ </ul>
1516
+
1517
+ <p class="tag_title">Returns:</p>
1518
+ <ul class="return">
1519
+
1520
+ <li>
1521
+
1522
+
1523
+ <span class='type'>(<tt>Object</tt>)</span>
1524
+
1525
+
1526
+
1527
+ &mdash;
1528
+ <div class='inline'>
1529
+ <p>Returns the model itself</p>
1530
+ </div>
1531
+
1532
+ </li>
1533
+
1534
+ </ul>
1535
+
1536
+ </div><table class="source_code">
1537
+ <tr>
1538
+ <td>
1539
+ <pre class="lines">
1540
+
1541
+
1542
+ 131
1543
+ 132
1544
+ 133
1545
+ 134
1546
+ 135
1547
+ 136
1548
+ 137
1549
+ 138
1550
+ 139
1551
+ 140
1552
+ 141
1553
+ 142
1554
+ 143
1555
+ 144
1556
+ 145
1557
+ 146</pre>
1558
+ </td>
1559
+ <td>
1560
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 131</span>
1561
+
1562
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
1563
+ <span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
1564
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_swagger_types'>swagger_types</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='op'>|</span>
1565
+ <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AArray&lt;(.*)&gt;</span><span class='regexp_end'>/i</span></span>
1566
+ <span class='comment'># check to ensure the input is an array given that the the attribute
1567
+ </span> <span class='comment'># is documented as an array but the input is not
1568
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
1569
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='backref'>$1</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span> <span class='rparen'>)</span>
1570
+ <span class='kw'>end</span>
1571
+ <span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1572
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='rparen'>)</span>
1573
+ <span class='kw'>end</span> <span class='comment'># or else data not found in attributes(hash), not an issue as the data can be optional
1574
+ </span> <span class='kw'>end</span>
1575
+
1576
+ <span class='kw'>self</span>
1577
+ <span class='kw'>end</span></pre>
1578
+ </td>
1579
+ </tr>
1580
+ </table>
1581
+ </div>
1582
+
1583
+ <div class="method_details ">
1584
+ <h3 class="signature " id="eql?-instance_method">
1585
+
1586
+ #<strong>eql?</strong>(o) &#x21d2; <tt>Boolean</tt>
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+ </h3><div class="docstring">
1593
+ <div class="discussion">
1594
+
1595
+
1596
+ </div>
1597
+ </div>
1598
+ <div class="tags">
1599
+ <p class="tag_title">Parameters:</p>
1600
+ <ul class="param">
1601
+
1602
+ <li>
1603
+
1604
+ <span class='name'>Object</span>
1605
+
1606
+
1607
+ <span class='type'>(<tt>Object</tt>)</span>
1608
+
1609
+
1610
+
1611
+ &mdash;
1612
+ <div class='inline'>
1613
+ <p>to be compared</p>
1614
+ </div>
1615
+
1616
+ </li>
1617
+
1618
+ </ul>
1619
+
1620
+ <p class="tag_title">Returns:</p>
1621
+ <ul class="return">
1622
+
1623
+ <li>
1624
+
1625
+
1626
+ <span class='type'>(<tt>Boolean</tt>)</span>
1627
+
1628
+
1629
+
1630
+ </li>
1631
+
1632
+ </ul>
1633
+
1634
+ <p class="tag_title">See Also:</p>
1635
+ <ul class="see">
1636
+
1637
+ <li>`==` method</li>
1638
+
1639
+ </ul>
1640
+
1641
+ </div><table class="source_code">
1642
+ <tr>
1643
+ <td>
1644
+ <pre class="lines">
1645
+
1646
+
1647
+ 118
1648
+ 119
1649
+ 120</pre>
1650
+ </td>
1651
+ <td>
1652
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 118</span>
1653
+
1654
+ <span class='kw'>def</span> <span class='id identifier rubyid_eql?'>eql?</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1655
+ <span class='kw'>self</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span>
1656
+ <span class='kw'>end</span></pre>
1657
+ </td>
1658
+ </tr>
1659
+ </table>
1660
+ </div>
1661
+
1662
+ <div class="method_details ">
1663
+ <h3 class="signature " id="hash-instance_method">
1664
+
1665
+ #<strong>hash</strong> &#x21d2; <tt>Fixnum</tt>
1666
+
1667
+
1668
+
1669
+
1670
+
1671
+ </h3><div class="docstring">
1672
+ <div class="discussion">
1673
+
1674
+ <p>Calculates hash code according to all attributes.</p>
1675
+
1676
+
1677
+ </div>
1678
+ </div>
1679
+ <div class="tags">
1680
+
1681
+ <p class="tag_title">Returns:</p>
1682
+ <ul class="return">
1683
+
1684
+ <li>
1685
+
1686
+
1687
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1688
+
1689
+
1690
+
1691
+ &mdash;
1692
+ <div class='inline'>
1693
+ <p>Hash code</p>
1694
+ </div>
1695
+
1696
+ </li>
1697
+
1698
+ </ul>
1699
+
1700
+ </div><table class="source_code">
1701
+ <tr>
1702
+ <td>
1703
+ <pre class="lines">
1704
+
1705
+
1706
+ 124
1707
+ 125
1708
+ 126</pre>
1709
+ </td>
1710
+ <td>
1711
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 124</span>
1712
+
1713
+ <span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span>
1714
+ <span class='lbracket'>[</span><span class='id identifier rubyid_wallet_id'>wallet_id</span><span class='comma'>,</span> <span class='id identifier rubyid_current_balance'>current_balance</span><span class='comma'>,</span> <span class='id identifier rubyid_authorizations'>authorizations</span><span class='comma'>,</span> <span class='id identifier rubyid_authorized_balance'>authorized_balance</span><span class='comma'>,</span> <span class='id identifier rubyid_currency'>currency</span><span class='comma'>,</span> <span class='id identifier rubyid_calculation_date'>calculation_date</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
1715
+ <span class='kw'>end</span></pre>
1716
+ </td>
1717
+ </tr>
1718
+ </table>
1719
+ </div>
1720
+
1721
+ <div class="method_details ">
1722
+ <h3 class="signature " id="list_invalid_properties-instance_method">
1723
+
1724
+ #<strong>list_invalid_properties</strong> &#x21d2; <tt>Object</tt>
1725
+
1726
+
1727
+
1728
+
1729
+
1730
+ </h3><div class="docstring">
1731
+ <div class="discussion">
1732
+
1733
+ <p>Show invalid properties with the reasons. Usually used together with valid?</p>
1734
+
1735
+
1736
+ </div>
1737
+ </div>
1738
+ <div class="tags">
1739
+
1740
+ <p class="tag_title">Returns:</p>
1741
+ <ul class="return">
1742
+
1743
+ <li>
1744
+
1745
+
1746
+ <span class='type'></span>
1747
+
1748
+
1749
+
1750
+
1751
+ <div class='inline'>
1752
+ <p>Array for valid properties with the reasons</p>
1753
+ </div>
1754
+
1755
+ </li>
1756
+
1757
+ </ul>
1758
+
1759
+ </div><table class="source_code">
1760
+ <tr>
1761
+ <td>
1762
+ <pre class="lines">
1763
+
1764
+
1765
+ 92
1766
+ 93
1767
+ 94
1768
+ 95</pre>
1769
+ </td>
1770
+ <td>
1771
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 92</span>
1772
+
1773
+ <span class='kw'>def</span> <span class='id identifier rubyid_list_invalid_properties'>list_invalid_properties</span>
1774
+ <span class='id identifier rubyid_invalid_properties'>invalid_properties</span> <span class='op'>=</span> <span class='const'>Array</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
1775
+ <span class='kw'>return</span> <span class='id identifier rubyid_invalid_properties'>invalid_properties</span>
1776
+ <span class='kw'>end</span></pre>
1777
+ </td>
1778
+ </tr>
1779
+ </table>
1780
+ </div>
1781
+
1782
+ <div class="method_details ">
1783
+ <h3 class="signature " id="to_body-instance_method">
1784
+
1785
+ #<strong>to_body</strong> &#x21d2; <tt>Hash</tt>
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+ </h3><div class="docstring">
1792
+ <div class="discussion">
1793
+
1794
+ <p>to_body is an alias to to_hash (backward compatibility)</p>
1795
+
1796
+
1797
+ </div>
1798
+ </div>
1799
+ <div class="tags">
1800
+
1801
+ <p class="tag_title">Returns:</p>
1802
+ <ul class="return">
1803
+
1804
+ <li>
1805
+
1806
+
1807
+ <span class='type'>(<tt>Hash</tt>)</span>
1808
+
1809
+
1810
+
1811
+ &mdash;
1812
+ <div class='inline'>
1813
+ <p>Returns the object in the form of hash</p>
1814
+ </div>
1815
+
1816
+ </li>
1817
+
1818
+ </ul>
1819
+
1820
+ </div><table class="source_code">
1821
+ <tr>
1822
+ <td>
1823
+ <pre class="lines">
1824
+
1825
+
1826
+ 198
1827
+ 199
1828
+ 200</pre>
1829
+ </td>
1830
+ <td>
1831
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 198</span>
1832
+
1833
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_body'>to_body</span>
1834
+ <span class='id identifier rubyid_to_hash'>to_hash</span>
1835
+ <span class='kw'>end</span></pre>
1836
+ </td>
1837
+ </tr>
1838
+ </table>
1839
+ </div>
1840
+
1841
+ <div class="method_details ">
1842
+ <h3 class="signature " id="to_hash-instance_method">
1843
+
1844
+ #<strong>to_hash</strong> &#x21d2; <tt>Hash</tt>
1845
+
1846
+
1847
+
1848
+
1849
+
1850
+ </h3><div class="docstring">
1851
+ <div class="discussion">
1852
+
1853
+ <p>Returns the object in the form of hash</p>
1854
+
1855
+
1856
+ </div>
1857
+ </div>
1858
+ <div class="tags">
1859
+
1860
+ <p class="tag_title">Returns:</p>
1861
+ <ul class="return">
1862
+
1863
+ <li>
1864
+
1865
+
1866
+ <span class='type'>(<tt>Hash</tt>)</span>
1867
+
1868
+
1869
+
1870
+ &mdash;
1871
+ <div class='inline'>
1872
+ <p>Returns the object in the form of hash</p>
1873
+ </div>
1874
+
1875
+ </li>
1876
+
1877
+ </ul>
1878
+
1879
+ </div><table class="source_code">
1880
+ <tr>
1881
+ <td>
1882
+ <pre class="lines">
1883
+
1884
+
1885
+ 204
1886
+ 205
1887
+ 206
1888
+ 207
1889
+ 208
1890
+ 209
1891
+ 210
1892
+ 211
1893
+ 212</pre>
1894
+ </td>
1895
+ <td>
1896
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 204</span>
1897
+
1898
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
1899
+ <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1900
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_attr'>attr</span><span class='comma'>,</span> <span class='id identifier rubyid_param'>param</span><span class='op'>|</span>
1901
+ <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_attr'>attr</span><span class='rparen'>)</span>
1902
+ <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1903
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1904
+ <span class='kw'>end</span>
1905
+ <span class='id identifier rubyid_hash'>hash</span>
1906
+ <span class='kw'>end</span></pre>
1907
+ </td>
1908
+ </tr>
1909
+ </table>
1910
+ </div>
1911
+
1912
+ <div class="method_details ">
1913
+ <h3 class="signature " id="to_s-instance_method">
1914
+
1915
+ #<strong>to_s</strong> &#x21d2; <tt>String</tt>
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+ </h3><div class="docstring">
1922
+ <div class="discussion">
1923
+
1924
+ <p>Returns the string representation of the object</p>
1925
+
1926
+
1927
+ </div>
1928
+ </div>
1929
+ <div class="tags">
1930
+
1931
+ <p class="tag_title">Returns:</p>
1932
+ <ul class="return">
1933
+
1934
+ <li>
1935
+
1936
+
1937
+ <span class='type'>(<tt>String</tt>)</span>
1938
+
1939
+
1940
+
1941
+ &mdash;
1942
+ <div class='inline'>
1943
+ <p>String presentation of the object</p>
1944
+ </div>
1945
+
1946
+ </li>
1947
+
1948
+ </ul>
1949
+
1950
+ </div><table class="source_code">
1951
+ <tr>
1952
+ <td>
1953
+ <pre class="lines">
1954
+
1955
+
1956
+ 192
1957
+ 193
1958
+ 194</pre>
1959
+ </td>
1960
+ <td>
1961
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 192</span>
1962
+
1963
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
1964
+ <span class='id identifier rubyid_to_hash'>to_hash</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
1965
+ <span class='kw'>end</span></pre>
1966
+ </td>
1967
+ </tr>
1968
+ </table>
1969
+ </div>
1970
+
1971
+ <div class="method_details ">
1972
+ <h3 class="signature " id="valid?-instance_method">
1973
+
1974
+ #<strong>valid?</strong> &#x21d2; <tt>Boolean</tt>
1975
+
1976
+
1977
+
1978
+
1979
+
1980
+ </h3><div class="docstring">
1981
+ <div class="discussion">
1982
+
1983
+ <p>Check to see if the all the properties in the model are valid</p>
1984
+
1985
+
1986
+ </div>
1987
+ </div>
1988
+ <div class="tags">
1989
+
1990
+ <p class="tag_title">Returns:</p>
1991
+ <ul class="return">
1992
+
1993
+ <li>
1994
+
1995
+
1996
+ <span class='type'>(<tt>Boolean</tt>)</span>
1997
+
1998
+
1999
+
2000
+ &mdash;
2001
+ <div class='inline'>
2002
+ <p>true if the model is valid</p>
2003
+ </div>
2004
+
2005
+ </li>
2006
+
2007
+ </ul>
2008
+
2009
+ </div><table class="source_code">
2010
+ <tr>
2011
+ <td>
2012
+ <pre class="lines">
2013
+
2014
+
2015
+ 99
2016
+ 100
2017
+ 101</pre>
2018
+ </td>
2019
+ <td>
2020
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/balance.rb', line 99</span>
2021
+
2022
+ <span class='kw'>def</span> <span class='id identifier rubyid_valid?'>valid?</span>
2023
+ <span class='kw'>return</span> <span class='kw'>true</span>
2024
+ <span class='kw'>end</span></pre>
2025
+ </td>
2026
+ </tr>
2027
+ </table>
2028
+ </div>
2029
+
2030
+ </div>
2031
+
2032
+ </div>
2033
+
2034
+ <div id="footer">
2035
+ Generated on Wed Aug 8 17:39:07 2018 by
2036
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2037
+ 0.9.15 (ruby-2.5.1).
2038
+ </div>
2039
+
2040
+ </div>
2041
+ </body>
2042
+ </html>