storecove 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/lib/storecove/api/invoice_submissions_api.rb +8 -28
  3. data/lib/storecove/api/shop_account_requests_api.rb +10 -42
  4. data/lib/storecove/api/shop_accounts_api.rb +45 -81
  5. data/lib/storecove/api/shops_api.rb +4 -20
  6. data/lib/storecove/api_client.rb +16 -19
  7. data/lib/storecove/api_error.rb +7 -17
  8. data/lib/storecove/configuration.rb +0 -12
  9. data/lib/storecove/models/accounting_cost_code.rb +3 -19
  10. data/lib/storecove/models/accounting_customer_party.rb +7 -15
  11. data/lib/storecove/models/{party_address.rb → address.rb} +8 -19
  12. data/lib/storecove/models/{party_contact.rb → contact.rb} +8 -16
  13. data/lib/storecove/models/country.rb +0 -12
  14. data/lib/storecove/models/currency_code.rb +0 -12
  15. data/lib/storecove/models/error_model.rb +3 -15
  16. data/lib/storecove/models/{invoice_submission_invoice.rb → invoice.rb} +55 -41
  17. data/lib/storecove/models/invoice_line.rb +12 -22
  18. data/lib/storecove/models/invoice_recipient.rb +18 -21
  19. data/lib/storecove/models/invoice_recipient_preflight.rb +11 -15
  20. data/lib/storecove/models/invoice_submission.rb +15 -16
  21. data/lib/storecove/models/invoice_submission_result.rb +11 -23
  22. data/lib/storecove/models/legal_entity.rb +3 -15
  23. data/lib/storecove/models/legal_entity_identifier.rb +3 -15
  24. data/lib/storecove/models/logos.rb +3 -15
  25. data/lib/storecove/models/party.rb +5 -17
  26. data/lib/storecove/models/preflight_invoice_recipient_result.rb +3 -15
  27. data/lib/storecove/models/{public_identifiers_inner.rb → public_identifier.rb} +4 -16
  28. data/lib/storecove/models/public_identifiers.rb +3 -15
  29. data/lib/storecove/models/shop.rb +3 -15
  30. data/lib/storecove/models/shop_account_input.rb +19 -15
  31. data/lib/storecove/models/shop_account_request.rb +7 -15
  32. data/lib/storecove/models/shop_account_request_input.rb +3 -15
  33. data/lib/storecove/models/shop_account_request_update.rb +3 -15
  34. data/lib/storecove/models/{shop_account.rb → shop_account_result.rb} +4 -16
  35. data/lib/storecove/models/shop_account_update.rb +3 -15
  36. data/lib/storecove/models/{invoice_line_tax.rb → tax.rb} +16 -16
  37. data/lib/storecove/version.rb +1 -13
  38. data/lib/storecove.rb +6 -18
  39. data/spec/api/invoice_submissions_api_spec.rb +70 -0
  40. data/spec/api/shop_account_requests_api_spec.rb +107 -0
  41. data/spec/api/shop_accounts_api_spec.rb +118 -0
  42. data/spec/api/shops_api_spec.rb +57 -0
  43. data/spec/api_client_spec.rb +237 -0
  44. data/spec/configuration_spec.rb +53 -0
  45. data/spec/models/accounting_cost_code_spec.rb +71 -0
  46. data/spec/models/accounting_customer_party_spec.rb +59 -0
  47. data/spec/models/country_spec.rb +47 -0
  48. data/spec/models/currency_code_spec.rb +47 -0
  49. data/spec/models/error_model_spec.rb +59 -0
  50. data/spec/models/invoice_line_spec.rb +95 -0
  51. data/spec/models/invoice_line_tax_spec.rb +65 -0
  52. data/spec/models/invoice_recipient_preflight_spec.rb +59 -0
  53. data/spec/models/invoice_recipient_spec.rb +59 -0
  54. data/spec/models/invoice_submission_invoice_spec.rb +159 -0
  55. data/spec/models/invoice_submission_result_spec.rb +53 -0
  56. data/spec/models/invoice_submission_spec.rb +99 -0
  57. data/spec/models/legal_entity_identifier_spec.rb +65 -0
  58. data/spec/models/legal_entity_spec.rb +95 -0
  59. data/spec/models/logos_spec.rb +65 -0
  60. data/spec/models/party_address_spec.rb +101 -0
  61. data/spec/models/party_contact_spec.rb +65 -0
  62. data/spec/models/party_spec.rb +65 -0
  63. data/spec/models/preflight_invoice_recipient_result_spec.rb +57 -0
  64. data/spec/models/public_identifier_spec.rb +59 -0
  65. data/spec/models/public_identifiers_spec.rb +47 -0
  66. data/spec/models/shop_account_input_spec.rb +77 -0
  67. data/spec/models/shop_account_request_input_spec.rb +77 -0
  68. data/spec/models/shop_account_request_spec.rb +77 -0
  69. data/spec/models/shop_account_request_update_spec.rb +71 -0
  70. data/spec/models/shop_account_result_spec.rb +95 -0
  71. data/spec/models/shop_account_update_spec.rb +65 -0
  72. data/spec/models/shop_spec.rb +77 -0
  73. data/spec/spec_helper.rb +122 -0
  74. metadata +79 -10
  75. data/lib/storecove/models/swagger-codegen +0 -2799
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::PartyContact
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'PartyContact' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::PartyContact.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of PartyContact' do
42
+ it 'should create an instact of PartyContact' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::PartyContact)
44
+ end
45
+ end
46
+ describe 'test attribute "first_name"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "last_name"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "email"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ end
65
+
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::Party
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'Party' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::Party.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of Party' do
42
+ it 'should create an instact of Party' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::Party)
44
+ end
45
+ end
46
+ describe 'test attribute "company_name"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "address"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "contact"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ end
65
+
@@ -0,0 +1,57 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::PreflightInvoiceRecipientResult
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'PreflightInvoiceRecipientResult' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::PreflightInvoiceRecipientResult.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of PreflightInvoiceRecipientResult' do
42
+ it 'should create an instact of PreflightInvoiceRecipientResult' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::PreflightInvoiceRecipientResult)
44
+ end
45
+ end
46
+ describe 'test attribute "code"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ #validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ok", "nok"])
50
+ #validator.allowable_values.each do |value|
51
+ # expect { @instance.code = value }.not_to raise_error
52
+ #end
53
+ end
54
+ end
55
+
56
+ end
57
+
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::PublicIdentifier
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'PublicIdentifier' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::PublicIdentifier.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of PublicIdentifier' do
42
+ it 'should create an instact of PublicIdentifier' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::PublicIdentifier)
44
+ end
45
+ end
46
+ describe 'test attribute "scheme"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "id"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
59
+
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::PublicIdentifiers
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'PublicIdentifiers' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::PublicIdentifiers.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of PublicIdentifiers' do
42
+ it 'should create an instact of PublicIdentifiers' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::PublicIdentifiers)
44
+ end
45
+ end
46
+ end
47
+
@@ -0,0 +1,77 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::ShopAccountInput
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'ShopAccountInput' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::ShopAccountInput.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of ShopAccountInput' do
42
+ it 'should create an instact of ShopAccountInput' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::ShopAccountInput)
44
+ end
45
+ end
46
+ describe 'test attribute "username"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "password"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "external_user_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "email"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "shop_id"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ end
77
+
@@ -0,0 +1,77 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::ShopAccountRequestInput
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'ShopAccountRequestInput' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::ShopAccountRequestInput.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of ShopAccountRequestInput' do
42
+ it 'should create an instact of ShopAccountRequestInput' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::ShopAccountRequestInput)
44
+ end
45
+ end
46
+ describe 'test attribute "username"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "password"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "external_user_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "request_name"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "request_url"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ end
77
+
@@ -0,0 +1,77 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::ShopAccountRequest
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'ShopAccountRequest' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::ShopAccountRequest.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of ShopAccountRequest' do
42
+ it 'should create an instact of ShopAccountRequest' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::ShopAccountRequest)
44
+ end
45
+ end
46
+ describe 'test attribute "id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "username"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "external_user_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "request_name"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "request_url"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ end
77
+
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::ShopAccountRequestUpdate
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'ShopAccountRequestUpdate' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::ShopAccountRequestUpdate.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of ShopAccountRequestUpdate' do
42
+ it 'should create an instact of ShopAccountRequestUpdate' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::ShopAccountRequestUpdate)
44
+ end
45
+ end
46
+ describe 'test attribute "username"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "password"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "request_name"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "request_url"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
71
+
@@ -0,0 +1,95 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+ require 'date'
27
+
28
+ # Unit tests for StorecoveApi::ShopAccountResult
29
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
+ # Please update as you see appropriate
31
+ describe 'ShopAccountResult' do
32
+ before do
33
+ # run before each test
34
+ @instance = StorecoveApi::ShopAccountResult.new
35
+ end
36
+
37
+ after do
38
+ # run after each test
39
+ end
40
+
41
+ describe 'test an instance of ShopAccountResult' do
42
+ it 'should create an instact of ShopAccountResult' do
43
+ expect(@instance).to be_instance_of(StorecoveApi::ShopAccountResult)
44
+ end
45
+ end
46
+ describe 'test attribute "id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "username"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "external_user_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "email"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "from_date"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "sign_in_error_confirmed"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "sign_in_error_confirmed_at"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "shop"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
95
+