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.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +5 -5
- data/docs/BalanceApi.md +2 -2
- data/docs/BankaccountApi.md +8 -8
- data/docs/BeneficiariesApi.md +12 -12
- data/docs/Body.md +12 -3
- data/docs/Body1.md +3 -4
- data/docs/Body10.md +4 -5
- data/docs/Body2.md +2 -11
- data/docs/Body3.md +1 -1
- data/docs/Body4.md +5 -2
- data/docs/Body5.md +5 -4
- data/docs/Body6.md +3 -6
- data/docs/Body7.md +4 -4
- data/docs/Body8.md +5 -4
- data/docs/Body9.md +4 -4
- data/docs/BusinessApi.md +2 -2
- data/docs/CardApi.md +35 -35
- data/docs/CardDigitalizationsApi.md +8 -8
- data/docs/CardReserveApi.md +12 -12
- data/docs/CardtransactionApi.md +4 -4
- data/docs/CountryRestrictionGroupsApi.md +14 -14
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2004Businessinformations.md +26 -0
- data/docs/InlineResponse2004Users.md +12 -0
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2006Cardimages.md +10 -0
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +3 -1
- data/docs/InlineResponse2009.md +1 -3
- data/docs/InlineResponse2009Cardtransactions.md +58 -0
- data/docs/IssuerInitiatedDigitizationData.md +15 -0
- data/docs/IssuerInitiatedDigitizationDataApi.md +24 -24
- data/docs/MandateApi.md +15 -13
- data/docs/MccRestrictionGroupsApi.md +14 -14
- data/docs/MerchantIdRestrictionGroupsApi.md +14 -14
- data/docs/PayinrefundApi.md +8 -8
- data/docs/PayoutApi.md +8 -8
- data/docs/PayoutRefundsApi.md +2 -2
- data/docs/TaxResidenceApi.md +10 -10
- data/docs/VirtualibansApi.md +8 -8
- data/docs/WalletApi.md +12 -12
- data/lib/treezor_client/api/balance_api.rb +3 -3
- data/lib/treezor_client/api/bankaccount_api.rb +12 -12
- data/lib/treezor_client/api/beneficiaries_api.rb +16 -16
- data/lib/treezor_client/api/business_api.rb +3 -3
- data/lib/treezor_client/api/card_api.rb +53 -53
- data/lib/treezor_client/api/card_digitalizations_api.rb +12 -12
- data/lib/treezor_client/api/card_reserve_api.rb +13 -13
- data/lib/treezor_client/api/cardtransaction_api.rb +6 -6
- data/lib/treezor_client/api/country_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +26 -26
- data/lib/treezor_client/api/mandate_api.rb +21 -18
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/payinrefund_api.rb +12 -12
- data/lib/treezor_client/api/payout_api.rb +12 -12
- data/lib/treezor_client/api/payout_refunds_api.rb +3 -3
- data/lib/treezor_client/api/tax_residence_api.rb +15 -15
- data/lib/treezor_client/api/virtualibans_api.rb +12 -12
- data/lib/treezor_client/api/wallet_api.rb +17 -17
- data/lib/treezor_client/models/body.rb +127 -62
- data/lib/treezor_client/models/body_1.rb +3 -23
- data/lib/treezor_client/models/body_10.rb +15 -27
- data/lib/treezor_client/models/body_2.rb +25 -113
- data/lib/treezor_client/models/body_3.rb +1 -1
- data/lib/treezor_client/models/body_4.rb +89 -21
- data/lib/treezor_client/models/body_5.rb +27 -25
- data/lib/treezor_client/models/body_6.rb +39 -66
- data/lib/treezor_client/models/body_7.rb +15 -15
- data/lib/treezor_client/models/body_8.rb +27 -15
- data/lib/treezor_client/models/body_9.rb +15 -15
- data/lib/treezor_client/models/inline_response_200.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_1.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
- data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_14.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_2.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_27.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_28.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_3.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_4.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +447 -0
- data/lib/treezor_client/models/inline_response_200_4_users.rb +258 -0
- data/lib/treezor_client/models/inline_response_200_5.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +219 -0
- data/lib/treezor_client/models/inline_response_200_7.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_8.rb +28 -9
- data/lib/treezor_client/models/inline_response_200_9.rb +9 -28
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +637 -0
- data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +253 -0
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +5 -5
- data/original_treezor_api_spec.yaml +13154 -0
- data/pkg/treezor_client-1.5.0.gem +0 -0
- data/spec/models/inline_response_200_4_businessinformations_spec.rb +169 -0
- data/spec/models/inline_response_200_4_users_spec.rb +69 -0
- data/spec/models/inline_response_200_6_cardimages_spec.rb +53 -0
- data/spec/models/inline_response_200_9_cardtransactions_spec.rb +341 -0
- data/spec/models/issuer_initiated_digitization_data_spec.rb +83 -0
- data/treezor_api_spec.yaml +2582 -2570
- metadata +25 -4
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module TreezorClient
|
16
16
|
class InlineResponse20014
|
17
|
-
attr_accessor :
|
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
|
-
:'
|
22
|
+
:'mandates' => :'mandates'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
78
|
+
[mandates].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 InlineResponse20018
|
17
|
-
attr_accessor :
|
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
|
-
:'
|
22
|
+
:'payinrefunds' => :'payinrefunds'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
22
|
+
:'payouts' => :'payouts'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
22
|
+
:'beneficiaries' => :'beneficiaries'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
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
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
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
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
22
|
+
:'virtualibans' => :'virtualibans'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
22
|
+
:'wallets' => :'wallets'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
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 :
|
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
|
-
:'
|
22
|
+
:'businessinformations' => :'businessinformations'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
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?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
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
|
-
|
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
|
-
[
|
78
|
+
[businessinformations].hash
|
79
79
|
end
|
80
80
|
|
81
81
|
# Builds the object from hash
|