melio-platform-api-client 3.1.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of melio-platform-api-client might be problematic. Click here for more details.

Files changed (173) hide show
  1. checksums.yaml +7 -0
  2. data/lib/melio-platform-api-client.rb +33 -0
  3. data/spec/api/accounts_api_spec.rb +71 -0
  4. data/spec/api/auth_api_spec.rb +48 -0
  5. data/spec/api/charges_api_spec.rb +90 -0
  6. data/spec/api/checkouts_api_spec.rb +93 -0
  7. data/spec/api/delivery_methods_api_spec.rb +115 -0
  8. data/spec/api/files_api_spec.rb +85 -0
  9. data/spec/api/financing_api_spec.rb +75 -0
  10. data/spec/api/funding_sources_api_spec.rb +88 -0
  11. data/spec/api/merchants_api_spec.rb +49 -0
  12. data/spec/api/payment_intents_api_spec.rb +114 -0
  13. data/spec/api/payments_api_spec.rb +88 -0
  14. data/spec/api/vendor_directory_api_spec.rb +62 -0
  15. data/spec/api/vendors_api_spec.rb +170 -0
  16. data/spec/api/webhooks_api_spec.rb +118 -0
  17. data/spec/api_client_spec.rb +226 -0
  18. data/spec/configuration_spec.rb +42 -0
  19. data/spec/models/account_all_of_spec.rb +50 -0
  20. data/spec/models/account_spec.rb +62 -0
  21. data/spec/models/add_to_my_vendor_parameters_delivery_method_biller_account_spec.rb +34 -0
  22. data/spec/models/add_to_my_vendor_parameters_delivery_method_spec.rb +40 -0
  23. data/spec/models/add_to_my_vendor_parameters_spec.rb +34 -0
  24. data/spec/models/address_spec.rb +58 -0
  25. data/spec/models/adjustment_spec.rb +40 -0
  26. data/spec/models/bank_account_spec.rb +46 -0
  27. data/spec/models/bank_account_type_spec.rb +28 -0
  28. data/spec/models/biller_account_spec.rb +34 -0
  29. data/spec/models/card_spec.rb +52 -0
  30. data/spec/models/charge_all_of_spec.rb +68 -0
  31. data/spec/models/charge_spec.rb +80 -0
  32. data/spec/models/checkout_all_of_buyer_spec.rb +58 -0
  33. data/spec/models/checkout_all_of_spec.rb +170 -0
  34. data/spec/models/checkout_spec.rb +182 -0
  35. data/spec/models/company_spec.rb +64 -0
  36. data/spec/models/confirm_payment_intents_response_spec.rb +34 -0
  37. data/spec/models/currency_spec.rb +28 -0
  38. data/spec/models/deleted_response_spec.rb +34 -0
  39. data/spec/models/delivery_method_all_of_spec.rb +40 -0
  40. data/spec/models/delivery_method_details_spec.rb +31 -0
  41. data/spec/models/delivery_method_spec.rb +52 -0
  42. data/spec/models/delivery_method_type_spec.rb +28 -0
  43. data/spec/models/delivery_preference_spec.rb +64 -0
  44. data/spec/models/delivery_preference_type_spec.rb +28 -0
  45. data/spec/models/domestic_wire_account_address_spec.rb +46 -0
  46. data/spec/models/domestic_wire_account_spec.rb +46 -0
  47. data/spec/models/error_response_spec.rb +34 -0
  48. data/spec/models/file_info_all_of_spec.rb +34 -0
  49. data/spec/models/file_info_spec.rb +46 -0
  50. data/spec/models/financing_dropdown_options_spec.rb +40 -0
  51. data/spec/models/financing_fields_spec.rb +64 -0
  52. data/spec/models/financing_spec.rb +56 -0
  53. data/spec/models/funding_source_all_of_spec.rb +46 -0
  54. data/spec/models/funding_source_details_spec.rb +31 -0
  55. data/spec/models/funding_source_spec.rb +58 -0
  56. data/spec/models/funding_source_type_spec.rb +28 -0
  57. data/spec/models/get_accounts_account_id_response_spec.rb +34 -0
  58. data/spec/models/get_accounts_response_spec.rb +34 -0
  59. data/spec/models/get_charges_charge_id_response_spec.rb +34 -0
  60. data/spec/models/get_charges_response_spec.rb +34 -0
  61. data/spec/models/get_checkouts_checkout_id_response_spec.rb +34 -0
  62. data/spec/models/get_delivery_methods_delivery_method_id_response_spec.rb +34 -0
  63. data/spec/models/get_delivery_methods_response_spec.rb +34 -0
  64. data/spec/models/get_files_file_id_data_response_data_customer_info_spec.rb +34 -0
  65. data/spec/models/get_files_file_id_data_response_data_invoice_info_spec.rb +40 -0
  66. data/spec/models/get_files_file_id_data_response_data_spec.rb +58 -0
  67. data/spec/models/get_files_file_id_data_response_data_vendor_info_spec.rb +40 -0
  68. data/spec/models/get_files_file_id_data_response_spec.rb +34 -0
  69. data/spec/models/get_files_file_id_response_spec.rb +34 -0
  70. data/spec/models/get_files_response_spec.rb +34 -0
  71. data/spec/models/get_financing_response_spec.rb +34 -0
  72. data/spec/models/get_funding_sources_funding_source_id_response_spec.rb +34 -0
  73. data/spec/models/get_funding_sources_response_spec.rb +34 -0
  74. data/spec/models/get_payment_intents_payment_intent_id_response_spec.rb +34 -0
  75. data/spec/models/get_payment_intents_response_spec.rb +34 -0
  76. data/spec/models/get_payments_payment_id_response_spec.rb +34 -0
  77. data/spec/models/get_payments_response_spec.rb +34 -0
  78. data/spec/models/get_vendor_directory_response_spec.rb +34 -0
  79. data/spec/models/get_vendors_response_spec.rb +34 -0
  80. data/spec/models/get_vendors_vendor_id_delivery_methods_response_spec.rb +34 -0
  81. data/spec/models/get_vendors_vendor_id_response_spec.rb +34 -0
  82. data/spec/models/get_webhooks_checkouts_response_spec.rb +34 -0
  83. data/spec/models/get_webhooks_payments_response_spec.rb +34 -0
  84. data/spec/models/get_webhooks_response_spec.rb +34 -0
  85. data/spec/models/invoice_spec.rb +40 -0
  86. data/spec/models/line_item_spec.rb +70 -0
  87. data/spec/models/merchant_all_of_spec.rb +82 -0
  88. data/spec/models/merchant_spec.rb +94 -0
  89. data/spec/models/model_error_all_of_spec.rb +40 -0
  90. data/spec/models/model_error_spec.rb +46 -0
  91. data/spec/models/object_spec.rb +40 -0
  92. data/spec/models/paper_check_spec.rb +40 -0
  93. data/spec/models/partial_address_spec.rb +58 -0
  94. data/spec/models/patch_charges_charge_id_request_spec.rb +34 -0
  95. data/spec/models/patch_charges_charge_id_response_spec.rb +34 -0
  96. data/spec/models/patch_payment_intents_payment_intent_id_request_bill_info_spec.rb +58 -0
  97. data/spec/models/patch_payment_intents_payment_intent_id_request_spec.rb +70 -0
  98. data/spec/models/patch_payment_intents_payment_intent_id_response_spec.rb +34 -0
  99. data/spec/models/patch_vendors_vendor_id_request_contact_spec.rb +46 -0
  100. data/spec/models/patch_vendors_vendor_id_request_spec.rb +40 -0
  101. data/spec/models/patch_vendors_vendor_id_response_spec.rb +34 -0
  102. data/spec/models/payment_all_of_spec.rb +116 -0
  103. data/spec/models/payment_fee_spec.rb +40 -0
  104. data/spec/models/payment_intent_all_of_bill_info_spec.rb +70 -0
  105. data/spec/models/payment_intent_all_of_spec.rb +110 -0
  106. data/spec/models/payment_intent_spec.rb +122 -0
  107. data/spec/models/payment_spec.rb +128 -0
  108. data/spec/models/person_spec.rb +46 -0
  109. data/spec/models/plaid_details_spec.rb +40 -0
  110. data/spec/models/post_accounts_request_spec.rb +46 -0
  111. data/spec/models/post_accounts_response_spec.rb +34 -0
  112. data/spec/models/post_auth_response_data_spec.rb +46 -0
  113. data/spec/models/post_auth_response_spec.rb +34 -0
  114. data/spec/models/post_checkouts_checkout_id_capture_request_invoice_spec.rb +40 -0
  115. data/spec/models/post_checkouts_checkout_id_capture_request_spec.rb +46 -0
  116. data/spec/models/post_checkouts_checkout_id_complete_request_spec.rb +52 -0
  117. data/spec/models/post_checkouts_request_spec.rb +124 -0
  118. data/spec/models/post_checkouts_response_spec.rb +34 -0
  119. data/spec/models/post_delivery_methods_request_details_spec.rb +31 -0
  120. data/spec/models/post_delivery_methods_request_spec.rb +40 -0
  121. data/spec/models/post_delivery_methods_response_spec.rb +34 -0
  122. data/spec/models/post_files_response_spec.rb +34 -0
  123. data/spec/models/post_financing_request_fields_spec.rb +40 -0
  124. data/spec/models/post_financing_request_spec.rb +34 -0
  125. data/spec/models/post_financing_response_spec.rb +34 -0
  126. data/spec/models/post_financing_transactional_request_spec.rb +40 -0
  127. data/spec/models/post_financing_transactional_response_data_spec.rb +44 -0
  128. data/spec/models/post_financing_transactional_response_spec.rb +34 -0
  129. data/spec/models/post_funding_sources_request_details_spec.rb +31 -0
  130. data/spec/models/post_funding_sources_request_spec.rb +50 -0
  131. data/spec/models/post_funding_sources_response_spec.rb +34 -0
  132. data/spec/models/post_merchants_request_spec.rb +76 -0
  133. data/spec/models/post_merchants_response_spec.rb +34 -0
  134. data/spec/models/post_payment_intents_bulk_request_spec.rb +34 -0
  135. data/spec/models/post_payment_intents_bulk_response_spec.rb +34 -0
  136. data/spec/models/post_payment_intents_payment_intent_id_payment_response_spec.rb +34 -0
  137. data/spec/models/post_payment_intents_request_bill_info_spec.rb +58 -0
  138. data/spec/models/post_payment_intents_request_spec.rb +70 -0
  139. data/spec/models/post_payment_intents_response_spec.rb +34 -0
  140. data/spec/models/post_payments_payment_id_recover_request_spec.rb +58 -0
  141. data/spec/models/post_payments_payment_id_recover_response_spec.rb +34 -0
  142. data/spec/models/post_vendors_bulk_request_spec.rb +34 -0
  143. data/spec/models/post_vendors_bulk_response_spec.rb +34 -0
  144. data/spec/models/post_vendors_from_vendor_directory_request_delivery_method_spec.rb +40 -0
  145. data/spec/models/post_vendors_from_vendor_directory_request_spec.rb +40 -0
  146. data/spec/models/post_vendors_from_vendor_directory_response_spec.rb +34 -0
  147. data/spec/models/post_vendors_request_spec.rb +40 -0
  148. data/spec/models/post_vendors_response_spec.rb +34 -0
  149. data/spec/models/post_vendors_vendor_id_delivery_methods_response_spec.rb +34 -0
  150. data/spec/models/post_webhooks_checkouts_request_spec.rb +34 -0
  151. data/spec/models/post_webhooks_checkouts_response_spec.rb +34 -0
  152. data/spec/models/post_webhooks_payments_request_spec.rb +34 -0
  153. data/spec/models/post_webhooks_payments_response_spec.rb +34 -0
  154. data/spec/models/put_payment_intents_request_spec.rb +88 -0
  155. data/spec/models/put_payment_intents_response_spec.rb +34 -0
  156. data/spec/models/recover_payment_request_spec.rb +88 -0
  157. data/spec/models/recover_payment_response_spec.rb +34 -0
  158. data/spec/models/short_history_spec.rb +46 -0
  159. data/spec/models/taba_pay_details_card_owner_spec.rb +40 -0
  160. data/spec/models/taba_pay_details_spec.rb +70 -0
  161. data/spec/models/tax_info_spec.rb +44 -0
  162. data/spec/models/vendor_all_of_contact_spec.rb +46 -0
  163. data/spec/models/vendor_all_of_spec.rb +46 -0
  164. data/spec/models/vendor_directory_contact_spec.rb +52 -0
  165. data/spec/models/vendor_directory_delivery_method_spec.rb +34 -0
  166. data/spec/models/vendor_directory_not_found_response_spec.rb +34 -0
  167. data/spec/models/vendor_directory_spec.rb +58 -0
  168. data/spec/models/vendor_spec.rb +58 -0
  169. data/spec/models/virtual_account_spec.rb +46 -0
  170. data/spec/models/webhook_spec.rb +40 -0
  171. data/spec/models/with_unknown_data_spec.rb +34 -0
  172. data/spec/spec_helper.rb +111 -0
  173. metadata +424 -0
