treezor_client 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -5
- data/Gemfile.lock +4 -6
- data/README.md +19 -5
- data/config.json +10 -0
- data/docs/BalanceApi.md +8 -8
- data/docs/BankaccountApi.md +30 -30
- data/docs/BeneficiariesApi.md +30 -30
- data/docs/Beneficiary.md +1 -0
- data/docs/BusinessApi.md +26 -26
- data/docs/Card.md +2 -2
- data/docs/CardApi.md +209 -150
- data/docs/CardDigitalization.md +1 -3
- data/docs/CardDigitalizationsApi.md +73 -16
- data/docs/CardReserveApi.md +24 -24
- data/docs/CardtransactionApi.md +16 -14
- data/docs/CountryRestrictionGroup.md +14 -0
- data/docs/CountryRestrictionGroupsApi.md +40 -40
- data/docs/Document.md +1 -0
- data/docs/DocumentApi.md +46 -44
- data/docs/HeartbeatApi.md +8 -8
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20011Cardtransactions.md +58 -0
- data/docs/InlineResponse20012.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/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +8 -0
- data/docs/InlineResponse20027.md +8 -0
- data/docs/InlineResponse20028.md +8 -0
- data/docs/InlineResponse2005Businessinformations.md +2 -2
- data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
- data/docs/MandateApi.md +50 -50
- data/docs/MccRestrictionGroupsApi.md +40 -40
- data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
- data/docs/PayinApi.md +38 -38
- data/docs/PayinrefundApi.md +38 -38
- data/docs/PayoutApi.md +38 -38
- data/docs/PayoutRefund.md +22 -0
- data/docs/PayoutRefundsApi.md +82 -0
- data/docs/TaxResidence.md +15 -0
- data/docs/TaxResidenceApi.md +319 -0
- data/docs/TransactionApi.md +22 -22
- data/docs/TransferApi.md +42 -42
- data/docs/TransferrefundApi.md +42 -42
- data/docs/User.md +3 -0
- data/docs/UserApi.md +104 -85
- data/docs/VirtualibansApi.md +46 -46
- data/docs/WalletApi.md +84 -84
- data/lib/treezor_client/api/balance_api.rb +8 -8
- data/lib/treezor_client/api/bankaccount_api.rb +30 -30
- data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
- data/lib/treezor_client/api/business_api.rb +26 -26
- data/lib/treezor_client/api/card_api.rb +209 -154
- data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
- data/lib/treezor_client/api/card_reserve_api.rb +24 -24
- data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
- data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/document_api.rb +64 -57
- data/lib/treezor_client/api/heartbeat_api.rb +8 -8
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
- data/lib/treezor_client/api/mandate_api.rb +58 -58
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/payin_api.rb +42 -42
- data/lib/treezor_client/api/payinrefund_api.rb +42 -42
- data/lib/treezor_client/api/payout_api.rb +42 -42
- data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
- data/lib/treezor_client/api/tax_residence_api.rb +319 -0
- data/lib/treezor_client/api/transaction_api.rb +24 -24
- data/lib/treezor_client/api/transfer_api.rb +46 -46
- data/lib/treezor_client/api/transferrefund_api.rb +46 -46
- data/lib/treezor_client/api/user_api.rb +124 -93
- data/lib/treezor_client/api/virtualibans_api.rb +50 -50
- data/lib/treezor_client/api/wallet_api.rb +89 -89
- data/lib/treezor_client/models/beneficiary.rb +11 -1
- data/lib/treezor_client/models/card.rb +2 -2
- data/lib/treezor_client/models/card_digitalization.rb +3 -20
- data/lib/treezor_client/models/country_restriction_group.rb +284 -0
- data/lib/treezor_client/models/document.rb +10 -1
- 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_11_cardtransactions.rb +642 -0
- data/lib/treezor_client/models/inline_response_200_12.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 +1 -1
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
- 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_20.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
- data/lib/treezor_client/models/payout_refund.rb +347 -0
- data/lib/treezor_client/models/tax_residence.rb +259 -0
- data/lib/treezor_client/models/user.rb +28 -1
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +9 -1
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/pkg/treezor_client-1.1.0.gem +0 -0
- data/pkg/treezor_client-1.2.0.gem +0 -0
- data/spec/api/balance_api_spec.rb +4 -4
- data/spec/api/bankaccount_api_spec.rb +15 -15
- data/spec/api/beneficiaries_api_spec.rb +15 -15
- data/spec/api/business_api_spec.rb +13 -13
- data/spec/api/card_api_spec.rb +93 -75
- data/spec/api/card_digitalizations_api_spec.rb +19 -6
- data/spec/api/card_reserve_api_spec.rb +12 -12
- data/spec/api/cardtransaction_api_spec.rb +8 -7
- data/spec/api/country_restriction_groups_api_spec.rb +20 -20
- data/spec/api/document_api_spec.rb +22 -21
- data/spec/api/heartbeat_api_spec.rb +4 -4
- data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
- data/spec/api/mandate_api_spec.rb +26 -26
- data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
- data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
- data/spec/api/payin_api_spec.rb +19 -19
- data/spec/api/payinrefund_api_spec.rb +19 -19
- data/spec/api/payout_api_spec.rb +19 -19
- data/spec/api/payout_refunds_api_spec.rb +56 -0
- data/spec/api/tax_residence_api_spec.rb +108 -0
- data/spec/api/transaction_api_spec.rb +11 -11
- data/spec/api/transfer_api_spec.rb +21 -21
- data/spec/api/transferrefund_api_spec.rb +21 -21
- data/spec/api/user_api_spec.rb +58 -41
- data/spec/api/virtualibans_api_spec.rb +23 -23
- data/spec/api/wallet_api_spec.rb +42 -42
- data/spec/models/beneficiary_spec.rb +6 -0
- data/spec/models/card_digitalization_spec.rb +0 -12
- data/spec/models/card_spec.rb +6 -0
- data/spec/models/country_restriction_group_spec.rb +82 -0
- data/spec/models/document_spec.rb +6 -0
- data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
- data/spec/models/inline_response_200_11_spec.rb +1 -1
- data/spec/models/inline_response_200_12_spec.rb +1 -1
- data/spec/models/inline_response_200_13_spec.rb +1 -1
- data/spec/models/inline_response_200_16_spec.rb +1 -1
- data/spec/models/inline_response_200_17_spec.rb +1 -1
- data/spec/models/inline_response_200_18_spec.rb +1 -1
- data/spec/models/inline_response_200_19_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +1 -1
- data/spec/models/inline_response_200_21_spec.rb +1 -1
- data/spec/models/inline_response_200_22_spec.rb +1 -1
- data/spec/models/inline_response_200_24_spec.rb +1 -1
- data/spec/models/inline_response_200_25_spec.rb +1 -1
- data/spec/models/inline_response_200_26_spec.rb +42 -0
- data/spec/models/inline_response_200_27_spec.rb +42 -0
- data/spec/models/inline_response_200_28_spec.rb +42 -0
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
- data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
- data/spec/models/payout_refund_spec.rb +130 -0
- data/spec/models/tax_residence_spec.rb +84 -0
- data/spec/models/user_spec.rb +42 -0
- data/treezor_api_spec.yaml +1841 -1207
- data/treezor_client.gemspec +1 -3
- metadata +45 -9
- data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20013
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :mandates
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'mandates' => :'mandates'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'mandates' => :'Array<Mandate>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'mandates')
|
|
44
|
+
if (value = attributes[:'mandates']).is_a?(Array)
|
|
45
|
+
self.mandates = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
mandates == o.mandates
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[mandates].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20016
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :bankaccounts
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'bankaccounts' => :'bankaccounts'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'bankaccounts' => :'Array<CountryRestrictionGroup>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'bankaccounts')
|
|
44
|
+
if (value = attributes[:'bankaccounts']).is_a?(Array)
|
|
45
|
+
self.bankaccounts = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
bankaccounts == o.bankaccounts
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[bankaccounts].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20017
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :payins
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'payins' => :'payins'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'payins' => :'Array<Payin>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'payins')
|
|
44
|
+
if (value = attributes[:'payins']).is_a?(Array)
|
|
45
|
+
self.payins = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
payins == o.payins
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[payins].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20018
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :virtualibans
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'virtualibans' => :'virtualibans'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'virtualibans' => :'Array<Virtualiban>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'virtualibans')
|
|
44
|
+
if (value = attributes[:'virtualibans']).is_a?(Array)
|
|
45
|
+
self.virtualibans = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
virtualibans == o.virtualibans
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[virtualibans].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20019
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :payinrefunds
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'payinrefunds' => :'payinrefunds'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'payinrefunds' => :'Array<Payinrefund>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'payinrefunds')
|
|
44
|
+
if (value = attributes[:'payinrefunds']).is_a?(Array)
|
|
45
|
+
self.payinrefunds = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
payinrefunds == o.payinrefunds
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[payinrefunds].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20020
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :payouts
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'payouts' => :'payouts'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'payouts' => :'Array<Payout>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'payouts')
|
|
44
|
+
if (value = attributes[:'payouts']).is_a?(Array)
|
|
45
|
+
self.payouts = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
payouts == o.payouts
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[payouts].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20021
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :payout_refunds
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'payout_refunds' => :'payoutRefunds'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'payout_refunds' => :'Array<PayoutRefund>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'payoutRefunds')
|
|
44
|
+
if (value = attributes[:'payoutRefunds']).is_a?(Array)
|
|
45
|
+
self.payout_refunds = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
payout_refunds == o.payout_refunds
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[payout_refunds].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20022
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :transactions
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'transactions' => :'transactions'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'transactions' => :'Array<Transaction>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'transactions')
|
|
44
|
+
if (value = attributes[:'transactions']).is_a?(Array)
|
|
45
|
+
self.transactions = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
transactions == o.transactions
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[transactions].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20024
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :transferrefunds
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'transferrefunds' => :'transferrefunds'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'transferrefunds' => :'Array<Transferrefund>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'transferrefunds')
|
|
44
|
+
if (value = attributes[:'transferrefunds']).is_a?(Array)
|
|
45
|
+
self.transferrefunds = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
transferrefunds == o.transferrefunds
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[transferrefunds].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
|
|
17
17
|
class InlineResponse20025
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :transfers
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
22
|
def self.attribute_map
|
|
23
23
|
{
|
|
24
|
-
:'
|
|
24
|
+
:'transfers' => :'transfers'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.swagger_types
|
|
30
30
|
{
|
|
31
|
-
:'
|
|
31
|
+
:'transfers' => :'Array<Transferrefund>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@ module TreezorClient
|
|
|
40
40
|
# convert string to symbol for hash key
|
|
41
41
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
42
|
|
|
43
|
-
if attributes.has_key?(:'
|
|
44
|
-
if (value = attributes[:'
|
|
45
|
-
self.
|
|
43
|
+
if attributes.has_key?(:'transfers')
|
|
44
|
+
if (value = attributes[:'transfers']).is_a?(Array)
|
|
45
|
+
self.transfers = value
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@ module TreezorClient
|
|
|
66
66
|
def ==(o)
|
|
67
67
|
return true if self.equal?(o)
|
|
68
68
|
self.class == o.class &&
|
|
69
|
-
|
|
69
|
+
transfers == o.transfers
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @see the `==` method
|
|
@@ -78,7 +78,7 @@ module TreezorClient
|
|
|
78
78
|
# Calculates hash code according to all attributes.
|
|
79
79
|
# @return [Fixnum] Hash code
|
|
80
80
|
def hash
|
|
81
|
-
[
|
|
81
|
+
[transfers].hash
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Builds the object from hash
|