wine_shipping 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +128 -0
- data/Rakefile +8 -0
- data/docs/Authentication.md +10 -0
- data/docs/BillingContactInfo.md +18 -0
- data/docs/DeliveryContactInfo.md +17 -0
- data/docs/Inventory.md +20 -0
- data/docs/InventoryApi.md +102 -0
- data/docs/InventoryMovementApi.md +100 -0
- data/docs/InventoryStatusRequest.md +13 -0
- data/docs/InventoryStatusResult.md +12 -0
- data/docs/ItemInfo.md +10 -0
- data/docs/OrderOnHold.md +19 -0
- data/docs/OrderOnHoldItem.md +11 -0
- data/docs/PackageItem.md +10 -0
- data/docs/PurchaseOrderDetails.md +10 -0
- data/docs/PurchaseOrderInfo.md +24 -0
- data/docs/PurchaseOrderItemInfo.md +10 -0
- data/docs/RecipientContactInfo.md +18 -0
- data/docs/RequestorInfo.md +11 -0
- data/docs/ReturnResult.md +12 -0
- data/docs/ReturnSalesOrderHeader.md +31 -0
- data/docs/ReturnSalesOrderLine.md +13 -0
- data/docs/ReturnsRequest.md +16 -0
- data/docs/SKUApi.md +54 -0
- data/docs/SKUDetails.md +10 -0
- data/docs/SKUInfo.md +20 -0
- data/docs/SalesOrderApi.md +240 -0
- data/docs/SalesOrderCancelRequest.md +9 -0
- data/docs/SalesOrderDetails.md +14 -0
- data/docs/SalesOrderInfo.md +20 -0
- data/docs/ShipmentInfo.md +13 -0
- data/docs/TrackingApi.md +55 -0
- data/docs/TrackingRequest.md +9 -0
- data/docs/TrackingResult.md +28 -0
- data/docs/TransferOrderDetails.md +10 -0
- data/docs/TransferOrderInfo.md +17 -0
- data/docs/TransferOrderItemInfo.md +10 -0
- data/docs/WarehouseInventoryStatus.md +19 -0
- data/git_push.sh +55 -0
- data/lib/.DS_Store +0 -0
- data/lib/wine_shipping.rb +75 -0
- data/lib/wine_shipping/api/inventory_api.rb +127 -0
- data/lib/wine_shipping/api/inventory_movement_api.rb +125 -0
- data/lib/wine_shipping/api/sales_order_api.rb +280 -0
- data/lib/wine_shipping/api/sku_api.rb +74 -0
- data/lib/wine_shipping/api/tracking_api.rb +75 -0
- data/lib/wine_shipping/api_client.rb +388 -0
- data/lib/wine_shipping/api_error.rb +38 -0
- data/lib/wine_shipping/configuration.rb +202 -0
- data/lib/wine_shipping/models/authentication.rb +201 -0
- data/lib/wine_shipping/models/billing_contact_info.rb +273 -0
- data/lib/wine_shipping/models/delivery_contact_info.rb +298 -0
- data/lib/wine_shipping/models/inventory.rb +291 -0
- data/lib/wine_shipping/models/inventory_status_request.rb +230 -0
- data/lib/wine_shipping/models/inventory_status_result.rb +221 -0
- data/lib/wine_shipping/models/item_info.rb +201 -0
- data/lib/wine_shipping/models/order_on_hold.rb +284 -0
- data/lib/wine_shipping/models/order_on_hold_item.rb +210 -0
- data/lib/wine_shipping/models/package_item.rb +201 -0
- data/lib/wine_shipping/models/purchase_order_details.rb +203 -0
- data/lib/wine_shipping/models/purchase_order_info.rb +361 -0
- data/lib/wine_shipping/models/purchase_order_item_info.rb +201 -0
- data/lib/wine_shipping/models/recipient_contact_info.rb +273 -0
- data/lib/wine_shipping/models/requestor_info.rb +210 -0
- data/lib/wine_shipping/models/return_result.rb +221 -0
- data/lib/wine_shipping/models/return_sales_order_header.rb +392 -0
- data/lib/wine_shipping/models/return_sales_order_line.rb +228 -0
- data/lib/wine_shipping/models/returns_request.rb +257 -0
- data/lib/wine_shipping/models/sales_order_cancel_request.rb +192 -0
- data/lib/wine_shipping/models/sales_order_details.rb +239 -0
- data/lib/wine_shipping/models/sales_order_info.rb +325 -0
- data/lib/wine_shipping/models/shipment_info.rb +274 -0
- data/lib/wine_shipping/models/sku_details.rb +201 -0
- data/lib/wine_shipping/models/sku_info.rb +325 -0
- data/lib/wine_shipping/models/tracking_request.rb +192 -0
- data/lib/wine_shipping/models/tracking_result.rb +365 -0
- data/lib/wine_shipping/models/transfer_order_details.rb +203 -0
- data/lib/wine_shipping/models/transfer_order_info.rb +264 -0
- data/lib/wine_shipping/models/transfer_order_item_info.rb +201 -0
- data/lib/wine_shipping/models/warehouse_inventory_status.rb +282 -0
- data/lib/wine_shipping/version.rb +15 -0
- data/spec/api/inventory_api_spec.rb +57 -0
- data/spec/api/inventory_movement_api_spec.rb +57 -0
- data/spec/api/sales_order_api_spec.rb +90 -0
- data/spec/api/sku_api_spec.rb +46 -0
- data/spec/api/tracking_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/authentication_spec.rb +53 -0
- data/spec/models/billing_contact_info_spec.rb +101 -0
- data/spec/models/delivery_contact_info_spec.rb +99 -0
- data/spec/models/inventory_spec.rb +113 -0
- data/spec/models/inventory_status_request_spec.rb +71 -0
- data/spec/models/inventory_status_result_spec.rb +65 -0
- data/spec/models/item_info_spec.rb +53 -0
- data/spec/models/order_on_hold_item_spec.rb +59 -0
- data/spec/models/order_on_hold_spec.rb +107 -0
- data/spec/models/package_item_spec.rb +53 -0
- data/spec/models/purchase_order_details_spec.rb +53 -0
- data/spec/models/purchase_order_info_spec.rb +141 -0
- data/spec/models/purchase_order_item_info_spec.rb +53 -0
- data/spec/models/recipient_contact_info_spec.rb +101 -0
- data/spec/models/requestor_info_spec.rb +59 -0
- data/spec/models/return_result_spec.rb +65 -0
- data/spec/models/return_sales_order_header_spec.rb +179 -0
- data/spec/models/return_sales_order_line_spec.rb +71 -0
- data/spec/models/returns_request_spec.rb +89 -0
- data/spec/models/sales_order_cancel_request_spec.rb +47 -0
- data/spec/models/sales_order_details_spec.rb +77 -0
- data/spec/models/sales_order_info_spec.rb +117 -0
- data/spec/models/shipment_info_spec.rb +79 -0
- data/spec/models/sku_details_spec.rb +53 -0
- data/spec/models/sku_info_spec.rb +117 -0
- data/spec/models/tracking_request_spec.rb +47 -0
- data/spec/models/tracking_result_spec.rb +161 -0
- data/spec/models/transfer_order_details_spec.rb +53 -0
- data/spec/models/transfer_order_info_spec.rb +95 -0
- data/spec/models/transfer_order_item_info_spec.rb +53 -0
- data/spec/models/warehouse_inventory_status_spec.rb +107 -0
- data/spec/spec_helper.rb +111 -0
- data/wine_shipping.gemspec +45 -0
- metadata +390 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API from Wineshipping
|
|
3
|
+
|
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: V3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.7
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for WineShipping::RequestorInfo
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestorInfo' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::RequestorInfo.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestorInfo' do
|
|
31
|
+
it 'should create an instance of RequestorInfo' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::RequestorInfo)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "first_name"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "last_name"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "phone_number"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "email_address"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API from Wineshipping
|
|
3
|
+
|
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: V3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.7
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for WineShipping::ReturnResult
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ReturnResult' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::ReturnResult.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ReturnResult' do
|
|
31
|
+
it 'should create an instance of ReturnResult' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::ReturnResult)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "total_record_count"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "skip"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "top"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "more_records"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "return_sales_order_headers"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
end
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API from Wineshipping
|
|
3
|
+
|
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: V3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.7
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for WineShipping::ReturnSalesOrderHeader
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ReturnSalesOrderHeader' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::ReturnSalesOrderHeader.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ReturnSalesOrderHeader' do
|
|
31
|
+
it 'should create an instance of ReturnSalesOrderHeader' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::ReturnSalesOrderHeader)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "customer_no"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "customer_name"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "rma_number"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "order_no"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "received_date"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "close_date"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "ship_to_name"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "ship_to_company"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "ship_to_address"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "ship_to_address2"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "ship_to_city"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "ship_to_state"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
describe 'test attribute "ship_to_zip_code"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
describe 'test attribute "ship_to_country"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "email_address"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
describe 'test attribute "phone_number"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "return_warehouse"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
describe 'test attribute "return_status"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
describe 'test attribute "disposition_code"' do
|
|
144
|
+
it 'should work' do
|
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
describe 'test attribute "return_reason"' do
|
|
150
|
+
it 'should work' do
|
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
describe 'test attribute "original_tracking_number"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "shipping_carrier_code"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "shippng_service_code"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
describe 'test attribute "return_sales_order_lines"' do
|
|
174
|
+
it 'should work' do
|
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API from Wineshipping
|
|
3
|
+
|
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: V3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.7
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for WineShipping::ReturnSalesOrderLine
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ReturnSalesOrderLine' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::ReturnSalesOrderLine.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ReturnSalesOrderLine' do
|
|
31
|
+
it 'should create an instance of ReturnSalesOrderLine' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::ReturnSalesOrderLine)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "item_no"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "item_description"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "quantity"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "uom"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "disposition_code"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "inventory_status_code"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
end
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API from Wineshipping
|
|
3
|
+
|
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: V3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.7
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for WineShipping::ReturnsRequest
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ReturnsRequest' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::ReturnsRequest.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ReturnsRequest' do
|
|
31
|
+
it 'should create an instance of ReturnsRequest' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::ReturnsRequest)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "authentication"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "order_numbers"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "start_time"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "end_time"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "disposition_code"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "warehouse"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "include_total_record_count"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "skip"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "top"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
end
|