treezor_client 1.12.0 → 2.0.0

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