treezor_client 1.10.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +25 -24
- data/README.md +3 -1
- data/docs/Body11.md +9 -0
- data/docs/BusinessApi.md +2 -2
- data/docs/CardApi.md +0 -53
- data/docs/CardDigitalization.md +1 -1
- data/docs/CardReserveApi.md +4 -10
- data/docs/CardtransactionApi.md +1 -1
- data/docs/Document.md +1 -0
- data/docs/InlineResponse20010Cardtransactions.md +1 -0
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse2009Cardtransactions.md +1 -0
- data/docs/MerchantIdRestrictionGroupsApi.md +67 -0
- data/docs/Payin.md +1 -1
- data/docs/PayinApi.md +2 -2
- data/docs/Payinrefund.md +1 -1
- data/docs/PayinrefundApi.md +4 -4
- data/docs/SepaSctrInst.md +26 -0
- data/docs/UserApi.md +6 -6
- data/docs/WalletApi.md +1 -5
- data/generate.sh +10 -0
- data/lib/treezor_client/api/balance_api.rb +1 -1
- data/lib/treezor_client/api/bankaccount_api.rb +1 -1
- data/lib/treezor_client/api/beneficiaries_api.rb +1 -1
- data/lib/treezor_client/api/business_api.rb +4 -4
- data/lib/treezor_client/api/card_api.rb +1 -49
- data/lib/treezor_client/api/card_digitalizations_api.rb +1 -1
- data/lib/treezor_client/api/card_reserve_api.rb +7 -21
- data/lib/treezor_client/api/cardtransaction_api.rb +3 -3
- data/lib/treezor_client/api/country_restriction_groups_api.rb +1 -1
- data/lib/treezor_client/api/document_api.rb +1 -1
- data/lib/treezor_client/api/heartbeat_api.rb +1 -1
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +1 -1
- data/lib/treezor_client/api/mandate_api.rb +1 -1
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +1 -1
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +69 -1
- data/lib/treezor_client/api/payin_api.rb +3 -3
- data/lib/treezor_client/api/payinrefund_api.rb +3 -3
- data/lib/treezor_client/api/payout_api.rb +1 -1
- data/lib/treezor_client/api/payout_refunds_api.rb +1 -1
- data/lib/treezor_client/api/tax_residence_api.rb +1 -1
- data/lib/treezor_client/api/transaction_api.rb +1 -1
- data/lib/treezor_client/api/transfer_api.rb +1 -1
- data/lib/treezor_client/api/transferrefund_api.rb +1 -1
- data/lib/treezor_client/api/user_api.rb +7 -7
- data/lib/treezor_client/api/virtualibans_api.rb +1 -1
- data/lib/treezor_client/api/wallet_api.rb +3 -9
- data/lib/treezor_client/api_client.rb +6 -4
- data/lib/treezor_client/api_error.rb +1 -1
- data/lib/treezor_client/configuration.rb +3 -3
- data/lib/treezor_client/models/balance.rb +3 -2
- data/lib/treezor_client/models/bankaccount.rb +3 -2
- data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +3 -2
- data/lib/treezor_client/models/beneficiary.rb +3 -2
- data/lib/treezor_client/models/body.rb +3 -2
- data/lib/treezor_client/models/body_1.rb +3 -2
- data/lib/treezor_client/models/body_10.rb +3 -2
- data/lib/treezor_client/models/{inline_response_200_7_cardimages.rb → body_11.rb} +52 -40
- data/lib/treezor_client/models/body_2.rb +3 -2
- data/lib/treezor_client/models/body_3.rb +3 -2
- data/lib/treezor_client/models/body_4.rb +3 -2
- data/lib/treezor_client/models/body_5.rb +3 -2
- data/lib/treezor_client/models/body_6.rb +3 -2
- data/lib/treezor_client/models/body_7.rb +3 -2
- data/lib/treezor_client/models/body_8.rb +3 -2
- data/lib/treezor_client/models/body_9.rb +3 -2
- data/lib/treezor_client/models/businesssearchs_businessinformations.rb +3 -2
- data/lib/treezor_client/models/card.rb +3 -2
- data/lib/treezor_client/models/card_digitalization.rb +4 -3
- data/lib/treezor_client/models/country_restriction_group.rb +3 -2
- data/lib/treezor_client/models/document.rb +13 -3
- data/lib/treezor_client/models/error.rb +3 -2
- data/lib/treezor_client/models/inline_response_200.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_1.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_10.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +13 -3
- data/lib/treezor_client/models/inline_response_200_11.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_12.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_13.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_14.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_15.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_16.rb +11 -10
- data/lib/treezor_client/models/inline_response_200_17.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_18.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_19.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_2.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_20.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_21.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_22.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_23.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_24.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_25.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_26.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_27.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_28.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_3.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4_users.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_5.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_6.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_7.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_8.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_9.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +13 -3
- data/lib/treezor_client/models/inline_response_default.rb +3 -2
- data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +3 -2
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +3 -2
- data/lib/treezor_client/models/mandate.rb +3 -2
- data/lib/treezor_client/models/mcc_restriction_group.rb +3 -2
- data/lib/treezor_client/models/merchant_id_restriction_group.rb +3 -2
- data/lib/treezor_client/models/payin.rb +6 -5
- data/lib/treezor_client/models/payinrefund.rb +4 -3
- data/lib/treezor_client/models/payout.rb +3 -2
- data/lib/treezor_client/models/payout_refund.rb +3 -2
- data/lib/treezor_client/models/sepa_sctr_inst.rb +347 -0
- data/lib/treezor_client/models/tax_residence.rb +3 -2
- data/lib/treezor_client/models/transaction.rb +3 -2
- data/lib/treezor_client/models/transfer.rb +3 -2
- data/lib/treezor_client/models/transferrefund.rb +3 -2
- data/lib/treezor_client/models/user.rb +3 -2
- data/lib/treezor_client/models/virtualiban.rb +3 -2
- data/lib/treezor_client/models/wallet.rb +3 -2
- data/lib/treezor_client/version.rb +2 -2
- data/lib/treezor_client.rb +3 -1
- data/original_treezor_api_spec.yaml +111 -78
- data/spec/models/body_11_spec.rb +51 -0
- data/spec/models/sepa_sctr_inst_spec.rb +149 -0
- data/treezor_api_spec.yaml +151 -78
- data/treezor_client.gemspec +2 -1
- metadata +34 -152
- data/doc/TreezorClient/ApiClient.html +0 -2600
- data/doc/TreezorClient/ApiError.html +0 -464
- data/doc/TreezorClient/Balance.html +0 -2042
- data/doc/TreezorClient/BalanceApi.html +0 -760
- data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Bankaccount.html +0 -2560
- data/doc/TreezorClient/BankaccountApi.html +0 -2450
- data/doc/TreezorClient/BeneficiariesApi.html +0 -2387
- data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +0 -1816
- data/doc/TreezorClient/Beneficiary.html +0 -2574
- data/doc/TreezorClient/Body/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body.html +0 -1826
- data/doc/TreezorClient/Body1.html +0 -2596
- data/doc/TreezorClient/Body10/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body10.html +0 -2069
- data/doc/TreezorClient/Body2.html +0 -2492
- data/doc/TreezorClient/Body3.html +0 -1726
- data/doc/TreezorClient/Body4.html +0 -1726
- data/doc/TreezorClient/Body5/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body5.html +0 -2001
- data/doc/TreezorClient/Body6/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body6.html +0 -2069
- data/doc/TreezorClient/Body7/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body7.html +0 -2002
- data/doc/TreezorClient/Body8/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body8.html +0 -1981
- data/doc/TreezorClient/Body9/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body9.html +0 -2001
- data/doc/TreezorClient/BusinessApi.html +0 -1548
- data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +0 -2822
- data/doc/TreezorClient/Card/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Card.html +0 -6928
- data/doc/TreezorClient/CardApi.html +0 -9907
- data/doc/TreezorClient/CardDigitalization.html +0 -2126
- data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +0 -4343
- data/doc/TreezorClient/CardDigitalizationsApi.html +0 -1542
- data/doc/TreezorClient/CardReserveApi.html +0 -1622
- data/doc/TreezorClient/CardtransactionApi.html +0 -1243
- data/doc/TreezorClient/Configuration.html +0 -2459
- data/doc/TreezorClient/CountryRestrictionGroupsApi.html +0 -2602
- data/doc/TreezorClient/Document/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Document.html +0 -2812
- data/doc/TreezorClient/DocumentApi.html +0 -2878
- data/doc/TreezorClient/Error.html +0 -1794
- data/doc/TreezorClient/HeartbeatApi.html +0 -702
- data/doc/TreezorClient/InlineResponse200.html +0 -1626
- data/doc/TreezorClient/InlineResponse2001.html +0 -1626
- data/doc/TreezorClient/InlineResponse20010.html +0 -1626
- data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +0 -5844
- data/doc/TreezorClient/InlineResponse20011.html +0 -1626
- data/doc/TreezorClient/InlineResponse20012.html +0 -1626
- data/doc/TreezorClient/InlineResponse20013.html +0 -1626
- data/doc/TreezorClient/InlineResponse20014.html +0 -1626
- data/doc/TreezorClient/InlineResponse20015.html +0 -1626
- data/doc/TreezorClient/InlineResponse20016.html +0 -1626
- data/doc/TreezorClient/InlineResponse20017.html +0 -1626
- data/doc/TreezorClient/InlineResponse20018.html +0 -1626
- data/doc/TreezorClient/InlineResponse20019.html +0 -1626
- data/doc/TreezorClient/InlineResponse2002.html +0 -1626
- data/doc/TreezorClient/InlineResponse20020.html +0 -1626
- data/doc/TreezorClient/InlineResponse20021.html +0 -1626
- data/doc/TreezorClient/InlineResponse20022.html +0 -1626
- data/doc/TreezorClient/InlineResponse20023.html +0 -1626
- data/doc/TreezorClient/InlineResponse20024.html +0 -1626
- data/doc/TreezorClient/InlineResponse20025.html +0 -1626
- data/doc/TreezorClient/InlineResponse2003.html +0 -1626
- data/doc/TreezorClient/InlineResponse2004.html +0 -1626
- data/doc/TreezorClient/InlineResponse2005.html +0 -1626
- data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/InlineResponse2005Businessinformations.html +0 -3561
- data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/InlineResponse2005Users.html +0 -1972
- data/doc/TreezorClient/InlineResponse2006.html +0 -1626
- data/doc/TreezorClient/InlineResponse2007.html +0 -1626
- data/doc/TreezorClient/InlineResponse2007Cardimages.html +0 -1800
- data/doc/TreezorClient/InlineResponse2008.html +0 -1626
- data/doc/TreezorClient/InlineResponse2009.html +0 -1790
- data/doc/TreezorClient/InlineResponseDefault.html +0 -1626
- data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +0 -1371
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +0 -1803
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +0 -1804
- data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Mandate.html +0 -4584
- data/doc/TreezorClient/MandateApi.html +0 -3787
- data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/MccRestrictionGroup.html +0 -2144
- data/doc/TreezorClient/MccRestrictionGroupsApi.html +0 -2598
- data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/MerchantIdRestrictionGroup.html +0 -2144
- data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +0 -2638
- data/doc/TreezorClient/Payin/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payin.html +0 -5584
- data/doc/TreezorClient/PayinApi.html +0 -2963
- data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payinrefund.html +0 -2476
- data/doc/TreezorClient/PayinrefundApi.html +0 -2449
- data/doc/TreezorClient/Payout/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payout.html +0 -3488
- data/doc/TreezorClient/PayoutApi.html +0 -2737
- data/doc/TreezorClient/Tav.html +0 -2130
- data/doc/TreezorClient/Transaction.html +0 -2798
- data/doc/TreezorClient/TransactionApi.html +0 -1491
- data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Transfer.html +0 -3158
- data/doc/TreezorClient/TransferApi.html +0 -2725
- data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Transferrefund.html +0 -2644
- data/doc/TreezorClient/TransferrefundApi.html +0 -2450
- data/doc/TreezorClient/User/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/User.html +0 -5844
- data/doc/TreezorClient/UserApi.html +0 -6647
- data/doc/TreezorClient/Virtualiban.html +0 -2462
- data/doc/TreezorClient/VirtualibansApi.html +0 -2845
- data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Wallet.html +0 -4076
- data/doc/TreezorClient/WalletApi.html +0 -3944
- data/doc/TreezorClient.html +0 -251
- data/doc/_index.html +0 -1025
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -636
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -636
- data/doc/js/app.js +0 -292
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -15699
- data/doc/top-level-namespace.html +0 -110
- data/docs/CardDigitalizationDetailsFromGPS.md +0 -40
- data/docs/InlineResponse20011Cardtransactions.md +0 -58
- data/docs/InlineResponse2005Businessinformations.md +0 -26
- data/docs/InlineResponse2005Users.md +0 -12
- data/docs/InlineResponse2007Cardimages.md +0 -10
- data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +0 -10
- data/docs/Tav.md +0 -14
- data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +0 -509
- data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +0 -637
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +0 -447
- data/lib/treezor_client/models/inline_response_200_5_users.rb +0 -258
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +0 -209
- data/lib/treezor_client/models/tav.rb +0 -241
- data/pkg/treezor_client-1.10.0.gem +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -172,7 +172,7 @@ module TreezorClient
|
|
172
172
|
return nil unless attributes.is_a?(Hash)
|
173
173
|
self.class.swagger_types.each_pair do |key, type|
|
174
174
|
if type =~ /\AArray<(.*)>/i
|
175
|
-
# check to ensure the input is an array given that the
|
175
|
+
# check to ensure the input is an array given that the attribute
|
176
176
|
# is documented as an array but the input is not
|
177
177
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
178
178
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -268,5 +268,6 @@ module TreezorClient
|
|
268
268
|
value
|
269
269
|
end
|
270
270
|
end
|
271
|
+
|
271
272
|
end
|
272
273
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -258,7 +258,7 @@ module TreezorClient
|
|
258
258
|
return nil unless attributes.is_a?(Hash)
|
259
259
|
self.class.swagger_types.each_pair do |key, type|
|
260
260
|
if type =~ /\AArray<(.*)>/i
|
261
|
-
# check to ensure the input is an array given that the
|
261
|
+
# check to ensure the input is an array given that the attribute
|
262
262
|
# is documented as an array but the input is not
|
263
263
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
264
264
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -354,5 +354,6 @@ module TreezorClient
|
|
354
354
|
value
|
355
355
|
end
|
356
356
|
end
|
357
|
+
|
357
358
|
end
|
358
359
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -698,7 +698,7 @@ module TreezorClient
|
|
698
698
|
return nil unless attributes.is_a?(Hash)
|
699
699
|
self.class.swagger_types.each_pair do |key, type|
|
700
700
|
if type =~ /\AArray<(.*)>/i
|
701
|
-
# check to ensure the input is an array given that the
|
701
|
+
# check to ensure the input is an array given that the attribute
|
702
702
|
# is documented as an array but the input is not
|
703
703
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
704
704
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -794,5 +794,6 @@ module TreezorClient
|
|
794
794
|
value
|
795
795
|
end
|
796
796
|
end
|
797
|
+
|
797
798
|
end
|
798
799
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -18,7 +18,7 @@ module TreezorClient
|
|
18
18
|
|
19
19
|
attr_accessor :card_id
|
20
20
|
|
21
|
-
# | Status | Description | | ---- | ----------- | | A | Active | |
|
21
|
+
# | Status | Description | | ---- | ----------- | | A | Active | | U | Not tokenized | | S | Suspended | | D | Deactivated (Final status, cannot be changed)|
|
22
22
|
attr_accessor :status
|
23
23
|
|
24
24
|
attr_accessor :created_date
|
@@ -120,7 +120,7 @@ module TreezorClient
|
|
120
120
|
return nil unless attributes.is_a?(Hash)
|
121
121
|
self.class.swagger_types.each_pair do |key, type|
|
122
122
|
if type =~ /\AArray<(.*)>/i
|
123
|
-
# check to ensure the input is an array given that the
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
124
|
# is documented as an array but the input is not
|
125
125
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
126
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -216,5 +216,6 @@ module TreezorClient
|
|
216
216
|
value
|
217
217
|
end
|
218
218
|
end
|
219
|
+
|
219
220
|
end
|
220
221
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -180,7 +180,7 @@ module TreezorClient
|
|
180
180
|
return nil unless attributes.is_a?(Hash)
|
181
181
|
self.class.swagger_types.each_pair do |key, type|
|
182
182
|
if type =~ /\AArray<(.*)>/i
|
183
|
-
# check to ensure the input is an array given that the
|
183
|
+
# check to ensure the input is an array given that the attribute
|
184
184
|
# is documented as an array but the input is not
|
185
185
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
186
186
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -276,5 +276,6 @@ module TreezorClient
|
|
276
276
|
value
|
277
277
|
end
|
278
278
|
end
|
279
|
+
|
279
280
|
end
|
280
281
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,6 +40,8 @@ module TreezorClient
|
|
40
40
|
|
41
41
|
attr_accessor :temporary_url_thumb
|
42
42
|
|
43
|
+
attr_accessor :information_status
|
44
|
+
|
43
45
|
# Date YYYY-MM-DD HH:MM:SS
|
44
46
|
attr_accessor :created_date
|
45
47
|
|
@@ -86,6 +88,7 @@ module TreezorClient
|
|
86
88
|
:'file_name' => :'fileName',
|
87
89
|
:'temporary_url' => :'temporaryUrl',
|
88
90
|
:'temporary_url_thumb' => :'temporaryUrlThumb',
|
91
|
+
:'information_status' => :'informationStatus',
|
89
92
|
:'created_date' => :'createdDate',
|
90
93
|
:'modified_date' => :'modifiedDate',
|
91
94
|
:'total_rows' => :'totalRows'
|
@@ -108,6 +111,7 @@ module TreezorClient
|
|
108
111
|
:'file_name' => :'String',
|
109
112
|
:'temporary_url' => :'String',
|
110
113
|
:'temporary_url_thumb' => :'String',
|
114
|
+
:'information_status' => :'String',
|
111
115
|
:'created_date' => :'String',
|
112
116
|
:'modified_date' => :'String',
|
113
117
|
:'total_rows' => :'Integer'
|
@@ -174,6 +178,10 @@ module TreezorClient
|
|
174
178
|
self.temporary_url_thumb = attributes[:'temporaryUrlThumb']
|
175
179
|
end
|
176
180
|
|
181
|
+
if attributes.has_key?(:'informationStatus')
|
182
|
+
self.information_status = attributes[:'informationStatus']
|
183
|
+
end
|
184
|
+
|
177
185
|
if attributes.has_key?(:'createdDate')
|
178
186
|
self.created_date = attributes[:'createdDate']
|
179
187
|
end
|
@@ -230,6 +238,7 @@ module TreezorClient
|
|
230
238
|
file_name == o.file_name &&
|
231
239
|
temporary_url == o.temporary_url &&
|
232
240
|
temporary_url_thumb == o.temporary_url_thumb &&
|
241
|
+
information_status == o.information_status &&
|
233
242
|
created_date == o.created_date &&
|
234
243
|
modified_date == o.modified_date &&
|
235
244
|
total_rows == o.total_rows
|
@@ -244,7 +253,7 @@ module TreezorClient
|
|
244
253
|
# Calculates hash code according to all attributes.
|
245
254
|
# @return [Fixnum] Hash code
|
246
255
|
def hash
|
247
|
-
[document_id, document_tag, document_status, document_type_id, document_type, residence_id, client_id, user_id, user_lastname, user_firstname, file_name, temporary_url, temporary_url_thumb, created_date, modified_date, total_rows].hash
|
256
|
+
[document_id, document_tag, document_status, document_type_id, document_type, residence_id, client_id, user_id, user_lastname, user_firstname, file_name, temporary_url, temporary_url_thumb, information_status, created_date, modified_date, total_rows].hash
|
248
257
|
end
|
249
258
|
|
250
259
|
# Builds the object from hash
|
@@ -254,7 +263,7 @@ module TreezorClient
|
|
254
263
|
return nil unless attributes.is_a?(Hash)
|
255
264
|
self.class.swagger_types.each_pair do |key, type|
|
256
265
|
if type =~ /\AArray<(.*)>/i
|
257
|
-
# check to ensure the input is an array given that the
|
266
|
+
# check to ensure the input is an array given that the attribute
|
258
267
|
# is documented as an array but the input is not
|
259
268
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
260
269
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -350,5 +359,6 @@ module TreezorClient
|
|
350
359
|
value
|
351
360
|
end
|
352
361
|
end
|
362
|
+
|
353
363
|
end
|
354
364
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -103,7 +103,7 @@ module TreezorClient
|
|
103
103
|
return nil unless attributes.is_a?(Hash)
|
104
104
|
self.class.swagger_types.each_pair do |key, type|
|
105
105
|
if type =~ /\AArray<(.*)>/i
|
106
|
-
# check to ensure the input is an array given that the
|
106
|
+
# check to ensure the input is an array given that the attribute
|
107
107
|
# is documented as an array but the input is not
|
108
108
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
109
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -199,5 +199,6 @@ module TreezorClient
|
|
199
199
|
value
|
200
200
|
end
|
201
201
|
end
|
202
|
+
|
202
203
|
end
|
203
204
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,6 +20,8 @@ module TreezorClient
|
|
20
20
|
|
21
21
|
attr_accessor :wallet_id
|
22
22
|
|
23
|
+
attr_accessor :acquirer_id
|
24
|
+
|
23
25
|
attr_accessor :wallet_currency
|
24
26
|
|
25
27
|
attr_accessor :merchant_id
|
@@ -126,6 +128,7 @@ module TreezorClient
|
|
126
128
|
:'cardtransaction_id' => :'cardtransactionId',
|
127
129
|
:'card_id' => :'cardId',
|
128
130
|
:'wallet_id' => :'walletId',
|
131
|
+
:'acquirer_id' => :'acquirerId',
|
129
132
|
:'wallet_currency' => :'walletCurrency',
|
130
133
|
:'merchant_id' => :'merchantId',
|
131
134
|
:'merchant_name' => :'merchantName',
|
@@ -183,6 +186,7 @@ module TreezorClient
|
|
183
186
|
:'cardtransaction_id' => :'String',
|
184
187
|
:'card_id' => :'String',
|
185
188
|
:'wallet_id' => :'String',
|
189
|
+
:'acquirer_id' => :'String',
|
186
190
|
:'wallet_currency' => :'String',
|
187
191
|
:'merchant_id' => :'String',
|
188
192
|
:'merchant_name' => :'String',
|
@@ -254,6 +258,10 @@ module TreezorClient
|
|
254
258
|
self.wallet_id = attributes[:'walletId']
|
255
259
|
end
|
256
260
|
|
261
|
+
if attributes.has_key?(:'acquirerId')
|
262
|
+
self.acquirer_id = attributes[:'acquirerId']
|
263
|
+
end
|
264
|
+
|
257
265
|
if attributes.has_key?(:'walletCurrency')
|
258
266
|
self.wallet_currency = attributes[:'walletCurrency']
|
259
267
|
end
|
@@ -468,6 +476,7 @@ module TreezorClient
|
|
468
476
|
cardtransaction_id == o.cardtransaction_id &&
|
469
477
|
card_id == o.card_id &&
|
470
478
|
wallet_id == o.wallet_id &&
|
479
|
+
acquirer_id == o.acquirer_id &&
|
471
480
|
wallet_currency == o.wallet_currency &&
|
472
481
|
merchant_id == o.merchant_id &&
|
473
482
|
merchant_name == o.merchant_name &&
|
@@ -527,7 +536,7 @@ module TreezorClient
|
|
527
536
|
# Calculates hash code according to all attributes.
|
528
537
|
# @return [Fixnum] Hash code
|
529
538
|
def hash
|
530
|
-
[cardtransaction_id, card_id, wallet_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
539
|
+
[cardtransaction_id, card_id, wallet_id, acquirer_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
531
540
|
end
|
532
541
|
|
533
542
|
# Builds the object from hash
|
@@ -537,7 +546,7 @@ module TreezorClient
|
|
537
546
|
return nil unless attributes.is_a?(Hash)
|
538
547
|
self.class.swagger_types.each_pair do |key, type|
|
539
548
|
if type =~ /\AArray<(.*)>/i
|
540
|
-
# check to ensure the input is an array given that the
|
549
|
+
# check to ensure the input is an array given that the attribute
|
541
550
|
# is documented as an array but the input is not
|
542
551
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
543
552
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -633,5 +642,6 @@ module TreezorClient
|
|
633
642
|
value
|
634
643
|
end
|
635
644
|
end
|
645
|
+
|
636
646
|
end
|
637
647
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module TreezorClient
|
16
16
|
class InlineResponse20016
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :merchant_id_restriction_groups
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'merchant_id_restriction_groups' => :'merchantIdRestrictionGroups'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'merchant_id_restriction_groups' => :'Array<MerchantIdRestrictionGroup>'
|
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?(:'merchantIdRestrictionGroups')
|
42
|
+
if (value = attributes[:'merchantIdRestrictionGroups']).is_a?(Array)
|
43
|
+
self.merchant_id_restriction_groups = 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
|
+
merchant_id_restriction_groups == o.merchant_id_restriction_groups
|
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
|
+
[merchant_id_restriction_groups].hash
|
79
79
|
end
|
80
80
|
|
81
81
|
# Builds the object from hash
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|