treezor_client 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +5 -5
  4. data/docs/BalanceApi.md +2 -2
  5. data/docs/BankaccountApi.md +8 -8
  6. data/docs/BeneficiariesApi.md +12 -12
  7. data/docs/Body.md +12 -3
  8. data/docs/Body1.md +3 -4
  9. data/docs/Body10.md +4 -5
  10. data/docs/Body2.md +2 -11
  11. data/docs/Body3.md +1 -1
  12. data/docs/Body4.md +5 -2
  13. data/docs/Body5.md +5 -4
  14. data/docs/Body6.md +3 -6
  15. data/docs/Body7.md +4 -4
  16. data/docs/Body8.md +5 -4
  17. data/docs/Body9.md +4 -4
  18. data/docs/BusinessApi.md +2 -2
  19. data/docs/CardApi.md +35 -35
  20. data/docs/CardDigitalizationsApi.md +8 -8
  21. data/docs/CardReserveApi.md +12 -12
  22. data/docs/CardtransactionApi.md +4 -4
  23. data/docs/CountryRestrictionGroupsApi.md +14 -14
  24. data/docs/InlineResponse200.md +1 -1
  25. data/docs/InlineResponse2001.md +1 -1
  26. data/docs/InlineResponse20010Cardtransactions.md +3 -3
  27. data/docs/InlineResponse20011.md +1 -1
  28. data/docs/InlineResponse20013.md +1 -1
  29. data/docs/InlineResponse20014.md +1 -1
  30. data/docs/InlineResponse20015.md +1 -1
  31. data/docs/InlineResponse20016.md +1 -1
  32. data/docs/InlineResponse20018.md +1 -1
  33. data/docs/InlineResponse20019.md +1 -1
  34. data/docs/InlineResponse2002.md +1 -1
  35. data/docs/InlineResponse20020.md +1 -1
  36. data/docs/InlineResponse20021.md +1 -1
  37. data/docs/InlineResponse20027.md +1 -1
  38. data/docs/InlineResponse20028.md +1 -1
  39. data/docs/InlineResponse2003.md +1 -1
  40. data/docs/InlineResponse2004.md +1 -1
  41. data/docs/InlineResponse2004Businessinformations.md +26 -0
  42. data/docs/InlineResponse2004Users.md +12 -0
  43. data/docs/InlineResponse2005.md +1 -1
  44. data/docs/InlineResponse2006.md +1 -1
  45. data/docs/InlineResponse2006Cardimages.md +10 -0
  46. data/docs/InlineResponse2007.md +1 -1
  47. data/docs/InlineResponse2008.md +3 -1
  48. data/docs/InlineResponse2009.md +1 -3
  49. data/docs/InlineResponse2009Cardtransactions.md +58 -0
  50. data/docs/IssuerInitiatedDigitizationData.md +15 -0
  51. data/docs/IssuerInitiatedDigitizationDataApi.md +24 -24
  52. data/docs/MandateApi.md +15 -13
  53. data/docs/MccRestrictionGroupsApi.md +14 -14
  54. data/docs/MerchantIdRestrictionGroupsApi.md +14 -14
  55. data/docs/PayinrefundApi.md +8 -8
  56. data/docs/PayoutApi.md +8 -8
  57. data/docs/PayoutRefundsApi.md +2 -2
  58. data/docs/TaxResidenceApi.md +10 -10
  59. data/docs/VirtualibansApi.md +8 -8
  60. data/docs/WalletApi.md +12 -12
  61. data/lib/treezor_client/api/balance_api.rb +3 -3
  62. data/lib/treezor_client/api/bankaccount_api.rb +12 -12
  63. data/lib/treezor_client/api/beneficiaries_api.rb +16 -16
  64. data/lib/treezor_client/api/business_api.rb +3 -3
  65. data/lib/treezor_client/api/card_api.rb +53 -53
  66. data/lib/treezor_client/api/card_digitalizations_api.rb +12 -12
  67. data/lib/treezor_client/api/card_reserve_api.rb +13 -13
  68. data/lib/treezor_client/api/cardtransaction_api.rb +6 -6
  69. data/lib/treezor_client/api/country_restriction_groups_api.rb +19 -19
  70. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +26 -26
  71. data/lib/treezor_client/api/mandate_api.rb +21 -18
  72. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +19 -19
  73. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +19 -19
  74. data/lib/treezor_client/api/payinrefund_api.rb +12 -12
  75. data/lib/treezor_client/api/payout_api.rb +12 -12
  76. data/lib/treezor_client/api/payout_refunds_api.rb +3 -3
  77. data/lib/treezor_client/api/tax_residence_api.rb +15 -15
  78. data/lib/treezor_client/api/virtualibans_api.rb +12 -12
  79. data/lib/treezor_client/api/wallet_api.rb +17 -17
  80. data/lib/treezor_client/models/body.rb +127 -62
  81. data/lib/treezor_client/models/body_1.rb +3 -23
  82. data/lib/treezor_client/models/body_10.rb +15 -27
  83. data/lib/treezor_client/models/body_2.rb +25 -113
  84. data/lib/treezor_client/models/body_3.rb +1 -1
  85. data/lib/treezor_client/models/body_4.rb +89 -21
  86. data/lib/treezor_client/models/body_5.rb +27 -25
  87. data/lib/treezor_client/models/body_6.rb +39 -66
  88. data/lib/treezor_client/models/body_7.rb +15 -15
  89. data/lib/treezor_client/models/body_8.rb +27 -15
  90. data/lib/treezor_client/models/body_9.rb +15 -15
  91. data/lib/treezor_client/models/inline_response_200.rb +8 -8
  92. data/lib/treezor_client/models/inline_response_200_1.rb +8 -8
  93. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
  94. data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
  95. data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
  96. data/lib/treezor_client/models/inline_response_200_14.rb +8 -8
  97. data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
  98. data/lib/treezor_client/models/inline_response_200_16.rb +1 -1
  99. data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
  100. data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
  101. data/lib/treezor_client/models/inline_response_200_2.rb +8 -8
  102. data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
  103. data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
  104. data/lib/treezor_client/models/inline_response_200_27.rb +8 -8
  105. data/lib/treezor_client/models/inline_response_200_28.rb +8 -8
  106. data/lib/treezor_client/models/inline_response_200_3.rb +8 -8
  107. data/lib/treezor_client/models/inline_response_200_4.rb +1 -1
  108. data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +447 -0
  109. data/lib/treezor_client/models/inline_response_200_4_users.rb +258 -0
  110. data/lib/treezor_client/models/inline_response_200_5.rb +8 -8
  111. data/lib/treezor_client/models/inline_response_200_6.rb +8 -8
  112. data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +219 -0
  113. data/lib/treezor_client/models/inline_response_200_7.rb +8 -8
  114. data/lib/treezor_client/models/inline_response_200_8.rb +28 -9
  115. data/lib/treezor_client/models/inline_response_200_9.rb +9 -28
  116. data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +637 -0
  117. data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +253 -0
  118. data/lib/treezor_client/version.rb +1 -1
  119. data/lib/treezor_client.rb +5 -5
  120. data/original_treezor_api_spec.yaml +13154 -0
  121. data/pkg/treezor_client-1.5.0.gem +0 -0
  122. data/spec/models/inline_response_200_4_businessinformations_spec.rb +169 -0
  123. data/spec/models/inline_response_200_4_users_spec.rb +69 -0
  124. data/spec/models/inline_response_200_6_cardimages_spec.rb +53 -0
  125. data/spec/models/inline_response_200_9_cardtransactions_spec.rb +341 -0
  126. data/spec/models/issuer_initiated_digitization_data_spec.rb +83 -0
  127. data/treezor_api_spec.yaml +2582 -2570
  128. metadata +25 -4
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20014
17
- attr_accessor :bankaccounts
17
+ attr_accessor :mandates
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'bankaccounts' => :'bankaccounts'
22
+ :'mandates' => :'mandates'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'bankaccounts' => :'Array<MccRestrictionGroup>'
29
+ :'mandates' => :'Array<Mandate>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'bankaccounts')
42
- if (value = attributes[:'bankaccounts']).is_a?(Array)
43
- self.bankaccounts = value
41
+ if attributes.has_key?(:'mandates')
42
+ if (value = attributes[:'mandates']).is_a?(Array)
43
+ self.mandates = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- bankaccounts == o.bankaccounts
66
+ mandates == o.mandates
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [bankaccounts].hash
78
+ [mandates].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -26,7 +26,7 @@ module TreezorClient
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'bankaccounts' => :'Array<MerchantIdRestrictionGroup>'
29
+ :'bankaccounts' => :'Array<MccRestrictionGroup>'
30
30
  }
