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
Binary file
|
@@ -0,0 +1,169 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::InlineResponse2004Businessinformations
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2004Businessinformations' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::InlineResponse2004Businessinformations.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2004Businessinformations' do
|
31
|
+
it 'should create an instance of InlineResponse2004Businessinformations' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::InlineResponse2004Businessinformations)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "legal_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "legal_registration_number"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "legal_registration_date"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "legal_form"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["1000", "1100", "1200", "1300", "1400", "1500", "1600", "1700", "1800", "1900", "2110", "2120", "2210", "2220", "2310", "2320", "2385", "2400", "2700", "2900", "3110", "3120", "3205", "3210", "3220", "3290", "4110", "4120", "4130", "4140", "4150", "4160", "5191", "5192", "5193", "5194", "5195", "5196", "5202", "5203", "5306", "5307", "5308", "5309", "5385", "5410", "5415", "5422", "5426", "5430", "5431", "5432", "5442", "5443", "5451", "5453", "5454", "5455", "5458", "5459", "5460", "5485", "5498", "5499", "5505", "5510", "5515", "5520", "5522", "5525", "5530", "5531", "5532", "5542", "5543", "5546", "5547", "5548", "5551", "5552", "5553", "5554", "5555", "5558", "5559", "5560", "5585", "5599", "5605", "5610", "5615", "5620", "5622", "5625", "5630", "5631", "5632", "5642", "5643", "5646", "5647", "5648", "5651", "5652", "5653", "5654", "5655", "5658", "5659", "5660", "5685", "5699", "5710", "5720", "5785", "5800", "6100", "6210", "6220", "6316", "6317", "6318", "6411", "6521", "6532", "6533", "6534", "6535", "6536", "6537", "6538", "6539", "6540", "6541", "6542", "6543", "6544", "6551", "6554", "6558", "6560", "6561", "6562", "6563", "6564", "6565", "6566", "6567", "6568", "6569", "6571", "6572", "6573", "6574", "6575", "6576", "6577", "6578", "6585", "6588", "6589", "6595", "6596", "6597", "6598", "6599", "6901", "7111", "7112", "7113", "7120", "7150", "7160", "7171", "7172", "7179", "7190", "7210", "7220", "7225", "7229", "7230", "7312", "7313", "7314", "7321", "7322", "7323", "7331", "7340", "7341", "7342", "7343", "7344", "7345", "7346", "7347", "7348", "7349", "7351", "7352", "7353", "7354", "7355", "7356", "7361", "7362", "7363", "7364", "7365", "7366", "7371", "7372", "7373", "7378", "7379", "7381", "7382", "7383", "7384", "7385", "7389", "7410", "7430", "7450", "7470", "7490", "8110", "8120", "8130", "8140", "8150", "8160", "8170", "8190", "8210", "8250", "8290", "8310", "8311", "8410", "8420", "8450", "8470", "8490", "8510", "8520", "9110", "9150", "9210", "9220", "9221", "9222", "9223", "9224", "9230", "9240", "9260", "9300", "9900", "9970"])
|
57
|
+
# validator.allowable_values.each do |value|
|
58
|
+
# expect { @instance.legal_form = value }.not_to raise_error
|
59
|
+
# end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "legal_share_capital"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "legal_sector"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "legal_annual_turn_over"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["", "0-39", "40-99", "100-249", "250-999", "1000-2999", "3000-9999", "10000-99999", "100000-*"])
|
79
|
+
# validator.allowable_values.each do |value|
|
80
|
+
# expect { @instance.legal_annual_turn_over = value }.not_to raise_error
|
81
|
+
# end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe 'test attribute "legal_net_income_range"' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["", "0-4", "5-9", "10-49", "50-149", "150-499", "500-*"])
|
89
|
+
# validator.allowable_values.each do |value|
|
90
|
+
# expect { @instance.legal_net_income_range = value }.not_to raise_error
|
91
|
+
# end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "legal_number_of_employee_range"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["", "0", "1-9", "10-99", "100-249", "250-*"])
|
99
|
+
# validator.allowable_values.each do |value|
|
100
|
+
# expect { @instance.legal_number_of_employee_range = value }.not_to raise_error
|
101
|
+
# end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "phone"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "email"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
describe 'test attribute "address1"' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
describe 'test attribute "postcode"' do
|
124
|
+
it 'should work' do
|
125
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
describe 'test attribute "city"' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
describe 'test attribute "state"' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
describe 'test attribute "country"' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
describe 'test attribute "status"' do
|
148
|
+
it 'should work' do
|
149
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["D", "N", "I", "A", "C", "T", "S", "L", "O"])
|
151
|
+
# validator.allowable_values.each do |value|
|
152
|
+
# expect { @instance.status = value }.not_to raise_error
|
153
|
+
# end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
describe 'test attribute "tradename"' do
|
158
|
+
it 'should work' do
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
describe 'test attribute "users"' do
|
164
|
+
it 'should work' do
|
165
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::InlineResponse2004Users
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2004Users' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::InlineResponse2004Users.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2004Users' do
|
31
|
+
it 'should create an instance of InlineResponse2004Users' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::InlineResponse2004Users)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "firstname"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "lastname"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "fullnames"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "birthday"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "parent_type"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Honorary president", "Not associated manager", "President of the control council", "Member of the management board", "Member of the supervisory council", "Member of the control committee", "Partner", "Management advisor ", "Deputy managing director", "Vice-president of the management board", "Vice-president of the supervisory council", "Developer", "Other manager", "Receiver", "Authorized agent", "Person in charge abroad", "Representative in France", "Member of the management council", "Member of the control council", "Treasurer", "Secretary", "Member", "Administrative director", "Sales director", "Financial director", "Chief Technical Officer", "General secretary", "Chief accountant", "Guardian", "Plan commissioner ", "Management agent", "Concordat commissioner", "Representative of the creditors", "Judicial representative", "Substitute judge-commissioner", "Judge-commissioner", "Receiver/representative of the creditors", "Conciliator", "Auditor", "Statutory auditor", "Supervision commissioner", "Deputy auditor", "Spouse-associate", "Accounts controller", "Censor", "Chief Executive Officer", "President", "Chairman of the Board", "Governor", "Deputy governor", "Person having the power to usually involve the company", "Manager", "Co-managing partner", "Managing director", "Managing director not administrator", "Unique managing director", "Delegated managing director", "Vice-president", "Administrator", "Delegated administrator", "President of the management board", "President of the supervisory council", "Active partner", "Management controller", "Liquidator", "Temporary administrator", "Representative in France of a foreign company", "Personal business manager"])
|
63
|
+
# validator.allowable_values.each do |value|
|
64
|
+
# expect { @instance.parent_type = value }.not_to raise_error
|
65
|
+
# end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::InlineResponse2006Cardimages
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2006Cardimages' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::InlineResponse2006Cardimages.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2006Cardimages' do
|
31
|
+
it 'should create an instance of InlineResponse2006Cardimages' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::InlineResponse2006Cardimages)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "card_id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "file"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,341 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::InlineResponse2009Cardtransactions
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2009Cardtransactions' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::InlineResponse2009Cardtransactions.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2009Cardtransactions' do
|
31
|
+
it 'should create an instance of InlineResponse2009Cardtransactions' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::InlineResponse2009Cardtransactions)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "cardtransaction_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "card_id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "wallet_id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "wallet_currency"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "merchant_id"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "merchant_name"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "merchant_city"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "merchant_country"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "mcc_code"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "payment_local_time"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "public_token"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "payment_amount"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "payment_currency"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "fees"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "payment_country"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "payment_id"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "payment_status"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'test attribute "payment_local_amount"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
describe 'test attribute "pos_cardholder_presence"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
describe 'test attribute "pos_postcode"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
describe 'test attribute "pos_country"' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
describe 'test attribute "pos_terminal_id"' do
|
162
|
+
it 'should work' do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
describe 'test attribute "pos_card_presence"' do
|
168
|
+
it 'should work' do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
describe 'test attribute "pan_entry_method"' do
|
174
|
+
it 'should work' do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
describe 'test attribute "authorization_note"' do
|
180
|
+
it 'should work' do
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
describe 'test attribute "authorization_response_code"' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
describe 'test attribute "authorization_issuer_id"' do
|
192
|
+
it 'should work' do
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
describe 'test attribute "authorization_issuer_time"' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
describe 'test attribute "authorization_mti"' do
|
204
|
+
it 'should work' do
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
describe 'test attribute "authorized_balance"' do
|
210
|
+
it 'should work' do
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
describe 'test attribute "limit_atm_year"' do
|
216
|
+
it 'should work' do
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
describe 'test attribute "limit_atm_month"' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
describe 'test attribute "limit_atm_week"' do
|
228
|
+
it 'should work' do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
describe 'test attribute "limit_atm_day"' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
describe 'test attribute "limit_atm_all"' do
|
240
|
+
it 'should work' do
|
241
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
describe 'test attribute "limit_payment_year"' do
|
246
|
+
it 'should work' do
|
247
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
describe 'test attribute "limit_payment_month"' do
|
252
|
+
it 'should work' do
|
253
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
describe 'test attribute "limit_payment_week"' do
|
258
|
+
it 'should work' do
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
describe 'test attribute "limit_payment_day"' do
|
264
|
+
it 'should work' do
|
265
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
describe 'test attribute "limit_payment_all"' do
|
270
|
+
it 'should work' do
|
271
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
describe 'test attribute "total_limit_atm_year"' do
|
276
|
+
it 'should work' do
|
277
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
describe 'test attribute "total_limit_atm_month"' do
|
282
|
+
it 'should work' do
|
283
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
describe 'test attribute "total_limit_atm_week"' do
|
288
|
+
it 'should work' do
|
289
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
describe 'test attribute "total_limit_atm_day"' do
|
294
|
+
it 'should work' do
|
295
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
describe 'test attribute "total_limit_atm_all"' do
|
300
|
+
it 'should work' do
|
301
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
describe 'test attribute "total_limit_payment_year"' do
|
306
|
+
it 'should work' do
|
307
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
describe 'test attribute "total_limit_payment_month"' do
|
312
|
+
it 'should work' do
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
describe 'test attribute "total_limit_payment_week"' do
|
318
|
+
it 'should work' do
|
319
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
describe 'test attribute "total_limit_payment_day"' do
|
324
|
+
it 'should work' do
|
325
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
describe 'test attribute "total_limit_payment_all"' do
|
330
|
+
it 'should work' do
|
331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
describe 'test attribute "total_rows"' do
|
336
|
+
it 'should work' do
|
337
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
end
|