ultracart_api 3.6.20 → 3.6.21
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c10494f620704d92ee04e8640ea3e34807349b579f7a346d8a094f1407aafa21
|
4
|
+
data.tar.gz: eff11e1cb5aab90853367c7114494550874a477d30114fa5552a419e15747810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1319a7446b959aeeb0e1a5349795e873c30925e60a3fa6b122fd8b9a954f870d3567ad03f82043d1fbe63f58bf2a302163d304579a98e901153502f8b6bff919
|
7
|
+
data.tar.gz: af5c8f0c53d43ef3620ca8784a82f25c89d2c90875009b803402529895311c9bbdd4b90ad81c622dd482f0ea4613a86038b13ad92d3486dfcbff676ab2eb29ca
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.6.
|
10
|
+
- Package version: 3.6.21
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-3.6.
|
27
|
+
gem install ./ultracart_api-3.6.21.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.6.21.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ultracart_api', '~> 3.6.
|
35
|
+
gem 'ultracart_api', '~> 3.6.21'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1120,6 +1120,7 @@ Not every change is committed to every SDK.
|
|
1120
1120
|
|
1121
1121
|
| Version | Date | Comments |
|
1122
1122
|
| --: | :-: | --- |
|
1123
|
+
| 3.6.21 | 11/08/2021 | item shipping distribution center level CostOfGoodsSold |
|
1123
1124
|
| 3.6.20 | 11/05/2021 | additional item auto order step types |
|
1124
1125
|
| 3.6.19 | 10/05/2021 | item fulfillment add ons |
|
1125
1126
|
| 3.6.18 | 09/30/2021 | terms if auto order flag added |
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**allocated_to_placed_orders** | **Float** | Allocated to placed orders | [optional]
|
7
7
|
**allocated_to_shopping_carts** | **Float** | Allocated to shopping carts | [optional]
|
8
8
|
**available_to_allocate** | **Float** | Available to allocate | [optional]
|
9
|
+
**cogs** | **Float** | Cost of goods sold override at the distribution center level | [optional]
|
9
10
|
**desired_inventory_level** | **Float** | Desired inventory level | [optional]
|
10
11
|
**distribution_center_code** | **String** | Distribution center code | [optional]
|
11
12
|
**distribution_center_oid** | **Integer** | Distribution center object identifier | [optional]
|
@@ -23,6 +23,9 @@ module UltracartClient
|
|
23
23
|
# Available to allocate
|
24
24
|
attr_accessor :available_to_allocate
|
25
25
|
|
26
|
+
# Cost of goods sold override at the distribution center level
|
27
|
+
attr_accessor :cogs
|
28
|
+
|
26
29
|
# Desired inventory level
|
27
30
|
attr_accessor :desired_inventory_level
|
28
31
|
|
@@ -59,6 +62,7 @@ module UltracartClient
|
|
59
62
|
:'allocated_to_placed_orders' => :'allocated_to_placed_orders',
|
60
63
|
:'allocated_to_shopping_carts' => :'allocated_to_shopping_carts',
|
61
64
|
:'available_to_allocate' => :'available_to_allocate',
|
65
|
+
:'cogs' => :'cogs',
|
62
66
|
:'desired_inventory_level' => :'desired_inventory_level',
|
63
67
|
:'distribution_center_code' => :'distribution_center_code',
|
64
68
|
:'distribution_center_oid' => :'distribution_center_oid',
|
@@ -78,6 +82,7 @@ module UltracartClient
|
|
78
82
|
:'allocated_to_placed_orders' => :'Float',
|
79
83
|
:'allocated_to_shopping_carts' => :'Float',
|
80
84
|
:'available_to_allocate' => :'Float',
|
85
|
+
:'cogs' => :'Float',
|
81
86
|
:'desired_inventory_level' => :'Float',
|
82
87
|
:'distribution_center_code' => :'String',
|
83
88
|
:'distribution_center_oid' => :'Integer',
|
@@ -111,6 +116,10 @@ module UltracartClient
|
|
111
116
|
self.available_to_allocate = attributes[:'available_to_allocate']
|
112
117
|
end
|
113
118
|
|
119
|
+
if attributes.has_key?(:'cogs')
|
120
|
+
self.cogs = attributes[:'cogs']
|
121
|
+
end
|
122
|
+
|
114
123
|
if attributes.has_key?(:'desired_inventory_level')
|
115
124
|
self.desired_inventory_level = attributes[:'desired_inventory_level']
|
116
125
|
end
|
@@ -203,6 +212,7 @@ module UltracartClient
|
|
203
212
|
allocated_to_placed_orders == o.allocated_to_placed_orders &&
|
204
213
|
allocated_to_shopping_carts == o.allocated_to_shopping_carts &&
|
205
214
|
available_to_allocate == o.available_to_allocate &&
|
215
|
+
cogs == o.cogs &&
|
206
216
|
desired_inventory_level == o.desired_inventory_level &&
|
207
217
|
distribution_center_code == o.distribution_center_code &&
|
208
218
|
distribution_center_oid == o.distribution_center_oid &&
|
@@ -224,7 +234,7 @@ module UltracartClient
|
|
224
234
|
# Calculates hash code according to all attributes.
|
225
235
|
# @return [Fixnum] Hash code
|
226
236
|
def hash
|
227
|
-
[allocated_to_placed_orders, allocated_to_shopping_carts, available_to_allocate, desired_inventory_level, distribution_center_code, distribution_center_oid, eta, handles, inventory_level, maximum_backorder, reorder_inventory_level, sku, stock_picking_location].hash
|
237
|
+
[allocated_to_placed_orders, allocated_to_shopping_carts, available_to_allocate, cogs, desired_inventory_level, distribution_center_code, distribution_center_oid, eta, handles, inventory_level, maximum_backorder, reorder_inventory_level, sku, stock_picking_location].hash
|
228
238
|
end
|
229
239
|
|
230
240
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultracart_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|