31
31
  end
32
32
 
@@ -26,7 +26,7 @@ module TreezorClient
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'bankaccounts' => :'Array<CountryRestrictionGroup>'
29
+ :'bankaccounts' => :'Array<MerchantIdRestrictionGroup>'
30
30
  }
31
31
  end
32
32
 
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20018
17
- attr_accessor :virtualibans
17
+ attr_accessor :payinrefunds
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'virtualibans' => :'virtualibans'
22
+ :'payinrefunds' => :'payinrefunds'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'virtualibans' => :'Array<Virtualiban>'
29
+ :'payinrefunds' => :'Array<Payinrefund>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'virtualibans')
42
- if (value = attributes[:'virtualibans']).is_a?(Array)
43
- self.virtualibans = value
41
+ if attributes.has_key?(:'payinrefunds')
42
+ if (value = attributes[:'payinrefunds']).is_a?(Array)
43
+ self.payinrefunds = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- virtualibans == o.virtualibans
66
+ payinrefunds == o.payinrefunds
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [virtualibans].hash
78
+ [payinrefunds].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20019
17
- attr_accessor :payinrefunds
17
+ attr_accessor :payouts
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'payinrefunds' => :'payinrefunds'
22
+ :'payouts' => :'payouts'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'payinrefunds' => :'Array<Payinrefund>'
29
+ :'payouts' => :'Array<Payout>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'payinrefunds')
42
- if (value = attributes[:'payinrefunds']).is_a?(Array)
43
- self.payinrefunds = value
41
+ if attributes.has_key?(:'payouts')
42
+ if (value = attributes[:'payouts']).is_a?(Array)
43
+ self.payouts = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- payinrefunds == o.payinrefunds
66
+ payouts == o.payouts
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [payinrefunds].hash
78
+ [payouts].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse2002
17
- attr_accessor :balances
17
+ attr_accessor :beneficiaries
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'balances' => :'balances'
22
+ :'beneficiaries' => :'beneficiaries'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'balances' => :'Array<Balance>'
29
+ :'beneficiaries' => :'Array<Beneficiary>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'balances')
42
- if (value = attributes[:'balances']).is_a?(Array)
43
- self.balances = value
41
+ if attributes.has_key?(:'beneficiaries')
42
+ if (value = attributes[:'beneficiaries']).is_a?(Array)
43
+ self.beneficiaries = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- balances == o.balances
66
+ beneficiaries == o.beneficiaries
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [balances].hash
78
+ [beneficiaries].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20020
17
- attr_accessor :payouts
17
+ attr_accessor :payout_refunds
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'payouts' => :'payouts'
22
+ :'payout_refunds' => :'payoutRefunds'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'payouts' => :'Array<Payout>'
29
+ :'payout_refunds' => :'Array<PayoutRefund>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'payouts')
42
- if (value = attributes[:'payouts']).is_a?(Array)
43
- self.payouts = value
41
+ if attributes.has_key?(:'payoutRefunds')
42
+ if (value = attributes[:'payoutRefunds']).is_a?(Array)
43
+ self.payout_refunds = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- payouts == o.payouts
66
+ payout_refunds == o.payout_refunds
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [payouts].hash
78
+ [payout_refunds].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20021
17
- attr_accessor :payout_refunds
17
+ attr_accessor :tax_residences
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'payout_refunds' => :'payoutRefunds'
22
+ :'tax_residences' => :'taxResidences'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'payout_refunds' => :'Array<PayoutRefund>'
29
+ :'tax_residences' => :'Array<TaxResidence>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'payoutRefunds')
42
- if (value = attributes[:'payoutRefunds']).is_a?(Array)
43
- self.payout_refunds = value
41
+ if attributes.has_key?(:'taxResidences')
42
+ if (value = attributes[:'taxResidences']).is_a?(Array)
43
+ self.tax_residences = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- payout_refunds == o.payout_refunds
66
+ tax_residences == o.tax_residences
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [payout_refunds].hash
78
+ [tax_residences].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20027
17
- attr_accessor :wallets
17
+ attr_accessor :virtualibans
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'wallets' => :'wallets'
22
+ :'virtualibans' => :'virtualibans'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'wallets' => :'Array<Wallet>'
29
+ :'virtualibans' => :'Array<Virtualiban>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'wallets')
42
- if (value = attributes[:'wallets']).is_a?(Array)
43
- self.wallets = value
41
+ if attributes.has_key?(:'virtualibans')
42
+ if (value = attributes[:'virtualibans']).is_a?(Array)
43
+ self.virtualibans = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- wallets == o.wallets
66
+ virtualibans == o.virtualibans
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [wallets].hash
78
+ [virtualibans].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse20028
17
- attr_accessor :tax_residences
17
+ attr_accessor :wallets
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'tax_residences' => :'taxResidences'
22
+ :'wallets' => :'wallets'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'tax_residences' => :'Array<TaxResidence>'
29
+ :'wallets' => :'Array<Wallet>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'taxResidences')
42
- if (value = attributes[:'taxResidences']).is_a?(Array)
43
- self.tax_residences = value
41
+ if attributes.has_key?(:'wallets')
42
+ if (value = attributes[:'wallets']).is_a?(Array)
43
+ self.wallets = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- tax_residences == o.tax_residences
66
+ wallets == o.wallets
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [tax_residences].hash
78
+ [wallets].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module TreezorClient
16
16
  class InlineResponse2003
