biz_api 3.9.1
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 +155 -0
- data/Rakefile +10 -0
- data/biz_api.gemspec +39 -0
- data/docs/AppInfo.md +22 -0
- data/docs/AuthRequest.md +26 -0
- data/docs/BizEvent.md +50 -0
- data/docs/BizEventsHelpdeskApi.md +157 -0
- data/docs/CartItem.md +28 -0
- data/docs/Creditor.md +26 -0
- data/docs/CtReceiptModelResponse.md +72 -0
- data/docs/Debtor.md +36 -0
- data/docs/DebtorPosition.md +24 -0
- data/docs/Details.md +22 -0
- data/docs/HomeApi.md +81 -0
- data/docs/IOTransactionsRESTAPIsApi.md +328 -0
- data/docs/Info.md +34 -0
- data/docs/InfoNotice.md +38 -0
- data/docs/InfoTransaction.md +26 -0
- data/docs/InfoTransactionView.md +38 -0
- data/docs/MBD.md +26 -0
- data/docs/MapEntry.md +20 -0
- data/docs/NoticeDetailResponse.md +20 -0
- data/docs/NoticeListItem.md +32 -0
- data/docs/NoticeListWrapResponse.md +18 -0
- data/docs/PageInfo.md +24 -0
- data/docs/PaidNoticeRESTAPIsApi.md +322 -0
- data/docs/Payer.md +36 -0
- data/docs/PaymentAuthorizationRequest.md +28 -0
- data/docs/PaymentInfo.md +50 -0
- data/docs/PaymentReceiptsRESTAPIsApi.md +161 -0
- data/docs/ProblemJson.md +22 -0
- data/docs/Psp.md +30 -0
- data/docs/Transaction.md +44 -0
- data/docs/TransactionDetailResponse.md +20 -0
- data/docs/TransactionDetails.md +28 -0
- data/docs/TransactionListItem.md +32 -0
- data/docs/TransactionListWrapResponse.md +20 -0
- data/docs/TransactionPsp.md +22 -0
- data/docs/Transfer.md +34 -0
- data/docs/TransferPA.md +32 -0
- data/docs/User.md +30 -0
- data/docs/UserDetail.md +20 -0
- data/docs/WalletInfo.md +24 -0
- data/docs/WalletItem.md +34 -0
- data/git_push.sh +57 -0
- data/lib/biz_api/api/biz_events_helpdesk_api.rb +156 -0
- data/lib/biz_api/api/home_api.rb +82 -0
- data/lib/biz_api/api/io_transactions_restapis_api.rb +334 -0
- data/lib/biz_api/api/paid_notice_restapis_api.rb +328 -0
- data/lib/biz_api/api/payment_receipts_restapis_api.rb +168 -0
- data/lib/biz_api/api_client.rb +394 -0
- data/lib/biz_api/api_error.rb +58 -0
- data/lib/biz_api/configuration.rb +333 -0
- data/lib/biz_api/models/app_info.rb +232 -0
- data/lib/biz_api/models/auth_request.rb +250 -0
- data/lib/biz_api/models/biz_event.rb +396 -0
- data/lib/biz_api/models/cart_item.rb +287 -0
- data/lib/biz_api/models/creditor.rb +250 -0
- data/lib/biz_api/models/ct_receipt_model_response.rb +552 -0
- data/lib/biz_api/models/debtor.rb +295 -0
- data/lib/biz_api/models/debtor_position.rb +241 -0
- data/lib/biz_api/models/details.rb +232 -0
- data/lib/biz_api/models/info.rb +286 -0
- data/lib/biz_api/models/info_notice.rb +392 -0
- data/lib/biz_api/models/info_transaction.rb +250 -0
- data/lib/biz_api/models/info_transaction_view.rb +350 -0
- data/lib/biz_api/models/map_entry.rb +223 -0
- data/lib/biz_api/models/mbd.rb +250 -0
- data/lib/biz_api/models/notice_detail_response.rb +225 -0
- data/lib/biz_api/models/notice_list_item.rb +326 -0
- data/lib/biz_api/models/notice_list_wrap_response.rb +223 -0
- data/lib/biz_api/models/page_info.rb +273 -0
- data/lib/biz_api/models/payer.rb +295 -0
- data/lib/biz_api/models/payment_authorization_request.rb +259 -0
- data/lib/biz_api/models/payment_info.rb +360 -0
- data/lib/biz_api/models/problem_json.rb +259 -0
- data/lib/biz_api/models/psp.rb +268 -0
- data/lib/biz_api/models/transaction.rb +331 -0
- data/lib/biz_api/models/transaction_detail_response.rb +225 -0
- data/lib/biz_api/models/transaction_details.rb +259 -0
- data/lib/biz_api/models/transaction_list_item.rb +277 -0
- data/lib/biz_api/models/transaction_list_wrap_response.rb +225 -0
- data/lib/biz_api/models/transaction_psp.rb +232 -0
- data/lib/biz_api/models/transfer.rb +288 -0
- data/lib/biz_api/models/transfer_pa.rb +345 -0
- data/lib/biz_api/models/user.rb +302 -0
- data/lib/biz_api/models/user_detail.rb +230 -0
- data/lib/biz_api/models/wallet_info.rb +241 -0
- data/lib/biz_api/models/wallet_item.rb +322 -0
- data/lib/biz_api/version.rb +15 -0
- data/lib/biz_api.rb +80 -0
- data/spec/api/biz_events_helpdesk_api_spec.rb +60 -0
- data/spec/api/home_api_spec.rb +47 -0
- data/spec/api/io_transactions_restapis_api_spec.rb +96 -0
- data/spec/api/paid_notice_restapis_api_spec.rb +93 -0
- data/spec/api/payment_receipts_restapis_api_spec.rb +62 -0
- data/spec/models/app_info_spec.rb +48 -0
- data/spec/models/auth_request_spec.rb +60 -0
- data/spec/models/biz_event_spec.rb +136 -0
- data/spec/models/cart_item_spec.rb +66 -0
- data/spec/models/creditor_spec.rb +60 -0
- data/spec/models/ct_receipt_model_response_spec.rb +198 -0
- data/spec/models/debtor_position_spec.rb +54 -0
- data/spec/models/debtor_spec.rb +90 -0
- data/spec/models/details_spec.rb +48 -0
- data/spec/models/info_notice_spec.rb +104 -0
- data/spec/models/info_spec.rb +84 -0
- data/spec/models/info_transaction_spec.rb +60 -0
- data/spec/models/info_transaction_view_spec.rb +104 -0
- data/spec/models/map_entry_spec.rb +42 -0
- data/spec/models/mbd_spec.rb +60 -0
- data/spec/models/notice_detail_response_spec.rb +42 -0
- data/spec/models/notice_list_item_spec.rb +78 -0
- data/spec/models/notice_list_wrap_response_spec.rb +36 -0
- data/spec/models/page_info_spec.rb +54 -0
- data/spec/models/payer_spec.rb +90 -0
- data/spec/models/payment_authorization_request_spec.rb +66 -0
- data/spec/models/payment_info_spec.rb +132 -0
- data/spec/models/problem_json_spec.rb +48 -0
- data/spec/models/psp_spec.rb +72 -0
- data/spec/models/transaction_detail_response_spec.rb +42 -0
- data/spec/models/transaction_details_spec.rb +66 -0
- data/spec/models/transaction_list_item_spec.rb +78 -0
- data/spec/models/transaction_list_wrap_response_spec.rb +42 -0
- data/spec/models/transaction_psp_spec.rb +48 -0
- data/spec/models/transaction_spec.rb +114 -0
- data/spec/models/transfer_pa_spec.rb +78 -0
- data/spec/models/transfer_spec.rb +84 -0
- data/spec/models/user_detail_spec.rb +42 -0
- data/spec/models/user_spec.rb +76 -0
- data/spec/models/wallet_info_spec.rb +54 -0
- data/spec/models/wallet_item_spec.rb +88 -0
- data/spec/spec_helper.rb +111 -0
- metadata +259 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::Creditor
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::Creditor do
|
|
21
|
+
let(:instance) { BizReceipts::Creditor.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Creditor' do
|
|
24
|
+
it 'should create an instance of Creditor' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::Creditor)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id_pa"' 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 "id_broker_pa"' 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 "id_station"' 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 "company_name"' 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 "office_name"' 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
|
+
end
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::CtReceiptModelResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::CtReceiptModelResponse do
|
|
21
|
+
let(:instance) { BizReceipts::CtReceiptModelResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CtReceiptModelResponse' do
|
|
24
|
+
it 'should create an instance of CtReceiptModelResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::CtReceiptModelResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "receipt_id"' 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 "notice_number"' 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 "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 "outcome"' 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 "creditor_reference_id"' 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 "payment_amount"' 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 "description"' 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 "company_name"' 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 "office_name"' 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 "debtor"' 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 "transfer_list"' 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 "id_psp"' 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 "psp_fiscal_code"' 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 "psp_partita_iva"' 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_name"' 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_channel"' 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 "channel_description"' 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 "payer"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "payment_method"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "fee"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
describe 'test attribute "primary_ci_incurred_fee"' do
|
|
151
|
+
it 'should work' do
|
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
describe 'test attribute "id_bundle"' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
describe 'test attribute "id_ci_bundle"' do
|
|
163
|
+
it 'should work' do
|
|
164
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
describe 'test attribute "payment_date_time"' do
|
|
169
|
+
it 'should work' do
|
|
170
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
describe 'test attribute "payment_date_time_formatted"' do
|
|
175
|
+
it 'should work' do
|
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
describe 'test attribute "application_date"' do
|
|
181
|
+
it 'should work' do
|
|
182
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
describe 'test attribute "transfer_date"' do
|
|
187
|
+
it 'should work' do
|
|
188
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
describe 'test attribute "metadata"' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::DebtorPosition
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::DebtorPosition do
|
|
21
|
+
let(:instance) { BizReceipts::DebtorPosition.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DebtorPosition' do
|
|
24
|
+
it 'should create an instance of DebtorPosition' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::DebtorPosition)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "model_type"' 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 "notice_number"' 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 "iuv"' 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 "iur"' 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,90 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::Debtor
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::Debtor do
|
|
21
|
+
let(:instance) { BizReceipts::Debtor.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Debtor' do
|
|
24
|
+
it 'should create an instance of Debtor' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::Debtor)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "full_name"' 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 "entity_unique_identifier_type"' 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 "entity_unique_identifier_value"' 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 "street_name"' 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 "civic_number"' 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 "postal_code"' 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 "city"' 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 "state_province_region"' 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 "country"' 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 "email"' 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
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::Details
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::Details do
|
|
21
|
+
let(:instance) { BizReceipts::Details.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Details' do
|
|
24
|
+
it 'should create an instance of Details' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::Details)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "blurred_number"' 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 "holder"' 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 "circuit"' 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
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::InfoNotice
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::InfoNotice do
|
|
21
|
+
let(:instance) { BizReceipts::InfoNotice.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of InfoNotice' do
|
|
24
|
+
it 'should create an instance of InfoNotice' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::InfoNotice)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "event_id"' 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 "auth_code"' 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 "rrn"' 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 "notice_date"' 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 "psp_name"' 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 "wallet_info"' 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 "payment_method"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["BBT", "BP", "AD", "CP", "PO", "OBEP", "JIF", "MYBK", "PPAL", "UNKNOWN"])
|
|
70
|
+
# validator.allowable_values.each do |value|
|
|
71
|
+
# expect { instance.payment_method = value }.not_to raise_error
|
|
72
|
+
# end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "payer"' 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 "amount"' 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 "fee"' 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 "origin"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["INTERNAL", "PM", "NDP001PROD", "NDP002PROD", "NDP003PROD", "UNKNOWN"])
|
|
98
|
+
# validator.allowable_values.each do |value|
|
|
99
|
+
# expect { instance.origin = value }.not_to raise_error
|
|
100
|
+
# end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Biz-Events Service
|
|
3
|
+
|
|
4
|
+
#Microservice for exposing REST APIs about payment receipts.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.72
|
|
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 BizReceipts::Info
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe BizReceipts::Info do
|
|
21
|
+
let(:instance) { BizReceipts::Info.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Info' do
|
|
24
|
+
it 'should create an instance of Info' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(BizReceipts::Info)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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 "blurred_number"' 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 "holder"' 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 "expire_month"' 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 "expire_year"' 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 "brand"' 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 "issuer_abi"' 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 "issuer_name"' 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 "label"' 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
|
+
end
|