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.
Files changed (136) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +155 -0
  4. data/Rakefile +10 -0
  5. data/biz_api.gemspec +39 -0
  6. data/docs/AppInfo.md +22 -0
  7. data/docs/AuthRequest.md +26 -0
  8. data/docs/BizEvent.md +50 -0
  9. data/docs/BizEventsHelpdeskApi.md +157 -0
  10. data/docs/CartItem.md +28 -0
  11. data/docs/Creditor.md +26 -0
  12. data/docs/CtReceiptModelResponse.md +72 -0
  13. data/docs/Debtor.md +36 -0
  14. data/docs/DebtorPosition.md +24 -0
  15. data/docs/Details.md +22 -0
  16. data/docs/HomeApi.md +81 -0
  17. data/docs/IOTransactionsRESTAPIsApi.md +328 -0
  18. data/docs/Info.md +34 -0
  19. data/docs/InfoNotice.md +38 -0
  20. data/docs/InfoTransaction.md +26 -0
  21. data/docs/InfoTransactionView.md +38 -0
  22. data/docs/MBD.md +26 -0
  23. data/docs/MapEntry.md +20 -0
  24. data/docs/NoticeDetailResponse.md +20 -0
  25. data/docs/NoticeListItem.md +32 -0
  26. data/docs/NoticeListWrapResponse.md +18 -0
  27. data/docs/PageInfo.md +24 -0
  28. data/docs/PaidNoticeRESTAPIsApi.md +322 -0
  29. data/docs/Payer.md +36 -0
  30. data/docs/PaymentAuthorizationRequest.md +28 -0
  31. data/docs/PaymentInfo.md +50 -0
  32. data/docs/PaymentReceiptsRESTAPIsApi.md +161 -0
  33. data/docs/ProblemJson.md +22 -0
  34. data/docs/Psp.md +30 -0
  35. data/docs/Transaction.md +44 -0
  36. data/docs/TransactionDetailResponse.md +20 -0
  37. data/docs/TransactionDetails.md +28 -0
  38. data/docs/TransactionListItem.md +32 -0
  39. data/docs/TransactionListWrapResponse.md +20 -0
  40. data/docs/TransactionPsp.md +22 -0
  41. data/docs/Transfer.md +34 -0
  42. data/docs/TransferPA.md +32 -0
  43. data/docs/User.md +30 -0
  44. data/docs/UserDetail.md +20 -0
  45. data/docs/WalletInfo.md +24 -0
  46. data/docs/WalletItem.md +34 -0
  47. data/git_push.sh +57 -0
  48. data/lib/biz_api/api/biz_events_helpdesk_api.rb +156 -0
  49. data/lib/biz_api/api/home_api.rb +82 -0
  50. data/lib/biz_api/api/io_transactions_restapis_api.rb +334 -0
  51. data/lib/biz_api/api/paid_notice_restapis_api.rb +328 -0
  52. data/lib/biz_api/api/payment_receipts_restapis_api.rb +168 -0
  53. data/lib/biz_api/api_client.rb +394 -0
  54. data/lib/biz_api/api_error.rb +58 -0
  55. data/lib/biz_api/configuration.rb +333 -0
  56. data/lib/biz_api/models/app_info.rb +232 -0
  57. data/lib/biz_api/models/auth_request.rb +250 -0
  58. data/lib/biz_api/models/biz_event.rb +396 -0
  59. data/lib/biz_api/models/cart_item.rb +287 -0
  60. data/lib/biz_api/models/creditor.rb +250 -0
  61. data/lib/biz_api/models/ct_receipt_model_response.rb +552 -0
  62. data/lib/biz_api/models/debtor.rb +295 -0
  63. data/lib/biz_api/models/debtor_position.rb +241 -0
  64. data/lib/biz_api/models/details.rb +232 -0
  65. data/lib/biz_api/models/info.rb +286 -0
  66. data/lib/biz_api/models/info_notice.rb +392 -0
  67. data/lib/biz_api/models/info_transaction.rb +250 -0
  68. data/lib/biz_api/models/info_transaction_view.rb +350 -0
  69. data/lib/biz_api/models/map_entry.rb +223 -0
  70. data/lib/biz_api/models/mbd.rb +250 -0
  71. data/lib/biz_api/models/notice_detail_response.rb +225 -0
  72. data/lib/biz_api/models/notice_list_item.rb +326 -0
  73. data/lib/biz_api/models/notice_list_wrap_response.rb +223 -0
  74. data/lib/biz_api/models/page_info.rb +273 -0
  75. data/lib/biz_api/models/payer.rb +295 -0
  76. data/lib/biz_api/models/payment_authorization_request.rb +259 -0
  77. data/lib/biz_api/models/payment_info.rb +360 -0
  78. data/lib/biz_api/models/problem_json.rb +259 -0
  79. data/lib/biz_api/models/psp.rb +268 -0
  80. data/lib/biz_api/models/transaction.rb +331 -0
  81. data/lib/biz_api/models/transaction_detail_response.rb +225 -0
  82. data/lib/biz_api/models/transaction_details.rb +259 -0
  83. data/lib/biz_api/models/transaction_list_item.rb +277 -0
  84. data/lib/biz_api/models/transaction_list_wrap_response.rb +225 -0
  85. data/lib/biz_api/models/transaction_psp.rb +232 -0
  86. data/lib/biz_api/models/transfer.rb +288 -0
  87. data/lib/biz_api/models/transfer_pa.rb +345 -0
  88. data/lib/biz_api/models/user.rb +302 -0
  89. data/lib/biz_api/models/user_detail.rb +230 -0
  90. data/lib/biz_api/models/wallet_info.rb +241 -0
  91. data/lib/biz_api/models/wallet_item.rb +322 -0
  92. data/lib/biz_api/version.rb +15 -0
  93. data/lib/biz_api.rb +80 -0
  94. data/spec/api/biz_events_helpdesk_api_spec.rb +60 -0
  95. data/spec/api/home_api_spec.rb +47 -0
  96. data/spec/api/io_transactions_restapis_api_spec.rb +96 -0
  97. data/spec/api/paid_notice_restapis_api_spec.rb +93 -0
  98. data/spec/api/payment_receipts_restapis_api_spec.rb +62 -0
  99. data/spec/models/app_info_spec.rb +48 -0
  100. data/spec/models/auth_request_spec.rb +60 -0
  101. data/spec/models/biz_event_spec.rb +136 -0
  102. data/spec/models/cart_item_spec.rb +66 -0
  103. data/spec/models/creditor_spec.rb +60 -0
  104. data/spec/models/ct_receipt_model_response_spec.rb +198 -0
  105. data/spec/models/debtor_position_spec.rb +54 -0
  106. data/spec/models/debtor_spec.rb +90 -0
  107. data/spec/models/details_spec.rb +48 -0
  108. data/spec/models/info_notice_spec.rb +104 -0
  109. data/spec/models/info_spec.rb +84 -0
  110. data/spec/models/info_transaction_spec.rb +60 -0
  111. data/spec/models/info_transaction_view_spec.rb +104 -0
  112. data/spec/models/map_entry_spec.rb +42 -0
  113. data/spec/models/mbd_spec.rb +60 -0
  114. data/spec/models/notice_detail_response_spec.rb +42 -0
  115. data/spec/models/notice_list_item_spec.rb +78 -0
  116. data/spec/models/notice_list_wrap_response_spec.rb +36 -0
  117. data/spec/models/page_info_spec.rb +54 -0
  118. data/spec/models/payer_spec.rb +90 -0
  119. data/spec/models/payment_authorization_request_spec.rb +66 -0
  120. data/spec/models/payment_info_spec.rb +132 -0
  121. data/spec/models/problem_json_spec.rb +48 -0
  122. data/spec/models/psp_spec.rb +72 -0
  123. data/spec/models/transaction_detail_response_spec.rb +42 -0
  124. data/spec/models/transaction_details_spec.rb +66 -0
  125. data/spec/models/transaction_list_item_spec.rb +78 -0
  126. data/spec/models/transaction_list_wrap_response_spec.rb +42 -0
  127. data/spec/models/transaction_psp_spec.rb +48 -0
  128. data/spec/models/transaction_spec.rb +114 -0
  129. data/spec/models/transfer_pa_spec.rb +78 -0
  130. data/spec/models/transfer_spec.rb +84 -0
  131. data/spec/models/user_detail_spec.rb +42 -0
  132. data/spec/models/user_spec.rb +76 -0
  133. data/spec/models/wallet_info_spec.rb +54 -0
  134. data/spec/models/wallet_item_spec.rb +88 -0
  135. data/spec/spec_helper.rb +111 -0
  136. 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