17
- attr_accessor :bankaccounts
17
+ attr_accessor :businessinformations
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'bankaccounts' => :'bankaccounts'
22
+ :'businessinformations' => :'businessinformations'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'bankaccounts' => :'Array<Bankaccount>'
29
+ :'businessinformations' => :'Array<BusinesssearchsBusinessinformations>'
30
30
  }
31
31
  end
32
32
 
@@ -38,9 +38,9 @@ module TreezorClient
38
38
  # convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
40
 
41
- if attributes.has_key?(:'bankaccounts')
42
- if (value = attributes[:'bankaccounts']).is_a?(Array)
43
- self.bankaccounts = value
41
+ if attributes.has_key?(:'businessinformations')
42
+ if (value = attributes[:'businessinformations']).is_a?(Array)
43
+ self.businessinformations = value
44
44
  end
45
45
  end
46
46
  end
@@ -63,7 +63,7 @@ module TreezorClient
63
63
  def ==(o)
64
64
  return true if self.equal?(o)
65
65
  self.class == o.class &&
66
- bankaccounts == o.bankaccounts
66
+ businessinformations == o.businessinformations
67
67
  end
68
68
 
69
69
  # @see the `==` method
@@ -75,7 +75,7 @@ module TreezorClient
75
75
  # Calculates hash code according to all attributes.
76
76
  # @return [Fixnum] Hash code
77
77
  def hash
78
- [bankaccounts].hash
78
+ [businessinformations].hash
79
79
  end
80
80
 
81
81
  # Builds the object from hash
@@ -26,7 +26,7 @@ module TreezorClient
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'businessinformations' => :'Array<BusinesssearchsBusinessinformations>'
29
+ :'businessinformations' => :'Array<InlineResponse2004Businessinformations>'
30
30
  }
31
31
  end
32
32