gpd_debtposition_api 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +141 -0
- data/Rakefile +10 -0
- data/docs/AppInfo.md +22 -0
- data/docs/DebtPositionActionsAPIApi.md +165 -0
- data/docs/DebtPositionsAPIApi.md +424 -0
- data/docs/HomeApi.md +82 -0
- data/docs/MultipleIUPDModel.md +18 -0
- data/docs/MultiplePaymentPositionModel.md +18 -0
- data/docs/PageInfo.md +24 -0
- data/docs/PaymentOptionMetadataModel.md +20 -0
- data/docs/PaymentOptionMetadataModelResponse.md +20 -0
- data/docs/PaymentOptionModel.md +38 -0
- data/docs/PaymentOptionModelResponse.md +58 -0
- data/docs/PaymentPositionModel.md +60 -0
- data/docs/PaymentPositionModelBaseResponse.md +44 -0
- data/docs/PaymentPositionsInfo.md +20 -0
- data/docs/ProblemJson.md +22 -0
- data/docs/Stamp.md +22 -0
- data/docs/TransferMetadataModel.md +20 -0
- data/docs/TransferMetadataModelResponse.md +20 -0
- data/docs/TransferModel.md +34 -0
- data/docs/TransferModelResponse.md +40 -0
- data/git_push.sh +57 -0
- data/gpd_debtposition_api.gemspec +39 -0
- data/lib/gpd_debtposition_api/api/debt_position_actions_api_api.rb +162 -0
- data/lib/gpd_debtposition_api/api/debt_positions_api_api.rb +439 -0
- data/lib/gpd_debtposition_api/api/home_api.rb +80 -0
- data/lib/gpd_debtposition_api/api_client.rb +394 -0
- data/lib/gpd_debtposition_api/api_error.rb +58 -0
- data/lib/gpd_debtposition_api/configuration.rb +320 -0
- data/lib/gpd_debtposition_api/models/app_info.rb +232 -0
- data/lib/gpd_debtposition_api/models/multiple_iupd_model.rb +251 -0
- data/lib/gpd_debtposition_api/models/multiple_payment_position_model.rb +223 -0
- data/lib/gpd_debtposition_api/models/page_info.rb +273 -0
- data/lib/gpd_debtposition_api/models/payment_option_metadata_model.rb +231 -0
- data/lib/gpd_debtposition_api/models/payment_option_metadata_model_response.rb +223 -0
- data/lib/gpd_debtposition_api/models/payment_option_model.rb +396 -0
- data/lib/gpd_debtposition_api/models/payment_option_model_response.rb +432 -0
- data/lib/gpd_debtposition_api/models/payment_position_model.rb +568 -0
- data/lib/gpd_debtposition_api/models/payment_position_model_base_response.rb +383 -0
- data/lib/gpd_debtposition_api/models/payment_positions_info.rb +239 -0
- data/lib/gpd_debtposition_api/models/problem_json.rb +259 -0
- data/lib/gpd_debtposition_api/models/stamp.rb +305 -0
- data/lib/gpd_debtposition_api/models/transfer_metadata_model.rb +231 -0
- data/lib/gpd_debtposition_api/models/transfer_metadata_model_response.rb +223 -0
- data/lib/gpd_debtposition_api/models/transfer_model.rb +378 -0
- data/lib/gpd_debtposition_api/models/transfer_model_response.rb +349 -0
- data/lib/gpd_debtposition_api/version.rb +15 -0
- data/lib/gpd_debtposition_api.rb +59 -0
- data/spec/api/debt_position_actions_api_api_spec.rb +61 -0
- data/spec/api/debt_positions_api_api_spec.rb +111 -0
- data/spec/api/home_api_spec.rb +46 -0
- data/spec/models/app_info_spec.rb +48 -0
- data/spec/models/multiple_iupd_model_spec.rb +36 -0
- data/spec/models/multiple_payment_position_model_spec.rb +36 -0
- data/spec/models/page_info_spec.rb +54 -0
- data/spec/models/payment_option_metadata_model_response_spec.rb +42 -0
- data/spec/models/payment_option_metadata_model_spec.rb +42 -0
- data/spec/models/payment_option_model_response_spec.rb +160 -0
- data/spec/models/payment_option_model_spec.rb +96 -0
- data/spec/models/payment_position_model_base_response_spec.rb +122 -0
- data/spec/models/payment_position_model_spec.rb +170 -0
- data/spec/models/payment_positions_info_spec.rb +42 -0
- data/spec/models/problem_json_spec.rb +48 -0
- data/spec/models/stamp_spec.rb +48 -0
- data/spec/models/transfer_metadata_model_response_spec.rb +42 -0
- data/spec/models/transfer_metadata_model_spec.rb +42 -0
- data/spec/models/transfer_model_response_spec.rb +106 -0
- data/spec/models/transfer_model_spec.rb +88 -0
- data/spec/spec_helper.rb +111 -0
- metadata +175 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::MultipleIUPDModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::MultipleIUPDModel do
|
21
|
+
let(:instance) { GPDDebtPositions::MultipleIUPDModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of MultipleIUPDModel' do
|
24
|
+
it 'should create an instance of MultipleIUPDModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::MultipleIUPDModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "payment_position_iupds"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::MultiplePaymentPositionModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::MultiplePaymentPositionModel do
|
21
|
+
let(:instance) { GPDDebtPositions::MultiplePaymentPositionModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of MultiplePaymentPositionModel' do
|
24
|
+
it 'should create an instance of MultiplePaymentPositionModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::MultiplePaymentPositionModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "payment_positions"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PageInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PageInfo do
|
21
|
+
let(:instance) { GPDDebtPositions::PageInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PageInfo' do
|
24
|
+
it 'should create an instance of PageInfo' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PageInfo)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "page"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "limit"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "items_found"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "total_pages"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentOptionMetadataModelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentOptionMetadataModelResponse do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentOptionMetadataModelResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentOptionMetadataModelResponse' do
|
24
|
+
it 'should create an instance of PaymentOptionMetadataModelResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentOptionMetadataModelResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "key"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "value"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentOptionMetadataModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentOptionMetadataModel do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentOptionMetadataModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentOptionMetadataModel' do
|
24
|
+
it 'should create an instance of PaymentOptionMetadataModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentOptionMetadataModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "key"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "value"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,160 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentOptionModelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentOptionModelResponse do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentOptionModelResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentOptionModelResponse' do
|
24
|
+
it 'should create an instance of PaymentOptionModelResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentOptionModelResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "nav"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "iuv"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "organization_fiscal_code"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "amount"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "description"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "is_partial_payment"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "due_date"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "retention_date"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "payment_date"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "reporting_date"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe 'test attribute "inserted_date"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
describe 'test attribute "payment_method"' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
describe 'test attribute "fee"' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
describe 'test attribute "notification_fee"' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
describe 'test attribute "psp_company"' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
describe 'test attribute "id_receipt"' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
describe 'test attribute "id_flow_reporting"' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
describe 'test attribute "status"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PO_UNPAID", "PO_PAID", "PO_PARTIALLY_REPORTED", "PO_REPORTED"])
|
136
|
+
# validator.allowable_values.each do |value|
|
137
|
+
# expect { instance.status = value }.not_to raise_error
|
138
|
+
# end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "last_updated_date"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "payment_option_metadata"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "transfer"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentOptionModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentOptionModel do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentOptionModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentOptionModel' do
|
24
|
+
it 'should create an instance of PaymentOptionModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentOptionModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "nav"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "iuv"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "amount"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "description"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "is_partial_payment"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "due_date"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "retention_date"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "fee"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "notification_fee"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "transfer"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe 'test attribute "payment_option_metadata"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentPositionModelBaseResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentPositionModelBaseResponse do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentPositionModelBaseResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentPositionModelBaseResponse' do
|
24
|
+
it 'should create an instance of PaymentPositionModelBaseResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentPositionModelBaseResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "iupd"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "aca"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "pay_stand_in"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "organization_fiscal_code"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "type"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["F", "G"])
|
58
|
+
# validator.allowable_values.each do |value|
|
59
|
+
# expect { instance.type = value }.not_to raise_error
|
60
|
+
# end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "company_name"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "office_name"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "inserted_date"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "publish_date"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "validity_date"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "payment_date"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "status"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DRAFT", "PUBLISHED", "VALID", "INVALID", "EXPIRED", "PARTIALLY_PAID", "PAID", "REPORTED"])
|
104
|
+
# validator.allowable_values.each do |value|
|
105
|
+
# expect { instance.status = value }.not_to raise_error
|
106
|
+
# end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
describe 'test attribute "last_updated_date"' do
|
111
|
+
it 'should work' do
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
describe 'test attribute "payment_option"' do
|
117
|
+
it 'should work' do
|
118
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
end
|