+
16
+ # Unit tests for BizReceipts::BizEventsHelpdeskApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'BizEventsHelpdeskApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = BizReceipts::BizEventsHelpdeskApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of BizEventsHelpdeskApi' do
30
+ it 'should create an instance of BizEventsHelpdeskApi' do
31
+ expect(@api_instance).to be_instance_of(BizReceipts::BizEventsHelpdeskApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_biz_event
36
+ # Retrieve the biz-event given its id.
37
+ # @param biz_event_id The id of the biz-event.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
40
+ # @return [BizEvent]
41
+ describe 'get_biz_event test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for get_biz_event_by_organization_fiscal_code_and_iuv
48
+ # Retrieve the biz-event given the organization fiscal code and IUV.
49
+ # @param organization_fiscal_code The fiscal code of the Organization.
50
+ # @param iuv The unique payment identification. Alphanumeric code that uniquely associates and identifies three key elements of a payment: reason, payer, amount
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
53
+ # @return [BizEvent]
54
+ describe 'get_biz_event_by_organization_fiscal_code_and_iuv test' 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,47 @@
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
+
16
+ # Unit tests for BizReceipts::HomeApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'HomeApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = BizReceipts::HomeApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of HomeApi' do
30
+ it 'should create an instance of HomeApi' do
31
+ expect(@api_instance).to be_instance_of(BizReceipts::HomeApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for health_check
36
+ # health check
37
+ # Return OK if application is started
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
40
+ # @return [AppInfo]
41
+ describe 'health_check test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,96 @@
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
+
16
+ # Unit tests for BizReceipts::IOTransactionsRESTAPIsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IOTransactionsRESTAPIsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = BizReceipts::IOTransactionsRESTAPIsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IOTransactionsRESTAPIsApi' do
30
+ it 'should create an instance of IOTransactionsRESTAPIsApi' do
31
+ expect(@api_instance).to be_instance_of(BizReceipts::IOTransactionsRESTAPIsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for disable_transaction
36
+ # Disable the transaction details given its id.
37
+ # This operation is deprecated. Use Paid Notice APIs instead
38
+ # @param x_fiscal_code
39
+ # @param transaction_id The id of the transaction.
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
42
+ # @return [nil]
43
+ describe 'disable_transaction test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for get_pdf_receipt
50
+ # Retrieve the PDF receipt given event id.
51
+ # This operation is deprecated. Use Paid Notice APIs instead
52
+ # @param x_fiscal_code
53
+ # @param event_id The id of the event.
54
+ # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
56
+ # @return [File]
57
+ describe 'get_pdf_receipt test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
63
+ # unit tests for get_transaction_details
64
+ # Retrieve the transaction details given its id.
65
+ # This operation is deprecated. Use Paid Notice APIs instead
66
+ # @param x_fiscal_code
67
+ # @param transaction_id The id of the transaction.
68
+ # @param [Hash] opts the optional parameters
69
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
70
+ # @return [TransactionDetailResponse]
71
+ describe 'get_transaction_details test' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
74
+ end
75
+ end
76
+
77
+ # unit tests for get_transaction_list
78
+ # Retrieve the paged transaction list from biz events.
79
+ # This operation is deprecated. Use Paid Notice APIs instead
80
+ # @param x_fiscal_code
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
83
+ # @option opts [Boolean] :is_payer Filter by payer
84
+ # @option opts [Boolean] :is_debtor Filter by debtor
85
+ # @option opts [String] :x_continuation_token
86
+ # @option opts [Integer] :size
87
+ # @option opts [String] :orderby Order by TRANSACTION_DATE
88
+ # @option opts [String] :ordering Direction of ordering
89
+ # @return [TransactionListWrapResponse]
90
+ describe 'get_transaction_list test' 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,93 @@
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
+
16
+ # Unit tests for BizReceipts::PaidNoticeRESTAPIsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PaidNoticeRESTAPIsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = BizReceipts::PaidNoticeRESTAPIsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PaidNoticeRESTAPIsApi' do
30
+ it 'should create an instance of PaidNoticeRESTAPIsApi' do
31
+ expect(@api_instance).to be_instance_of(BizReceipts::PaidNoticeRESTAPIsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for disable_paid_notice
36
+ # Disable the paid notice details given its id.
37
+ # @param x_fiscal_code
38
+ # @param event_id The id of the paid event.
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
41
+ # @return [nil]
42
+ describe 'disable_paid_notice test' 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
+ # unit tests for generate_pdf
49
+ # Retrieve the PDF receipt given event id.
50
+ # @param x_fiscal_code
51
+ # @param event_id The id of the paid event.
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
54
+ # @return [File]
55
+ describe 'generate_pdf test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for get_paid_notice_detail
62
+ # Retrieve the paid notice details given its id.
63
+ # @param x_fiscal_code
64
+ # @param event_id The id of the paid event.
65
+ # @param [Hash] opts the optional parameters
66
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
67
+ # @return [NoticeDetailResponse]
68
+ describe 'get_paid_notice_detail test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
71
+ end
72
+ end
73
+
74
+ # unit tests for get_paid_notices
75
+ # Retrieve the paged transaction list from biz events.
76
+ # This operation is deprecated. Use Paid Notice APIs instead
77
+ # @param x_fiscal_code
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
80
+ # @option opts [String] :x_continuation_token
81
+ # @option opts [Integer] :size
82
+ # @option opts [Boolean] :is_payer Filter by payer
83
+ # @option opts [Boolean] :is_debtor Filter by debtor
84
+ # @option opts [String] :orderby Order by TRANSACTION_DATE
85
+ # @option opts [String] :ordering Direction of ordering
86
+ # @return [NoticeListWrapResponse]
87
+ describe 'get_paid_notices test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
90
+ end
91
+ end
92
+
93
+ end
@@ -0,0 +1,62 @@
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
+
16
+ # Unit tests for BizReceipts::PaymentReceiptsRESTAPIsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PaymentReceiptsRESTAPIsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = BizReceipts::PaymentReceiptsRESTAPIsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PaymentReceiptsRESTAPIsApi' do
30
+ it 'should create an instance of PaymentReceiptsRESTAPIsApi' do
31
+ expect(@api_instance).to be_instance_of(BizReceipts::PaymentReceiptsRESTAPIsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_organization_receipt_iur
36
+ # The organization get the receipt for the creditor institution using IUR.
37
+ # @param organizationfiscalcode The fiscal code of the Organization.
38
+ # @param iur The unique reference of the operation assigned to the payment (Payment Token).
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
41
+ # @return [CtReceiptModelResponse]
42
+ describe 'get_organization_receipt_iur test' 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
+ # unit tests for get_organization_receipt_iuv_iur
49
+ # The organization get the receipt for the creditor institution using IUV and IUR.
50
+ # @param organizationfiscalcode The fiscal code of the Organization.
51
+ # @param iur The unique reference of the operation assigned to the payment (Payment Token).
52
+ # @param iuv The unique payment identification. Alphanumeric code that uniquely associates and identifies three key elements of a payment: reason, payer, amount
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :x_request_id This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
55
+ # @return [CtReceiptModelResponse]
56
+ describe 'get_organization_receipt_iuv_iur test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
59
+ end
60
+ end
61
+
62
+ 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::AppInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe BizReceipts::AppInfo do
21
+ let(:instance) { BizReceipts::AppInfo.new }
22
+
23
+ describe 'test an instance of AppInfo' do
24
+ it 'should create an instance of AppInfo' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(BizReceipts::AppInfo)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "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 "version"' 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 "environment"' 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,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::AuthRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe BizReceipts::AuthRequest do
21
+ let(:instance) { BizReceipts::AuthRequest.new }
22
+
23
+ describe 'test an instance of AuthRequest' do
24
+ it 'should create an instance of AuthRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(BizReceipts::AuthRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "auth_outcome"' 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 "guid"' 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 "correlation_id"' 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 "error"' 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 "auth_code"' 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,136 @@
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::BizEvent
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe BizReceipts::BizEvent do
21
+ let(:instance) { BizReceipts::BizEvent.new }
22
+
23
+ describe 'test an instance of BizEvent' do
24
+ it 'should create an instance of BizEvent' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(BizReceipts::BizEvent)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "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 "version"' 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_payment_manager"' 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 "complete"' 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 "receipt_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 "missing_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 "debtor_position"' 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 "creditor"' 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 "psp"' 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 "payer"' 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_info"' 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 "transfer_list"' 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 "transaction_details"' 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 "event_status"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NA", "RETRY", "FAILED", "DONE", "INGESTED"])
118
+ # validator.allowable_values.each do |value|
119
+ # expect { instance.event_status = value }.not_to raise_error
120
+ # end
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "event_retry_enrichment_count"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "_ts"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
133
+ end
134
+ end
135
+
136
+ end
@@ -0,0 +1,66 @@
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::CartItem
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe BizReceipts::CartItem do
21
+ let(:instance) { BizReceipts::CartItem.new }
22
+
23
+ describe 'test an instance of CartItem' do
24
+ it 'should create an instance of CartItem' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(BizReceipts::CartItem)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "subject"' 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 "amount"' 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 "payee"' 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 "debtor"' 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 "ref_number_value"' 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 "ref_number_type"' 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
+ end