@@ -0,0 +1,170 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::CheckoutAllOf
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::CheckoutAllOf do
21
+ let(:instance) { MelioPlatformApiClient::CheckoutAllOf.new }
22
+
23
+ describe 'test an instance of CheckoutAllOf' do
24
+ it 'should create an instance of CheckoutAllOf' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::CheckoutAllOf)
26
+ end
27
+ end
28
+ describe 'test attribute "merchant_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "net_terms"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "line_items"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "tax_items"' 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 "shipping_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 "billing_address"' 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 "currency"' 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 "tax_total"' 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 "coupon_items"' 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 "subtotal"' 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 "shipping_cost_total"' 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
+ describe 'test attribute "grand_total"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "store_credit"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "gift_certificates"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "outstanding_balance"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "buyer"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "company_name"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "status"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["created", "filled", "captured", "completed", "expired", "unpaid"])
134
+ # validator.allowable_values.each do |value|
135
+ # expect { instance.status = value }.not_to raise_error
136
+ # end
137
+ end
138
+ end
139
+
140
+ describe 'test attribute "has_contact_details"' do
141
+ it 'should work' do
142
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
143
+ end
144
+ end
145
+
146
+ describe 'test attribute "has_payment_details"' do
147
+ it 'should work' do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
152
+ describe 'test attribute "due_date"' do
153
+ it 'should work' do
154
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
155
+ end
156
+ end
157
+
158
+ describe 'test attribute "checkout_url"' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
164
+ describe 'test attribute "charge_id"' do
165
+ it 'should work' do
166
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
167
+ end
168
+ end
169
+
170
+ end
@@ -0,0 +1,182 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::Checkout
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::Checkout do
21
+ let(:instance) { MelioPlatformApiClient::Checkout.new }
22
+
23
+ describe 'test an instance of Checkout' do
24
+ it 'should create an instance of Checkout' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::Checkout)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "history"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "merchant_id"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "net_terms"' 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 "line_items"' 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 "tax_items"' 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 "shipping_address"' 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 "billing_address"' 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 "currency"' 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 "tax_total"' 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 "coupon_items"' 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
+ describe 'test attribute "subtotal"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "shipping_cost_total"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "grand_total"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "store_credit"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "gift_certificates"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "outstanding_balance"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "buyer"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
136
+ describe 'test attribute "company_name"' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
142
+ describe 'test attribute "status"' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["created", "filled", "captured", "completed", "expired", "unpaid"])
146
+ # validator.allowable_values.each do |value|
147
+ # expect { instance.status = value }.not_to raise_error
148
+ # end
149
+ end
150
+ end
151
+
152
+ describe 'test attribute "has_contact_details"' do
153
+ it 'should work' do
154
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
155
+ end
156
+ end
157
+
158
+ describe 'test attribute "has_payment_details"' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
164
+ describe 'test attribute "due_date"' do
165
+ it 'should work' do
166
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
167
+ end
168
+ end
169
+
170
+ describe 'test attribute "checkout_url"' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ end
174
+ end
175
+
176
+ describe 'test attribute "charge_id"' do
177
+ it 'should work' do
178
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
179
+ end
180
+ end
181
+
182
+ end
@@ -0,0 +1,64 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::Company
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::Company do
21
+ let(:instance) { MelioPlatformApiClient::Company.new }
22
+
23
+ describe 'test an instance of Company' do
24
+ it 'should create an instance of Company' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::Company)
26
+ end
27
+ end
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "phone_number"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "address"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "legal_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 "tax_info"' 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 "legal_address"' 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
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::ConfirmPaymentIntentsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::ConfirmPaymentIntentsResponse do
21
+ let(:instance) { MelioPlatformApiClient::ConfirmPaymentIntentsResponse.new }
22
+
23
+ describe 'test an instance of ConfirmPaymentIntentsResponse' do
24
+ it 'should create an instance of ConfirmPaymentIntentsResponse' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::ConfirmPaymentIntentsResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,28 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::Currency
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::Currency do
21
+ let(:instance) { MelioPlatformApiClient::Currency.new }
22
+
23
+ describe 'test an instance of Currency' do
24
+ it 'should create an instance of Currency' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::Currency)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::DeletedResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::DeletedResponse do
21
+ let(:instance) { MelioPlatformApiClient::DeletedResponse.new }
22
+
23
+ describe 'test an instance of DeletedResponse' do
24
+ it 'should create an instance of DeletedResponse' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::DeletedResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "deleted"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::DeliveryMethodAllOf
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::DeliveryMethodAllOf do
21
+ let(:instance) { MelioPlatformApiClient::DeliveryMethodAllOf.new }
22
+
23
+ describe 'test an instance of DeliveryMethodAllOf' do
24
+ it 'should create an instance of DeliveryMethodAllOf' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::DeliveryMethodAllOf)
26
+ end
27
+ end
28
+ describe 'test attribute "type"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "details"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,31 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::DeliveryMethodDetails
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::DeliveryMethodDetails do
21
+ describe '.openapi_one_of' do
22
+ it 'lists the items referenced in the oneOf array' do
23
+ expect(described_class.openapi_one_of).to_not be_empty
24
+ end
25
+ end
26
+
27
+ describe '.build' do
28
+ it 'returns the correct model' do
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Platform API
3
+
4
+ #Melio Platform API enables partners to perform partner-related operations in Melio's system, for themselves, and on behalf of their system's users. ## Definitions & entities #### Partner Represents a party that has high-level access level and can manage Accounts and performing action on them. Partners authenticate using a Partner secret API key, and are permitted to perform only on Accounts that belong to them. #### Account Represents a business / company that is connected to the Partners system. Partners can have multiple Accounts. #### Delivery Method A payment destination that is used to receive funds. Accounts can have multiple Delivery Methods. #### Funding Source A payment source that is used to send funds. Accounts can have multiple Funding Sources. #### Vendor A business entity that can receive funds from an Account. Vendors are Account-specific. #### Payment Intent This main entity holds the general bill information (e.g. amount to pay, Vendor to pay to, due date, etc.), and acts as a utility / factory for creating Payments with selected configuration. #### Payment This core entity facilitates Melio's main use case of transferring funds *from* an Account's Delivery Method *to* a Vendor / Account's Delivery Method on a certain date, along with additional relevant information. #### Merchant Represents an Account's configuration as a seller, along with its additional data and options. #### Checkout Represents a checkout session that is performed by the buyer, along with the cart and additional required details. #### Charge Represnets a charging order for a Checkout, created when a Checkout is captured. #### FileInfo Wraps around a file in the platform - generic and can be uplaoded and associated with other objects per request. ## `Melio-Account` header The `Melio-Account` header is used when a Partner wants to perform an operation on behalf of one of its Accounts. It conains the Account'd ID which returned when creating the Account, or when retrieving all of the Partner's Accounts. Note that most operations are not permitted without the presence of this header.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: platform@melio.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MelioPlatformApiClient::DeliveryMethod
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MelioPlatformApiClient::DeliveryMethod do
21
+ let(:instance) { MelioPlatformApiClient::DeliveryMethod.new }
22
+
23
+ describe 'test an instance of DeliveryMethod' do
24
+ it 'should create an instance of DeliveryMethod' do
25
+ expect(instance).to be_instance_of(MelioPlatformApiClient::DeliveryMethod)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "history"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "type"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "details"' 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
+ end