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,2798 @@
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::Transaction
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::Transaction";
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 (T)</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">Transaction</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::Transaction
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::Transaction</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/transaction.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="#amount-instance_method" title="#amount (instance method)">#<strong>amount</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 amount.</p>
131
+ </div></span>
132
+
133
+ </li>
134
+
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#created_date-instance_method" title="#created_date (instance method)">#<strong>created_date</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>Date YYYY-MM-DD HH:MM:SS.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="public ">
164
+ <span class="summary_signature">
165
+
166
+ <a href="#currency-instance_method" title="#currency (instance method)">#<strong>currency</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>Returns the value of attribute currency.</p>
185
+ </div></span>
186
+
187
+ </li>
188
+
189
+
190
+ <li class="public ">
191
+ <span class="summary_signature">
192
+
193
+ <a href="#description-instance_method" title="#description (instance method)">#<strong>description</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 description.</p>
212
+ </div></span>
213
+
214
+ </li>
215
+
216
+
217
+ <li class="public ">
218
+ <span class="summary_signature">
219
+
220
+ <a href="#execution_date-instance_method" title="#execution_date (instance method)">#<strong>execution_date</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>Date YYYY-MM-DD.</p>
239
+ </div></span>
240
+
241
+ </li>
242
+
243
+
244
+ <li class="public ">
245
+ <span class="summary_signature">
246
+
247
+ <a href="#foreign_id-instance_method" title="#foreign_id (instance method)">#<strong>foreign_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 foreign_id.</p>
266
+ </div></span>
267
+
268
+ </li>
269
+
270
+
271
+ <li class="public ">
272
+ <span class="summary_signature">
273
+
274
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; Object </a>
275
+
276
+
277
+
278
+ </span>
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+ <span class="summary_desc"><div class='inline'>
292
+ <p>Returns the value of attribute name.</p>
293
+ </div></span>
294
+
295
+ </li>
296
+
297
+
298
+ <li class="public ">
299
+ <span class="summary_signature">
300
+
301
+ <a href="#total_rows-instance_method" title="#total_rows (instance method)">#<strong>total_rows</strong> &#x21d2; Object </a>
302
+
303
+
304
+
305
+ </span>
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+ <span class="summary_desc"><div class='inline'>
319
+ <p>Returns the value of attribute total_rows.</p>
320
+ </div></span>
321
+
322
+ </li>
323
+
324
+
325
+ <li class="public ">
326
+ <span class="summary_signature">
327
+
328
+ <a href="#transaction_id-instance_method" title="#transaction_id (instance method)">#<strong>transaction_id</strong> &#x21d2; Object </a>
329
+
330
+
331
+
332
+ </span>
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+ <span class="summary_desc"><div class='inline'>
346
+ <p>Returns the value of attribute transaction_id.</p>
347
+ </div></span>
348
+
349
+ </li>
350
+
351
+
352
+ <li class="public ">
353
+ <span class="summary_signature">
354
+
355
+ <a href="#transaction_type-instance_method" title="#transaction_type (instance method)">#<strong>transaction_type</strong> &#x21d2; Object </a>
356
+
357
+
358
+
359
+ </span>
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <span class="summary_desc"><div class='inline'>
373
+ <p>Returns the value of attribute transaction_type.</p>
374
+ </div></span>
375
+
376
+ </li>
377
+
378
+
379
+ <li class="public ">
380
+ <span class="summary_signature">
381
+
382
+ <a href="#value_date-instance_method" title="#value_date (instance method)">#<strong>value_date</strong> &#x21d2; Object </a>
383
+
384
+
385
+
386
+ </span>
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+ <span class="summary_desc"><div class='inline'>
400
+ <p>Date YYYY-MM-DD.</p>
401
+ </div></span>
402
+
403
+ </li>
404
+
405
+
406
+ <li class="public ">
407
+ <span class="summary_signature">
408
+
409
+ <a href="#wallet_credit_balance-instance_method" title="#wallet_credit_balance (instance method)">#<strong>wallet_credit_balance</strong> &#x21d2; Object </a>
410
+
411
+
412
+
413
+ </span>
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+ <span class="summary_desc"><div class='inline'>
427
+ <p>Returns the value of attribute wallet_credit_balance.</p>
428
+ </div></span>
429
+
430
+ </li>
431
+
432
+
433
+ <li class="public ">
434
+ <span class="summary_signature">
435
+
436
+ <a href="#wallet_credit_id-instance_method" title="#wallet_credit_id (instance method)">#<strong>wallet_credit_id</strong> &#x21d2; Object </a>
437
+
438
+
439
+
440
+ </span>
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+ <span class="summary_desc"><div class='inline'>
454
+ <p>Returns the value of attribute wallet_credit_id.</p>
455
+ </div></span>
456
+
457
+ </li>
458
+
459
+
460
+ <li class="public ">
461
+ <span class="summary_signature">
462
+
463
+ <a href="#wallet_debit_balance-instance_method" title="#wallet_debit_balance (instance method)">#<strong>wallet_debit_balance</strong> &#x21d2; Object </a>
464
+
465
+
466
+
467
+ </span>
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+ <span class="summary_desc"><div class='inline'>
481
+ <p>Returns the value of attribute wallet_debit_balance.</p>
482
+ </div></span>
483
+
484
+ </li>
485
+
486
+
487
+ <li class="public ">
488
+ <span class="summary_signature">
489
+
490
+ <a href="#wallet_debit_id-instance_method" title="#wallet_debit_id (instance method)">#<strong>wallet_debit_id</strong> &#x21d2; Object </a>
491
+
492
+
493
+
494
+ </span>
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <span class="summary_desc"><div class='inline'>
508
+ <p>Returns the value of attribute wallet_debit_id.</p>
509
+ </div></span>
510
+
511
+ </li>
512
+
513
+
514
+ </ul>
515
+
516
+
517
+
518
+
519
+
520
+ <h2>
521
+ Class Method Summary
522
+ <small><a href="#" class="summary_toggle">collapse</a></small>
523
+ </h2>
524
+
525
+ <ul class="summary">
526
+
527
+ <li class="public ">
528
+ <span class="summary_signature">
529
+
530
+ <a href="#attribute_map-class_method" title="attribute_map (class method)">.<strong>attribute_map</strong> &#x21d2; Object </a>
531
+
532
+
533
+
534
+ </span>
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+ <span class="summary_desc"><div class='inline'>
545
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
546
+ </div></span>
547
+
548
+ </li>
549
+
550
+
551
+ <li class="public ">
552
+ <span class="summary_signature">
553
+
554
+ <a href="#swagger_types-class_method" title="swagger_types (class method)">.<strong>swagger_types</strong> &#x21d2; Object </a>
555
+
556
+
557
+
558
+ </span>
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+ <span class="summary_desc"><div class='inline'>
569
+ <p>Attribute type mapping.</p>
570
+ </div></span>
571
+
572
+ </li>
573
+
574
+
575
+ </ul>
576
+
577
+ <h2>
578
+ Instance Method Summary
579
+ <small><a href="#" class="summary_toggle">collapse</a></small>
580
+ </h2>
581
+
582
+ <ul class="summary">
583
+
584
+ <li class="public ">
585
+ <span class="summary_signature">
586
+
587
+ <a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(o) &#x21d2; Object </a>
588
+
589
+
590
+
591
+ </span>
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+ <span class="summary_desc"><div class='inline'>
602
+ <p>Checks equality by comparing each attribute.</p>
603
+ </div></span>
604
+
605
+ </li>
606
+
607
+
608
+ <li class="public ">
609
+ <span class="summary_signature">
610
+
611
+ <a href="#_deserialize-instance_method" title="#_deserialize (instance method)">#<strong>_deserialize</strong>(type, value) &#x21d2; Object </a>
612
+
613
+
614
+
615
+ </span>
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+ <span class="summary_desc"><div class='inline'>
626
+ <p>Deserializes the data based on type.</p>
627
+ </div></span>
628
+
629
+ </li>
630
+
631
+
632
+ <li class="public ">
633
+ <span class="summary_signature">
634
+
635
+ <a href="#_to_hash-instance_method" title="#_to_hash (instance method)">#<strong>_to_hash</strong>(value) &#x21d2; Hash </a>
636
+
637
+
638
+
639
+ </span>
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+ <span class="summary_desc"><div class='inline'>
650
+ <p>Outputs non-array value in the form of hash For object, use to_hash.</p>
651
+ </div></span>
652
+
653
+ </li>
654
+
655
+
656
+ <li class="public ">
657
+ <span class="summary_signature">
658
+
659
+ <a href="#build_from_hash-instance_method" title="#build_from_hash (instance method)">#<strong>build_from_hash</strong>(attributes) &#x21d2; Object </a>
660
+
661
+
662
+
663
+ </span>
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+ <span class="summary_desc"><div class='inline'>
674
+ <p>Builds the object from hash.</p>
675
+ </div></span>
676
+
677
+ </li>
678
+
679
+
680
+ <li class="public ">
681
+ <span class="summary_signature">
682
+
683
+ <a href="#eql%3F-instance_method" title="#eql? (instance method)">#<strong>eql?</strong>(o) &#x21d2; Boolean </a>
684
+
685
+
686
+
687
+ </span>
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+ <span class="summary_desc"><div class='inline'></div></span>
698
+
699
+ </li>
700
+
701
+
702
+ <li class="public ">
703
+ <span class="summary_signature">
704
+
705
+ <a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> &#x21d2; Fixnum </a>
706
+
707
+
708
+
709
+ </span>
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+ <span class="summary_desc"><div class='inline'>
720
+ <p>Calculates hash code according to all attributes.</p>
721
+ </div></span>
722
+
723
+ </li>
724
+
725
+
726
+ <li class="public ">
727
+ <span class="summary_signature">
728
+
729
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(attributes = {}) &#x21d2; Transaction </a>
730
+
731
+
732
+
733
+ </span>
734
+
735
+
736
+ <span class="note title constructor">constructor</span>
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+ <span class="summary_desc"><div class='inline'>
746
+ <p>Initializes the object.</p>
747
+ </div></span>
748
+
749
+ </li>
750
+
751
+
752
+ <li class="public ">
753
+ <span class="summary_signature">
754
+
755
+ <a href="#list_invalid_properties-instance_method" title="#list_invalid_properties (instance method)">#<strong>list_invalid_properties</strong> &#x21d2; Object </a>
756
+
757
+
758
+
759
+ </span>
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+ <span class="summary_desc"><div class='inline'>
770
+ <p>Show invalid properties with the reasons.</p>
771
+ </div></span>
772
+
773
+ </li>
774
+
775
+
776
+ <li class="public ">
777
+ <span class="summary_signature">
778
+
779
+ <a href="#to_body-instance_method" title="#to_body (instance method)">#<strong>to_body</strong> &#x21d2; Hash </a>
780
+
781
+
782
+
783
+ </span>
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+ <span class="summary_desc"><div class='inline'>
794
+ <p>to_body is an alias to to_hash (backward compatibility).</p>
795
+ </div></span>
796
+
797
+ </li>
798
+
799
+
800
+ <li class="public ">
801
+ <span class="summary_signature">
802
+
803
+ <a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> &#x21d2; Hash </a>
804
+
805
+
806
+
807
+ </span>
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+ <span class="summary_desc"><div class='inline'>
818
+ <p>Returns the object in the form of hash.</p>
819
+ </div></span>
820
+
821
+ </li>
822
+
823
+
824
+ <li class="public ">
825
+ <span class="summary_signature">
826
+
827
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
828
+
829
+
830
+
831
+ </span>
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+ <span class="summary_desc"><div class='inline'>
842
+ <p>Returns the string representation of the object.</p>
843
+ </div></span>
844
+
845
+ </li>
846
+
847
+
848
+ <li class="public ">
849
+ <span class="summary_signature">
850
+
851
+ <a href="#valid%3F-instance_method" title="#valid? (instance method)">#<strong>valid?</strong> &#x21d2; Boolean </a>
852
+
853
+
854
+
855
+ </span>
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+ <span class="summary_desc"><div class='inline'>
866
+ <p>Check to see if the all the properties in the model are valid.</p>
867
+ </div></span>
868
+
869
+ </li>
870
+
871
+
872
+ </ul>
873
+
874
+
875
+ <div id="constructor_details" class="method_details_list">
876
+ <h2>Constructor Details</h2>
877
+
878
+ <div class="method_details first">
879
+ <h3 class="signature first" id="initialize-instance_method">
880
+
881
+ #<strong>initialize</strong>(attributes = {}) &#x21d2; <tt><span class='object_link'><a href="" title="TreezorClient::Transaction (class)">Transaction</a></span></tt>
882
+
883
+
884
+
885
+
886
+
887
+ </h3><div class="docstring">
888
+ <div class="discussion">
889
+
890
+ <p>Initializes the object</p>
891
+
892
+
893
+ </div>
894
+ </div>
895
+ <div class="tags">
896
+ <p class="tag_title">Parameters:</p>
897
+ <ul class="param">
898
+
899
+ <li>
900
+
901
+ <span class='name'>attributes</span>
902
+
903
+
904
+ <span class='type'>(<tt>Hash</tt>)</span>
905
+
906
+
907
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
908
+
909
+
910
+ &mdash;
911
+ <div class='inline'>
912
+ <p>Model attributes in the form of hash</p>
913
+ </div>
914
+
915
+ </li>
916
+
917
+ </ul>
918
+
919
+
920
+ </div><table class="source_code">
921
+ <tr>
922
+ <td>
923
+ <pre class="lines">
924
+
925
+
926
+ 96
927
+ 97
928
+ 98
929
+ 99
930
+ 100
931
+ 101
932
+ 102
933
+ 103
934
+ 104
935
+ 105
936
+ 106
937
+ 107
938
+ 108
939
+ 109
940
+ 110
941
+ 111
942
+ 112
943
+ 113
944
+ 114
945
+ 115
946
+ 116
947
+ 117
948
+ 118
949
+ 119
950
+ 120
951
+ 121
952
+ 122
953
+ 123
954
+ 124
955
+ 125
956
+ 126
957
+ 127
958
+ 128
959
+ 129
960
+ 130
961
+ 131
962
+ 132
963
+ 133
964
+ 134
965
+ 135
966
+ 136
967
+ 137
968
+ 138
969
+ 139
970
+ 140
971
+ 141
972
+ 142
973
+ 143
974
+ 144
975
+ 145
976
+ 146
977
+ 147
978
+ 148
979
+ 149
980
+ 150
981
+ 151
982
+ 152
983
+ 153
984
+ 154
985
+ 155
986
+ 156
987
+ 157
988
+ 158
989
+ 159
990
+ 160
991
+ 161
992
+ 162</pre>
993
+ </td>
994
+ <td>
995
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 96</span>
996
+
997
+ <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>
998
+ <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>
999
+
1000
+ <span class='comment'># convert string to symbol for hash key
1001
+ </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>
1002
+
1003
+ <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;transactionId&#39;</span><span class='rparen'>)</span>
1004
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_transaction_id'>transaction_id</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;transactionId&#39;</span><span class='rbracket'>]</span>
1005
+ <span class='kw'>end</span>
1006
+
1007
+ <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;walletDebitId&#39;</span><span class='rparen'>)</span>
1008
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wallet_debit_id'>wallet_debit_id</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;walletDebitId&#39;</span><span class='rbracket'>]</span>
1009
+ <span class='kw'>end</span>
1010
+
1011
+ <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;walletCreditId&#39;</span><span class='rparen'>)</span>
1012
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wallet_credit_id'>wallet_credit_id</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;walletCreditId&#39;</span><span class='rbracket'>]</span>
1013
+ <span class='kw'>end</span>
1014
+
1015
+ <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;transactionType&#39;</span><span class='rparen'>)</span>
1016
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_transaction_type'>transaction_type</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;transactionType&#39;</span><span class='rbracket'>]</span>
1017
+ <span class='kw'>end</span>
1018
+
1019
+ <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;foreignId&#39;</span><span class='rparen'>)</span>
1020
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_foreign_id'>foreign_id</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;foreignId&#39;</span><span class='rbracket'>]</span>
1021
+ <span class='kw'>end</span>
1022
+
1023
+ <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;name&#39;</span><span class='rparen'>)</span>
1024
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;name&#39;</span><span class='rbracket'>]</span>
1025
+ <span class='kw'>end</span>
1026
+
1027
+ <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;description&#39;</span><span class='rparen'>)</span>
1028
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_description'>description</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;description&#39;</span><span class='rbracket'>]</span>
1029
+ <span class='kw'>end</span>
1030
+
1031
+ <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;valueDate&#39;</span><span class='rparen'>)</span>
1032
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value_date'>value_date</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;valueDate&#39;</span><span class='rbracket'>]</span>
1033
+ <span class='kw'>end</span>
1034
+
1035
+ <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;executionDate&#39;</span><span class='rparen'>)</span>
1036
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_execution_date'>execution_date</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;executionDate&#39;</span><span class='rbracket'>]</span>
1037
+ <span class='kw'>end</span>
1038
+
1039
+ <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;amount&#39;</span><span class='rparen'>)</span>
1040
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_amount'>amount</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;amount&#39;</span><span class='rbracket'>]</span>
1041
+ <span class='kw'>end</span>
1042
+
1043
+ <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;walletDebitBalance&#39;</span><span class='rparen'>)</span>
1044
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wallet_debit_balance'>wallet_debit_balance</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;walletDebitBalance&#39;</span><span class='rbracket'>]</span>
1045
+ <span class='kw'>end</span>
1046
+
1047
+ <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;walletCreditBalance&#39;</span><span class='rparen'>)</span>
1048
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wallet_credit_balance'>wallet_credit_balance</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;walletCreditBalance&#39;</span><span class='rbracket'>]</span>
1049
+ <span class='kw'>end</span>
1050
+
1051
+ <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>
1052
+ <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>
1053
+ <span class='kw'>end</span>
1054
+
1055
+ <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;createdDate&#39;</span><span class='rparen'>)</span>
1056
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_created_date'>created_date</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;createdDate&#39;</span><span class='rbracket'>]</span>
1057
+ <span class='kw'>end</span>
1058
+
1059
+ <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;totalRows&#39;</span><span class='rparen'>)</span>
1060
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_total_rows'>total_rows</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;totalRows&#39;</span><span class='rbracket'>]</span>
1061
+ <span class='kw'>end</span>
1062
+
1063
+ <span class='kw'>end</span></pre>
1064
+ </td>
1065
+ </tr>
1066
+ </table>
1067
+ </div>
1068
+
1069
+ </div>
1070
+
1071
+ <div id="instance_attr_details" class="attr_details">
1072
+ <h2>Instance Attribute Details</h2>
1073
+
1074
+
1075
+ <span id="amount=-instance_method"></span>
1076
+ <div class="method_details first">
1077
+ <h3 class="signature first" id="amount-instance_method">
1078
+
1079
+ #<strong>amount</strong> &#x21d2; <tt>Object</tt>
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+ </h3><div class="docstring">
1086
+ <div class="discussion">
1087
+
1088
+ <p>Returns the value of attribute amount</p>
1089
+
1090
+
1091
+ </div>
1092
+ </div>
1093
+ <div class="tags">
1094
+
1095
+
1096
+ </div><table class="source_code">
1097
+ <tr>
1098
+ <td>
1099
+ <pre class="lines">
1100
+
1101
+
1102
+ 38
1103
+ 39
1104
+ 40</pre>
1105
+ </td>
1106
+ <td>
1107
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 38</span>
1108
+
1109
+ <span class='kw'>def</span> <span class='id identifier rubyid_amount'>amount</span>
1110
+ <span class='ivar'>@amount</span>
1111
+ <span class='kw'>end</span></pre>
1112
+ </td>
1113
+ </tr>
1114
+ </table>
1115
+ </div>
1116
+
1117
+
1118
+ <span id="created_date=-instance_method"></span>
1119
+ <div class="method_details ">
1120
+ <h3 class="signature " id="created_date-instance_method">
1121
+
1122
+ #<strong>created_date</strong> &#x21d2; <tt>Object</tt>
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+ </h3><div class="docstring">
1129
+ <div class="discussion">
1130
+
1131
+ <p>Date YYYY-MM-DD HH:MM:SS</p>
1132
+
1133
+
1134
+ </div>
1135
+ </div>
1136
+ <div class="tags">
1137
+
1138
+
1139
+ </div><table class="source_code">
1140
+ <tr>
1141
+ <td>
1142
+ <pre class="lines">
1143
+
1144
+
1145
+ 47
1146
+ 48
1147
+ 49</pre>
1148
+ </td>
1149
+ <td>
1150
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 47</span>
1151
+
1152
+ <span class='kw'>def</span> <span class='id identifier rubyid_created_date'>created_date</span>
1153
+ <span class='ivar'>@created_date</span>
1154
+ <span class='kw'>end</span></pre>
1155
+ </td>
1156
+ </tr>
1157
+ </table>
1158
+ </div>
1159
+
1160
+
1161
+ <span id="currency=-instance_method"></span>
1162
+ <div class="method_details ">
1163
+ <h3 class="signature " id="currency-instance_method">
1164
+
1165
+ #<strong>currency</strong> &#x21d2; <tt>Object</tt>
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+ </h3><div class="docstring">
1172
+ <div class="discussion">
1173
+
1174
+ <p>Returns the value of attribute currency</p>
1175
+
1176
+
1177
+ </div>
1178
+ </div>
1179
+ <div class="tags">
1180
+
1181
+
1182
+ </div><table class="source_code">
1183
+ <tr>
1184
+ <td>
1185
+ <pre class="lines">
1186
+
1187
+
1188
+ 44
1189
+ 45
1190
+ 46</pre>
1191
+ </td>
1192
+ <td>
1193
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 44</span>
1194
+
1195
+ <span class='kw'>def</span> <span class='id identifier rubyid_currency'>currency</span>
1196
+ <span class='ivar'>@currency</span>
1197
+ <span class='kw'>end</span></pre>
1198
+ </td>
1199
+ </tr>
1200
+ </table>
1201
+ </div>
1202
+
1203
+
1204
+ <span id="description=-instance_method"></span>
1205
+ <div class="method_details ">
1206
+ <h3 class="signature " id="description-instance_method">
1207
+
1208
+ #<strong>description</strong> &#x21d2; <tt>Object</tt>
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+ </h3><div class="docstring">
1215
+ <div class="discussion">
1216
+
1217
+ <p>Returns the value of attribute description</p>
1218
+
1219
+
1220
+ </div>
1221
+ </div>
1222
+ <div class="tags">
1223
+
1224
+
1225
+ </div><table class="source_code">
1226
+ <tr>
1227
+ <td>
1228
+ <pre class="lines">
1229
+
1230
+
1231
+ 30
1232
+ 31
1233
+ 32</pre>
1234
+ </td>
1235
+ <td>
1236
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 30</span>
1237
+
1238
+ <span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
1239
+ <span class='ivar'>@description</span>
1240
+ <span class='kw'>end</span></pre>
1241
+ </td>
1242
+ </tr>
1243
+ </table>
1244
+ </div>
1245
+
1246
+
1247
+ <span id="execution_date=-instance_method"></span>
1248
+ <div class="method_details ">
1249
+ <h3 class="signature " id="execution_date-instance_method">
1250
+
1251
+ #<strong>execution_date</strong> &#x21d2; <tt>Object</tt>
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+ </h3><div class="docstring">
1258
+ <div class="discussion">
1259
+
1260
+ <p>Date YYYY-MM-DD</p>
1261
+
1262
+
1263
+ </div>
1264
+ </div>
1265
+ <div class="tags">
1266
+
1267
+
1268
+ </div><table class="source_code">
1269
+ <tr>
1270
+ <td>
1271
+ <pre class="lines">
1272
+
1273
+
1274
+ 36
1275
+ 37
1276
+ 38</pre>
1277
+ </td>
1278
+ <td>
1279
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 36</span>
1280
+
1281
+ <span class='kw'>def</span> <span class='id identifier rubyid_execution_date'>execution_date</span>
1282
+ <span class='ivar'>@execution_date</span>
1283
+ <span class='kw'>end</span></pre>
1284
+ </td>
1285
+ </tr>
1286
+ </table>
1287
+ </div>
1288
+
1289
+
1290
+ <span id="foreign_id=-instance_method"></span>
1291
+ <div class="method_details ">
1292
+ <h3 class="signature " id="foreign_id-instance_method">
1293
+
1294
+ #<strong>foreign_id</strong> &#x21d2; <tt>Object</tt>
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+ </h3><div class="docstring">
1301
+ <div class="discussion">
1302
+
1303
+ <p>Returns the value of attribute foreign_id</p>
1304
+
1305
+
1306
+ </div>
1307
+ </div>
1308
+ <div class="tags">
1309
+
1310
+
1311
+ </div><table class="source_code">
1312
+ <tr>
1313
+ <td>
1314
+ <pre class="lines">
1315
+
1316
+
1317
+ 26
1318
+ 27
1319
+ 28</pre>
1320
+ </td>
1321
+ <td>
1322
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 26</span>
1323
+
1324
+ <span class='kw'>def</span> <span class='id identifier rubyid_foreign_id'>foreign_id</span>
1325
+ <span class='ivar'>@foreign_id</span>
1326
+ <span class='kw'>end</span></pre>
1327
+ </td>
1328
+ </tr>
1329
+ </table>
1330
+ </div>
1331
+
1332
+
1333
+ <span id="name=-instance_method"></span>
1334
+ <div class="method_details ">
1335
+ <h3 class="signature " id="name-instance_method">
1336
+
1337
+ #<strong>name</strong> &#x21d2; <tt>Object</tt>
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+ </h3><div class="docstring">
1344
+ <div class="discussion">
1345
+
1346
+ <p>Returns the value of attribute name</p>
1347
+
1348
+
1349
+ </div>
1350
+ </div>
1351
+ <div class="tags">
1352
+
1353
+
1354
+ </div><table class="source_code">
1355
+ <tr>
1356
+ <td>
1357
+ <pre class="lines">
1358
+
1359
+
1360
+ 28
1361
+ 29
1362
+ 30</pre>
1363
+ </td>
1364
+ <td>
1365
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 28</span>
1366
+
1367
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
1368
+ <span class='ivar'>@name</span>
1369
+ <span class='kw'>end</span></pre>
1370
+ </td>
1371
+ </tr>
1372
+ </table>
1373
+ </div>
1374
+
1375
+
1376
+ <span id="total_rows=-instance_method"></span>
1377
+ <div class="method_details ">
1378
+ <h3 class="signature " id="total_rows-instance_method">
1379
+
1380
+ #<strong>total_rows</strong> &#x21d2; <tt>Object</tt>
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+ </h3><div class="docstring">
1387
+ <div class="discussion">
1388
+
1389
+ <p>Returns the value of attribute total_rows</p>
1390
+
1391
+
1392
+ </div>
1393
+ </div>
1394
+ <div class="tags">
1395
+
1396
+
1397
+ </div><table class="source_code">
1398
+ <tr>
1399
+ <td>
1400
+ <pre class="lines">
1401
+
1402
+
1403
+ 49
1404
+ 50
1405
+ 51</pre>
1406
+ </td>
1407
+ <td>
1408
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 49</span>
1409
+
1410
+ <span class='kw'>def</span> <span class='id identifier rubyid_total_rows'>total_rows</span>
1411
+ <span class='ivar'>@total_rows</span>
1412
+ <span class='kw'>end</span></pre>
1413
+ </td>
1414
+ </tr>
1415
+ </table>
1416
+ </div>
1417
+
1418
+
1419
+ <span id="transaction_id=-instance_method"></span>
1420
+ <div class="method_details ">
1421
+ <h3 class="signature " id="transaction_id-instance_method">
1422
+
1423
+ #<strong>transaction_id</strong> &#x21d2; <tt>Object</tt>
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+ </h3><div class="docstring">
1430
+ <div class="discussion">
1431
+
1432
+ <p>Returns the value of attribute transaction_id</p>
1433
+
1434
+
1435
+ </div>
1436
+ </div>
1437
+ <div class="tags">
1438
+
1439
+
1440
+ </div><table class="source_code">
1441
+ <tr>
1442
+ <td>
1443
+ <pre class="lines">
1444
+
1445
+
1446
+ 18
1447
+ 19
1448
+ 20</pre>
1449
+ </td>
1450
+ <td>
1451
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 18</span>
1452
+
1453
+ <span class='kw'>def</span> <span class='id identifier rubyid_transaction_id'>transaction_id</span>
1454
+ <span class='ivar'>@transaction_id</span>
1455
+ <span class='kw'>end</span></pre>
1456
+ </td>
1457
+ </tr>
1458
+ </table>
1459
+ </div>
1460
+
1461
+
1462
+ <span id="transaction_type=-instance_method"></span>
1463
+ <div class="method_details ">
1464
+ <h3 class="signature " id="transaction_type-instance_method">
1465
+
1466
+ #<strong>transaction_type</strong> &#x21d2; <tt>Object</tt>
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+ </h3><div class="docstring">
1473
+ <div class="discussion">
1474
+
1475
+ <p>Returns the value of attribute transaction_type</p>
1476
+
1477
+
1478
+ </div>
1479
+ </div>
1480
+ <div class="tags">
1481
+
1482
+
1483
+ </div><table class="source_code">
1484
+ <tr>
1485
+ <td>
1486
+ <pre class="lines">
1487
+
1488
+
1489
+ 24
1490
+ 25
1491
+ 26</pre>
1492
+ </td>
1493
+ <td>
1494
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 24</span>
1495
+
1496
+ <span class='kw'>def</span> <span class='id identifier rubyid_transaction_type'>transaction_type</span>
1497
+ <span class='ivar'>@transaction_type</span>
1498
+ <span class='kw'>end</span></pre>
1499
+ </td>
1500
+ </tr>
1501
+ </table>
1502
+ </div>
1503
+
1504
+
1505
+ <span id="value_date=-instance_method"></span>
1506
+ <div class="method_details ">
1507
+ <h3 class="signature " id="value_date-instance_method">
1508
+
1509
+ #<strong>value_date</strong> &#x21d2; <tt>Object</tt>
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+ </h3><div class="docstring">
1516
+ <div class="discussion">
1517
+
1518
+ <p>Date YYYY-MM-DD</p>
1519
+
1520
+
1521
+ </div>
1522
+ </div>
1523
+ <div class="tags">
1524
+
1525
+
1526
+ </div><table class="source_code">
1527
+ <tr>
1528
+ <td>
1529
+ <pre class="lines">
1530
+
1531
+
1532
+ 33
1533
+ 34
1534
+ 35</pre>
1535
+ </td>
1536
+ <td>
1537
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 33</span>
1538
+
1539
+ <span class='kw'>def</span> <span class='id identifier rubyid_value_date'>value_date</span>
1540
+ <span class='ivar'>@value_date</span>
1541
+ <span class='kw'>end</span></pre>
1542
+ </td>
1543
+ </tr>
1544
+ </table>
1545
+ </div>
1546
+
1547
+
1548
+ <span id="wallet_credit_balance=-instance_method"></span>
1549
+ <div class="method_details ">
1550
+ <h3 class="signature " id="wallet_credit_balance-instance_method">
1551
+
1552
+ #<strong>wallet_credit_balance</strong> &#x21d2; <tt>Object</tt>
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+ </h3><div class="docstring">
1559
+ <div class="discussion">
1560
+
1561
+ <p>Returns the value of attribute wallet_credit_balance</p>
1562
+
1563
+
1564
+ </div>
1565
+ </div>
1566
+ <div class="tags">
1567
+
1568
+
1569
+ </div><table class="source_code">
1570
+ <tr>
1571
+ <td>
1572
+ <pre class="lines">
1573
+
1574
+
1575
+ 42
1576
+ 43
1577
+ 44</pre>
1578
+ </td>
1579
+ <td>
1580
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 42</span>
1581
+
1582
+ <span class='kw'>def</span> <span class='id identifier rubyid_wallet_credit_balance'>wallet_credit_balance</span>
1583
+ <span class='ivar'>@wallet_credit_balance</span>
1584
+ <span class='kw'>end</span></pre>
1585
+ </td>
1586
+ </tr>
1587
+ </table>
1588
+ </div>
1589
+
1590
+
1591
+ <span id="wallet_credit_id=-instance_method"></span>
1592
+ <div class="method_details ">
1593
+ <h3 class="signature " id="wallet_credit_id-instance_method">
1594
+
1595
+ #<strong>wallet_credit_id</strong> &#x21d2; <tt>Object</tt>
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+ </h3><div class="docstring">
1602
+ <div class="discussion">
1603
+
1604
+ <p>Returns the value of attribute wallet_credit_id</p>
1605
+
1606
+
1607
+ </div>
1608
+ </div>
1609
+ <div class="tags">
1610
+
1611
+
1612
+ </div><table class="source_code">
1613
+ <tr>
1614
+ <td>
1615
+ <pre class="lines">
1616
+
1617
+
1618
+ 22
1619
+ 23
1620
+ 24</pre>
1621
+ </td>
1622
+ <td>
1623
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 22</span>
1624
+
1625
+ <span class='kw'>def</span> <span class='id identifier rubyid_wallet_credit_id'>wallet_credit_id</span>
1626
+ <span class='ivar'>@wallet_credit_id</span>
1627
+ <span class='kw'>end</span></pre>
1628
+ </td>
1629
+ </tr>
1630
+ </table>
1631
+ </div>
1632
+
1633
+
1634
+ <span id="wallet_debit_balance=-instance_method"></span>
1635
+ <div class="method_details ">
1636
+ <h3 class="signature " id="wallet_debit_balance-instance_method">
1637
+
1638
+ #<strong>wallet_debit_balance</strong> &#x21d2; <tt>Object</tt>
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+ </h3><div class="docstring">
1645
+ <div class="discussion">
1646
+
1647
+ <p>Returns the value of attribute wallet_debit_balance</p>
1648
+
1649
+
1650
+ </div>
1651
+ </div>
1652
+ <div class="tags">
1653
+
1654
+
1655
+ </div><table class="source_code">
1656
+ <tr>
1657
+ <td>
1658
+ <pre class="lines">
1659
+
1660
+
1661
+ 40
1662
+ 41
1663
+ 42</pre>
1664
+ </td>
1665
+ <td>
1666
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 40</span>
1667
+
1668
+ <span class='kw'>def</span> <span class='id identifier rubyid_wallet_debit_balance'>wallet_debit_balance</span>
1669
+ <span class='ivar'>@wallet_debit_balance</span>
1670
+ <span class='kw'>end</span></pre>
1671
+ </td>
1672
+ </tr>
1673
+ </table>
1674
+ </div>
1675
+
1676
+
1677
+ <span id="wallet_debit_id=-instance_method"></span>
1678
+ <div class="method_details ">
1679
+ <h3 class="signature " id="wallet_debit_id-instance_method">
1680
+
1681
+ #<strong>wallet_debit_id</strong> &#x21d2; <tt>Object</tt>
1682
+
1683
+
1684
+
1685
+
1686
+
1687
+ </h3><div class="docstring">
1688
+ <div class="discussion">
1689
+
1690
+ <p>Returns the value of attribute wallet_debit_id</p>
1691
+
1692
+
1693
+ </div>
1694
+ </div>
1695
+ <div class="tags">
1696
+
1697
+
1698
+ </div><table class="source_code">
1699
+ <tr>
1700
+ <td>
1701
+ <pre class="lines">
1702
+
1703
+
1704
+ 20
1705
+ 21
1706
+ 22</pre>
1707
+ </td>
1708
+ <td>
1709
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 20</span>
1710
+
1711
+ <span class='kw'>def</span> <span class='id identifier rubyid_wallet_debit_id'>wallet_debit_id</span>
1712
+ <span class='ivar'>@wallet_debit_id</span>
1713
+ <span class='kw'>end</span></pre>
1714
+ </td>
1715
+ </tr>
1716
+ </table>
1717
+ </div>
1718
+
1719
+ </div>
1720
+
1721
+
1722
+ <div id="class_method_details" class="method_details_list">
1723
+ <h2>Class Method Details</h2>
1724
+
1725
+
1726
+ <div class="method_details first">
1727
+ <h3 class="signature first" id="attribute_map-class_method">
1728
+
1729
+ .<strong>attribute_map</strong> &#x21d2; <tt>Object</tt>
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+ </h3><div class="docstring">
1736
+ <div class="discussion">
1737
+
1738
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
1739
+
1740
+
1741
+ </div>
1742
+ </div>
1743
+ <div class="tags">
1744
+
1745
+
1746
+ </div><table class="source_code">
1747
+ <tr>
1748
+ <td>
1749
+ <pre class="lines">
1750
+
1751
+
1752
+ 53
1753
+ 54
1754
+ 55
1755
+ 56
1756
+ 57
1757
+ 58
1758
+ 59
1759
+ 60
1760
+ 61
1761
+ 62
1762
+ 63
1763
+ 64
1764
+ 65
1765
+ 66
1766
+ 67
1767
+ 68
1768
+ 69
1769
+ 70
1770
+ 71</pre>
1771
+ </td>
1772
+ <td>
1773
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 53</span>
1774
+
1775
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span>
1776
+ <span class='lbrace'>{</span>
1777
+ <span class='symbol'>:&#39;transaction_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;transactionId&#39;</span><span class='comma'>,</span>
1778
+ <span class='symbol'>:&#39;wallet_debit_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;walletDebitId&#39;</span><span class='comma'>,</span>
1779
+ <span class='symbol'>:&#39;wallet_credit_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;walletCreditId&#39;</span><span class='comma'>,</span>
1780
+ <span class='symbol'>:&#39;transaction_type&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;transactionType&#39;</span><span class='comma'>,</span>
1781
+ <span class='symbol'>:&#39;foreign_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;foreignId&#39;</span><span class='comma'>,</span>
1782
+ <span class='symbol'>:&#39;name&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;name&#39;</span><span class='comma'>,</span>
1783
+ <span class='symbol'>:&#39;description&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;description&#39;</span><span class='comma'>,</span>
1784
+ <span class='symbol'>:&#39;value_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;valueDate&#39;</span><span class='comma'>,</span>
1785
+ <span class='symbol'>:&#39;execution_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;executionDate&#39;</span><span class='comma'>,</span>
1786
+ <span class='symbol'>:&#39;amount&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;amount&#39;</span><span class='comma'>,</span>
1787
+ <span class='symbol'>:&#39;wallet_debit_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;walletDebitBalance&#39;</span><span class='comma'>,</span>
1788
+ <span class='symbol'>:&#39;wallet_credit_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;walletCreditBalance&#39;</span><span class='comma'>,</span>
1789
+ <span class='symbol'>:&#39;currency&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;currency&#39;</span><span class='comma'>,</span>
1790
+ <span class='symbol'>:&#39;created_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;createdDate&#39;</span><span class='comma'>,</span>
1791
+ <span class='symbol'>:&#39;total_rows&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;totalRows&#39;</span>
1792
+ <span class='rbrace'>}</span>
1793
+ <span class='kw'>end</span></pre>
1794
+ </td>
1795
+ </tr>
1796
+ </table>
1797
+ </div>
1798
+
1799
+ <div class="method_details ">
1800
+ <h3 class="signature " id="swagger_types-class_method">
1801
+
1802
+ .<strong>swagger_types</strong> &#x21d2; <tt>Object</tt>
1803
+
1804
+
1805
+
1806
+
1807
+
1808
+ </h3><div class="docstring">
1809
+ <div class="discussion">
1810
+
1811
+ <p>Attribute type mapping.</p>
1812
+
1813
+
1814
+ </div>
1815
+ </div>
1816
+ <div class="tags">
1817
+
1818
+
1819
+ </div><table class="source_code">
1820
+ <tr>
1821
+ <td>
1822
+ <pre class="lines">
1823
+
1824
+
1825
+ 74
1826
+ 75
1827
+ 76
1828
+ 77
1829
+ 78
1830
+ 79
1831
+ 80
1832
+ 81
1833
+ 82
1834
+ 83
1835
+ 84
1836
+ 85
1837
+ 86
1838
+ 87
1839
+ 88
1840
+ 89
1841
+ 90
1842
+ 91
1843
+ 92</pre>
1844
+ </td>
1845
+ <td>
1846
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 74</span>
1847
+
1848
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_swagger_types'>swagger_types</span>
1849
+ <span class='lbrace'>{</span>
1850
+ <span class='symbol'>:&#39;transaction_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1851
+ <span class='symbol'>:&#39;wallet_debit_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1852
+ <span class='symbol'>:&#39;wallet_credit_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1853
+ <span class='symbol'>:&#39;transaction_type&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1854
+ <span class='symbol'>:&#39;foreign_id&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span><span class='comma'>,</span>
1855
+ <span class='symbol'>:&#39;name&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1856
+ <span class='symbol'>:&#39;description&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1857
+ <span class='symbol'>:&#39;value_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1858
+ <span class='symbol'>:&#39;execution_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1859
+ <span class='symbol'>:&#39;amount&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1860
+ <span class='symbol'>:&#39;wallet_debit_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1861
+ <span class='symbol'>:&#39;wallet_credit_balance&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1862
+ <span class='symbol'>:&#39;currency&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1863
+ <span class='symbol'>:&#39;created_date&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1864
+ <span class='symbol'>:&#39;total_rows&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;Integer&#39;</span>
1865
+ <span class='rbrace'>}</span>
1866
+ <span class='kw'>end</span></pre>
1867
+ </td>
1868
+ </tr>
1869
+ </table>
1870
+ </div>
1871
+
1872
+ </div>
1873
+
1874
+ <div id="instance_method_details" class="method_details_list">
1875
+ <h2>Instance Method Details</h2>
1876
+
1877
+
1878
+ <div class="method_details first">
1879
+ <h3 class="signature first" id="==-instance_method">
1880
+
1881
+ #<strong>==</strong>(o) &#x21d2; <tt>Object</tt>
1882
+
1883
+
1884
+
1885
+
1886
+
1887
+ </h3><div class="docstring">
1888
+ <div class="discussion">
1889
+
1890
+ <p>Checks equality by comparing each attribute.</p>
1891
+
1892
+
1893
+ </div>
1894
+ </div>
1895
+ <div class="tags">
1896
+ <p class="tag_title">Parameters:</p>
1897
+ <ul class="param">
1898
+
1899
+ <li>
1900
+
1901
+ <span class='name'>Object</span>
1902
+
1903
+
1904
+ <span class='type'>(<tt>Object</tt>)</span>
1905
+
1906
+
1907
+
1908
+ &mdash;
1909
+ <div class='inline'>
1910
+ <p>to be compared</p>
1911
+ </div>
1912
+
1913
+ </li>
1914
+
1915
+ </ul>
1916
+
1917
+
1918
+ </div><table class="source_code">
1919
+ <tr>
1920
+ <td>
1921
+ <pre class="lines">
1922
+
1923
+
1924
+ 179
1925
+ 180
1926
+ 181
1927
+ 182
1928
+ 183
1929
+ 184
1930
+ 185
1931
+ 186
1932
+ 187
1933
+ 188
1934
+ 189
1935
+ 190
1936
+ 191
1937
+ 192
1938
+ 193
1939
+ 194
1940
+ 195
1941
+ 196
1942
+ 197</pre>
1943
+ </td>
1944
+ <td>
1945
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 179</span>
1946
+
1947
+ <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>
1948
+ <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>
1949
+ <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>
1950
+ <span class='id identifier rubyid_transaction_id'>transaction_id</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_transaction_id'>transaction_id</span> <span class='op'>&amp;&amp;</span>
1951
+ <span class='id identifier rubyid_wallet_debit_id'>wallet_debit_id</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_wallet_debit_id'>wallet_debit_id</span> <span class='op'>&amp;&amp;</span>
1952
+ <span class='id identifier rubyid_wallet_credit_id'>wallet_credit_id</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_wallet_credit_id'>wallet_credit_id</span> <span class='op'>&amp;&amp;</span>
1953
+ <span class='id identifier rubyid_transaction_type'>transaction_type</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_transaction_type'>transaction_type</span> <span class='op'>&amp;&amp;</span>
1954
+ <span class='id identifier rubyid_foreign_id'>foreign_id</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_foreign_id'>foreign_id</span> <span class='op'>&amp;&amp;</span>
1955
+ <span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>&amp;&amp;</span>
1956
+ <span class='id identifier rubyid_description'>description</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_description'>description</span> <span class='op'>&amp;&amp;</span>
1957
+ <span class='id identifier rubyid_value_date'>value_date</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_value_date'>value_date</span> <span class='op'>&amp;&amp;</span>
1958
+ <span class='id identifier rubyid_execution_date'>execution_date</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_execution_date'>execution_date</span> <span class='op'>&amp;&amp;</span>
1959
+ <span class='id identifier rubyid_amount'>amount</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_amount'>amount</span> <span class='op'>&amp;&amp;</span>
1960
+ <span class='id identifier rubyid_wallet_debit_balance'>wallet_debit_balance</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_wallet_debit_balance'>wallet_debit_balance</span> <span class='op'>&amp;&amp;</span>
1961
+ <span class='id identifier rubyid_wallet_credit_balance'>wallet_credit_balance</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_wallet_credit_balance'>wallet_credit_balance</span> <span class='op'>&amp;&amp;</span>
1962
+ <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>
1963
+ <span class='id identifier rubyid_created_date'>created_date</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_created_date'>created_date</span> <span class='op'>&amp;&amp;</span>
1964
+ <span class='id identifier rubyid_total_rows'>total_rows</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_total_rows'>total_rows</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="_deserialize-instance_method">
1973
+
1974
+ #<strong>_deserialize</strong>(type, value) &#x21d2; <tt>Object</tt>
1975
+
1976
+
1977
+
1978
+
1979
+
1980
+ </h3><div class="docstring">
1981
+ <div class="discussion">
1982
+
1983
+ <p>Deserializes the data based on type</p>
1984
+
1985
+
1986
+ </div>
1987
+ </div>
1988
+ <div class="tags">
1989
+ <p class="tag_title">Parameters:</p>
1990
+ <ul class="param">
1991
+
1992
+ <li>
1993
+
1994
+ <span class='name'>string</span>
1995
+
1996
+
1997
+ <span class='type'></span>
1998
+
1999
+
2000
+
2001
+ &mdash;
2002
+ <div class='inline'>
2003
+ <p>type Data type</p>
2004
+ </div>
2005
+
2006
+ </li>
2007
+
2008
+ <li>
2009
+
2010
+ <span class='name'>string</span>
2011
+
2012
+
2013
+ <span class='type'></span>
2014
+
2015
+
2016
+
2017
+ &mdash;
2018
+ <div class='inline'>
2019
+ <p>value Value to be deserialized</p>
2020
+ </div>
2021
+
2022
+ </li>
2023
+
2024
+ </ul>
2025
+
2026
+ <p class="tag_title">Returns:</p>
2027
+ <ul class="return">
2028
+
2029
+ <li>
2030
+
2031
+
2032
+ <span class='type'>(<tt>Object</tt>)</span>
2033
+
2034
+
2035
+
2036
+ &mdash;
2037
+ <div class='inline'>
2038
+ <p>Deserialized data</p>
2039
+ </div>
2040
+
2041
+ </li>
2042
+
2043
+ </ul>
2044
+
2045
+ </div><table class="source_code">
2046
+ <tr>
2047
+ <td>
2048
+ <pre class="lines">
2049
+
2050
+
2051
+ 235
2052
+ 236
2053
+ 237
2054
+ 238
2055
+ 239
2056
+ 240
2057
+ 241
2058
+ 242
2059
+ 243
2060
+ 244
2061
+ 245
2062
+ 246
2063
+ 247
2064
+ 248
2065
+ 249
2066
+ 250
2067
+ 251
2068
+ 252
2069
+ 253
2070
+ 254
2071
+ 255
2072
+ 256
2073
+ 257
2074
+ 258
2075
+ 259
2076
+ 260
2077
+ 261
2078
+ 262
2079
+ 263
2080
+ 264
2081
+ 265
2082
+ 266
2083
+ 267
2084
+ 268
2085
+ 269
2086
+ 270
2087
+ 271</pre>
2088
+ </td>
2089
+ <td>
2090
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 235</span>
2091
+
2092
+ <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>
2093
+ <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>
2094
+ <span class='kw'>when</span> <span class='symbol'>:DateTime</span>
2095
+ <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>
2096
+ <span class='kw'>when</span> <span class='symbol'>:Date</span>
2097
+ <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>
2098
+ <span class='kw'>when</span> <span class='symbol'>:String</span>
2099
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
2100
+ <span class='kw'>when</span> <span class='symbol'>:Integer</span>
2101
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
2102
+ <span class='kw'>when</span> <span class='symbol'>:Float</span>
2103
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span>
2104
+ <span class='kw'>when</span> <span class='symbol'>:BOOLEAN</span>
2105
+ <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>
2106
+ <span class='kw'>true</span>
2107
+ <span class='kw'>else</span>
2108
+ <span class='kw'>false</span>
2109
+ <span class='kw'>end</span>
2110
+ <span class='kw'>when</span> <span class='symbol'>:Object</span>
2111
+ <span class='comment'># generic object (usually a Hash), return directly
2112
+ </span> <span class='id identifier rubyid_value'>value</span>
2113
+ <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>
2114
+ <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>
2115
+ <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>
2116
+ <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>
2117
+ <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>
2118
+ <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>
2119
+ <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>
2120
+ <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>
2121
+ <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>
2122
+ <span class='kw'>end</span>
2123
+ <span class='kw'>end</span>
2124
+ <span class='kw'>else</span> <span class='comment'># model
2125
+ </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>
2126
+ <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>
2127
+ <span class='kw'>end</span>
2128
+ <span class='kw'>end</span></pre>
2129
+ </td>
2130
+ </tr>
2131
+ </table>
2132
+ </div>
2133
+
2134
+ <div class="method_details ">
2135
+ <h3 class="signature " id="_to_hash-instance_method">
2136
+
2137
+ #<strong>_to_hash</strong>(value) &#x21d2; <tt>Hash</tt>
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+ </h3><div class="docstring">
2144
+ <div class="discussion">
2145
+
2146
+ <p>Outputs non-array value in the form of hash For object, use to_hash.
2147
+ Otherwise, just return the value</p>
2148
+
2149
+
2150
+ </div>
2151
+ </div>
2152
+ <div class="tags">
2153
+ <p class="tag_title">Parameters:</p>
2154
+ <ul class="param">
2155
+
2156
+ <li>
2157
+
2158
+ <span class='name'>value</span>
2159
+
2160
+
2161
+ <span class='type'>(<tt>Object</tt>)</span>
2162
+
2163
+
2164
+
2165
+ &mdash;
2166
+ <div class='inline'>
2167
+ <p>Any valid value</p>
2168
+ </div>
2169
+
2170
+ </li>
2171
+
2172
+ </ul>
2173
+
2174
+ <p class="tag_title">Returns:</p>
2175
+ <ul class="return">
2176
+
2177
+ <li>
2178
+
2179
+
2180
+ <span class='type'>(<tt>Hash</tt>)</span>
2181
+
2182
+
2183
+
2184
+ &mdash;
2185
+ <div class='inline'>
2186
+ <p>Returns the value in the form of hash</p>
2187
+ </div>
2188
+
2189
+ </li>
2190
+
2191
+ </ul>
2192
+
2193
+ </div><table class="source_code">
2194
+ <tr>
2195
+ <td>
2196
+ <pre class="lines">
2197
+
2198
+
2199
+ 301
2200
+ 302
2201
+ 303
2202
+ 304
2203
+ 305
2204
+ 306
2205
+ 307
2206
+ 308
2207
+ 309
2208
+ 310
2209
+ 311
2210
+ 312
2211
+ 313</pre>
2212
+ </td>
2213
+ <td>
2214
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 301</span>
2215
+
2216
+ <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>
2217
+ <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>
2218
+ <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>
2219
+ <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>
2220
+ <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>
2221
+ <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>
2222
+ <span class='kw'>end</span>
2223
+ <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>
2224
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
2225
+ <span class='kw'>else</span>
2226
+ <span class='id identifier rubyid_value'>value</span>
2227
+ <span class='kw'>end</span>
2228
+ <span class='kw'>end</span></pre>
2229
+ </td>
2230
+ </tr>
2231
+ </table>
2232
+ </div>
2233
+
2234
+ <div class="method_details ">
2235
+ <h3 class="signature " id="build_from_hash-instance_method">
2236
+
2237
+ #<strong>build_from_hash</strong>(attributes) &#x21d2; <tt>Object</tt>
2238
+
2239
+
2240
+
2241
+
2242
+
2243
+ </h3><div class="docstring">
2244
+ <div class="discussion">
2245
+
2246
+ <p>Builds the object from hash</p>
2247
+
2248
+
2249
+ </div>
2250
+ </div>
2251
+ <div class="tags">
2252
+ <p class="tag_title">Parameters:</p>
2253
+ <ul class="param">
2254
+
2255
+ <li>
2256
+
2257
+ <span class='name'>attributes</span>
2258
+
2259
+
2260
+ <span class='type'>(<tt>Hash</tt>)</span>
2261
+
2262
+
2263
+
2264
+ &mdash;
2265
+ <div class='inline'>
2266
+ <p>Model attributes in the form of hash</p>
2267
+ </div>
2268
+
2269
+ </li>
2270
+
2271
+ </ul>
2272
+
2273
+ <p class="tag_title">Returns:</p>
2274
+ <ul class="return">
2275
+
2276
+ <li>
2277
+
2278
+
2279
+ <span class='type'>(<tt>Object</tt>)</span>
2280
+
2281
+
2282
+
2283
+ &mdash;
2284
+ <div class='inline'>
2285
+ <p>Returns the model itself</p>
2286
+ </div>
2287
+
2288
+ </li>
2289
+
2290
+ </ul>
2291
+
2292
+ </div><table class="source_code">
2293
+ <tr>
2294
+ <td>
2295
+ <pre class="lines">
2296
+
2297
+
2298
+ 214
2299
+ 215
2300
+ 216
2301
+ 217
2302
+ 218
2303
+ 219
2304
+ 220
2305
+ 221
2306
+ 222
2307
+ 223
2308
+ 224
2309
+ 225
2310
+ 226
2311
+ 227
2312
+ 228
2313
+ 229</pre>
2314
+ </td>
2315
+ <td>
2316
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 214</span>
2317
+
2318
+ <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>
2319
+ <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>
2320
+ <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>
2321
+ <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>
2322
+ <span class='comment'># check to ensure the input is an array given that the the attribute
2323
+ </span> <span class='comment'># is documented as an array but the input is not
2324
+ </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>
2325
+ <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>
2326
+ <span class='kw'>end</span>
2327
+ <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>
2328
+ <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>
2329
+ <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
2330
+ </span> <span class='kw'>end</span>
2331
+
2332
+ <span class='kw'>self</span>
2333
+ <span class='kw'>end</span></pre>
2334
+ </td>
2335
+ </tr>
2336
+ </table>
2337
+ </div>
2338
+
2339
+ <div class="method_details ">
2340
+ <h3 class="signature " id="eql?-instance_method">
2341
+
2342
+ #<strong>eql?</strong>(o) &#x21d2; <tt>Boolean</tt>
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+ </h3><div class="docstring">
2349
+ <div class="discussion">
2350
+
2351
+
2352
+ </div>
2353
+ </div>
2354
+ <div class="tags">
2355
+ <p class="tag_title">Parameters:</p>
2356
+ <ul class="param">
2357
+
2358
+ <li>
2359
+
2360
+ <span class='name'>Object</span>
2361
+
2362
+
2363
+ <span class='type'>(<tt>Object</tt>)</span>
2364
+
2365
+
2366
+
2367
+ &mdash;
2368
+ <div class='inline'>
2369
+ <p>to be compared</p>
2370
+ </div>
2371
+
2372
+ </li>
2373
+
2374
+ </ul>
2375
+
2376
+ <p class="tag_title">Returns:</p>
2377
+ <ul class="return">
2378
+
2379
+ <li>
2380
+
2381
+
2382
+ <span class='type'>(<tt>Boolean</tt>)</span>
2383
+
2384
+
2385
+
2386
+ </li>
2387
+
2388
+ </ul>
2389
+
2390
+ <p class="tag_title">See Also:</p>
2391
+ <ul class="see">
2392
+
2393
+ <li>`==` method</li>
2394
+
2395
+ </ul>
2396
+
2397
+ </div><table class="source_code">
2398
+ <tr>
2399
+ <td>
2400
+ <pre class="lines">
2401
+
2402
+
2403
+ 201
2404
+ 202
2405
+ 203</pre>
2406
+ </td>
2407
+ <td>
2408
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 201</span>
2409
+
2410
+ <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>
2411
+ <span class='kw'>self</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span>
2412
+ <span class='kw'>end</span></pre>
2413
+ </td>
2414
+ </tr>
2415
+ </table>
2416
+ </div>
2417
+
2418
+ <div class="method_details ">
2419
+ <h3 class="signature " id="hash-instance_method">
2420
+
2421
+ #<strong>hash</strong> &#x21d2; <tt>Fixnum</tt>
2422
+
2423
+
2424
+
2425
+
2426
+
2427
+ </h3><div class="docstring">
2428
+ <div class="discussion">
2429
+
2430
+ <p>Calculates hash code according to all attributes.</p>
2431
+
2432
+
2433
+ </div>
2434
+ </div>
2435
+ <div class="tags">
2436
+
2437
+ <p class="tag_title">Returns:</p>
2438
+ <ul class="return">
2439
+
2440
+ <li>
2441
+
2442
+
2443
+ <span class='type'>(<tt>Fixnum</tt>)</span>
2444
+
2445
+
2446
+
2447
+ &mdash;
2448
+ <div class='inline'>
2449
+ <p>Hash code</p>
2450
+ </div>
2451
+
2452
+ </li>
2453
+
2454
+ </ul>
2455
+
2456
+ </div><table class="source_code">
2457
+ <tr>
2458
+ <td>
2459
+ <pre class="lines">
2460
+
2461
+
2462
+ 207
2463
+ 208
2464
+ 209</pre>
2465
+ </td>
2466
+ <td>
2467
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 207</span>
2468
+
2469
+ <span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span>
2470
+ <span class='lbracket'>[</span><span class='id identifier rubyid_transaction_id'>transaction_id</span><span class='comma'>,</span> <span class='id identifier rubyid_wallet_debit_id'>wallet_debit_id</span><span class='comma'>,</span> <span class='id identifier rubyid_wallet_credit_id'>wallet_credit_id</span><span class='comma'>,</span> <span class='id identifier rubyid_transaction_type'>transaction_type</span><span class='comma'>,</span> <span class='id identifier rubyid_foreign_id'>foreign_id</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_description'>description</span><span class='comma'>,</span> <span class='id identifier rubyid_value_date'>value_date</span><span class='comma'>,</span> <span class='id identifier rubyid_execution_date'>execution_date</span><span class='comma'>,</span> <span class='id identifier rubyid_amount'>amount</span><span class='comma'>,</span> <span class='id identifier rubyid_wallet_debit_balance'>wallet_debit_balance</span><span class='comma'>,</span> <span class='id identifier rubyid_wallet_credit_balance'>wallet_credit_balance</span><span class='comma'>,</span> <span class='id identifier rubyid_currency'>currency</span><span class='comma'>,</span> <span class='id identifier rubyid_created_date'>created_date</span><span class='comma'>,</span> <span class='id identifier rubyid_total_rows'>total_rows</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
2471
+ <span class='kw'>end</span></pre>
2472
+ </td>
2473
+ </tr>
2474
+ </table>
2475
+ </div>
2476
+
2477
+ <div class="method_details ">
2478
+ <h3 class="signature " id="list_invalid_properties-instance_method">
2479
+
2480
+ #<strong>list_invalid_properties</strong> &#x21d2; <tt>Object</tt>
2481
+
2482
+
2483
+
2484
+
2485
+
2486
+ </h3><div class="docstring">
2487
+ <div class="discussion">
2488
+
2489
+ <p>Show invalid properties with the reasons. Usually used together with valid?</p>
2490
+
2491
+
2492
+ </div>
2493
+ </div>
2494
+ <div class="tags">
2495
+
2496
+ <p class="tag_title">Returns:</p>
2497
+ <ul class="return">
2498
+
2499
+ <li>
2500
+
2501
+
2502
+ <span class='type'></span>
2503
+
2504
+
2505
+
2506
+
2507
+ <div class='inline'>
2508
+ <p>Array for valid properties with the reasons</p>
2509
+ </div>
2510
+
2511
+ </li>
2512
+
2513
+ </ul>
2514
+
2515
+ </div><table class="source_code">
2516
+ <tr>
2517
+ <td>
2518
+ <pre class="lines">
2519
+
2520
+
2521
+ 166
2522
+ 167
2523
+ 168
2524
+ 169</pre>
2525
+ </td>
2526
+ <td>
2527
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 166</span>
2528
+
2529
+ <span class='kw'>def</span> <span class='id identifier rubyid_list_invalid_properties'>list_invalid_properties</span>
2530
+ <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>
2531
+ <span class='kw'>return</span> <span class='id identifier rubyid_invalid_properties'>invalid_properties</span>
2532
+ <span class='kw'>end</span></pre>
2533
+ </td>
2534
+ </tr>
2535
+ </table>
2536
+ </div>
2537
+
2538
+ <div class="method_details ">
2539
+ <h3 class="signature " id="to_body-instance_method">
2540
+
2541
+ #<strong>to_body</strong> &#x21d2; <tt>Hash</tt>
2542
+
2543
+
2544
+
2545
+
2546
+
2547
+ </h3><div class="docstring">
2548
+ <div class="discussion">
2549
+
2550
+ <p>to_body is an alias to to_hash (backward compatibility)</p>
2551
+
2552
+
2553
+ </div>
2554
+ </div>
2555
+ <div class="tags">
2556
+
2557
+ <p class="tag_title">Returns:</p>
2558
+ <ul class="return">
2559
+
2560
+ <li>
2561
+
2562
+
2563
+ <span class='type'>(<tt>Hash</tt>)</span>
2564
+
2565
+
2566
+
2567
+ &mdash;
2568
+ <div class='inline'>
2569
+ <p>Returns the object in the form of hash</p>
2570
+ </div>
2571
+
2572
+ </li>
2573
+
2574
+ </ul>
2575
+
2576
+ </div><table class="source_code">
2577
+ <tr>
2578
+ <td>
2579
+ <pre class="lines">
2580
+
2581
+
2582
+ 281
2583
+ 282
2584
+ 283</pre>
2585
+ </td>
2586
+ <td>
2587
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 281</span>
2588
+
2589
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_body'>to_body</span>
2590
+ <span class='id identifier rubyid_to_hash'>to_hash</span>
2591
+ <span class='kw'>end</span></pre>
2592
+ </td>
2593
+ </tr>
2594
+ </table>
2595
+ </div>
2596
+
2597
+ <div class="method_details ">
2598
+ <h3 class="signature " id="to_hash-instance_method">
2599
+
2600
+ #<strong>to_hash</strong> &#x21d2; <tt>Hash</tt>
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+ </h3><div class="docstring">
2607
+ <div class="discussion">
2608
+
2609
+ <p>Returns the object in the form of hash</p>
2610
+
2611
+
2612
+ </div>
2613
+ </div>
2614
+ <div class="tags">
2615
+
2616
+ <p class="tag_title">Returns:</p>
2617
+ <ul class="return">
2618
+
2619
+ <li>
2620
+
2621
+
2622
+ <span class='type'>(<tt>Hash</tt>)</span>
2623
+
2624
+
2625
+
2626
+ &mdash;
2627
+ <div class='inline'>
2628
+ <p>Returns the object in the form of hash</p>
2629
+ </div>
2630
+
2631
+ </li>
2632
+
2633
+ </ul>
2634
+
2635
+ </div><table class="source_code">
2636
+ <tr>
2637
+ <td>
2638
+ <pre class="lines">
2639
+
2640
+
2641
+ 287
2642
+ 288
2643
+ 289
2644
+ 290
2645
+ 291
2646
+ 292
2647
+ 293
2648
+ 294
2649
+ 295</pre>
2650
+ </td>
2651
+ <td>
2652
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 287</span>
2653
+
2654
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
2655
+ <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
2656
+ <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>
2657
+ <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>
2658
+ <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>
2659
+ <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>
2660
+ <span class='kw'>end</span>
2661
+ <span class='id identifier rubyid_hash'>hash</span>
2662
+ <span class='kw'>end</span></pre>
2663
+ </td>
2664
+ </tr>
2665
+ </table>
2666
+ </div>
2667
+
2668
+ <div class="method_details ">
2669
+ <h3 class="signature " id="to_s-instance_method">
2670
+
2671
+ #<strong>to_s</strong> &#x21d2; <tt>String</tt>
2672
+
2673
+
2674
+
2675
+
2676
+
2677
+ </h3><div class="docstring">
2678
+ <div class="discussion">
2679
+
2680
+ <p>Returns the string representation of the object</p>
2681
+
2682
+
2683
+ </div>
2684
+ </div>
2685
+ <div class="tags">
2686
+
2687
+ <p class="tag_title">Returns:</p>
2688
+ <ul class="return">
2689
+
2690
+ <li>
2691
+
2692
+
2693
+ <span class='type'>(<tt>String</tt>)</span>
2694
+
2695
+
2696
+
2697
+ &mdash;
2698
+ <div class='inline'>
2699
+ <p>String presentation of the object</p>
2700
+ </div>
2701
+
2702
+ </li>
2703
+
2704
+ </ul>
2705
+
2706
+ </div><table class="source_code">
2707
+ <tr>
2708
+ <td>
2709
+ <pre class="lines">
2710
+
2711
+
2712
+ 275
2713
+ 276
2714
+ 277</pre>
2715
+ </td>
2716
+ <td>
2717
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 275</span>
2718
+
2719
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
2720
+ <span class='id identifier rubyid_to_hash'>to_hash</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
2721
+ <span class='kw'>end</span></pre>
2722
+ </td>
2723
+ </tr>
2724
+ </table>
2725
+ </div>
2726
+
2727
+ <div class="method_details ">
2728
+ <h3 class="signature " id="valid?-instance_method">
2729
+
2730
+ #<strong>valid?</strong> &#x21d2; <tt>Boolean</tt>
2731
+
2732
+
2733
+
2734
+
2735
+
2736
+ </h3><div class="docstring">
2737
+ <div class="discussion">
2738
+
2739
+ <p>Check to see if the all the properties in the model are valid</p>
2740
+
2741
+
2742
+ </div>
2743
+ </div>
2744
+ <div class="tags">
2745
+
2746
+ <p class="tag_title">Returns:</p>
2747
+ <ul class="return">
2748
+
2749
+ <li>
2750
+
2751
+
2752
+ <span class='type'>(<tt>Boolean</tt>)</span>
2753
+
2754
+
2755
+
2756
+ &mdash;
2757
+ <div class='inline'>
2758
+ <p>true if the model is valid</p>
2759
+ </div>
2760
+
2761
+ </li>
2762
+
2763
+ </ul>
2764
+
2765
+ </div><table class="source_code">
2766
+ <tr>
2767
+ <td>
2768
+ <pre class="lines">
2769
+
2770
+
2771
+ 173
2772
+ 174
2773
+ 175</pre>
2774
+ </td>
2775
+ <td>
2776
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/transaction.rb', line 173</span>
2777
+
2778
+ <span class='kw'>def</span> <span class='id identifier rubyid_valid?'>valid?</span>
2779
+ <span class='kw'>return</span> <span class='kw'>true</span>
2780
+ <span class='kw'>end</span></pre>
2781
+ </td>
2782
+ </tr>
2783
+ </table>
2784
+ </div>
2785
+
2786
+ </div>
2787
+
2788
+ </div>
2789
+
2790
+ <div id="footer">
2791
+ Generated on Wed Aug 8 17:39:11 2018 by
2792
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2793
+ 0.9.15 (ruby-2.5.1).
2794
+ </div>
2795
+
2796
+ </div>
2797
+ </body>
2798
+ </html>