ultracart_api 4.0.152 → 4.0.153
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 +4 -4
- data/README.md +5 -4
- data/docs/ItemPricingTierLimit.md +2 -0
- data/lib/ultracart_api/models/item_pricing_tier_limit.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74f0b59f6e236d45f16c4b8b1b1d52bf3b0ed5400866606d8159f3a53baee5be
|
4
|
+
data.tar.gz: 4715fa0c177324f966aa5d3fe3996e16d03b2828aa9a33ccb116844dc6611c99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfc1f07907c13b8b8d62a53d05584d2ba2fedb919030f2dea72fc112958b15a31900779cdbc5d815d3367ffdfaa922dff8077ea37c53a10044d2eca76e627491
|
7
|
+
data.tar.gz: 8e19f5664dcdb3744e3bf064af0448cda24a995c88b37c902d4d7351411b185cbca72d68c4af96e00b271f1b37147d08901e1f1eb37d6d39f44f55918c847dd2
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.153
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.153.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.153.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.153'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1355,6 +1355,7 @@ Not every change is committed to every SDK.
|
|
1355
1355
|
|
1356
1356
|
| Version | Date | Comments |
|
1357
1357
|
| --: | :-: | --- |
|
1358
|
+
| 4.0.153 | 04/28/2023 | item - pricing tier level flag for exempt from min item count |
|
1358
1359
|
| 4.0.152 | 04/27/2023 | order - expose dual vaulted identifiers |
|
1359
1360
|
| 4.0.151 | 04/24/2023 | internal development - data warehouse |
|
1360
1361
|
| 4.0.150 | 04/21/2023 | internal development - data warehouse |
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **cumulative_order_limit** | **Integer** | Cumulative order limit | [optional] |
|
8
|
+
| **exempt_from_minimum_item_count** | **Boolean** | Exempt from Minimum Item Count | [optional] |
|
8
9
|
| **individual_order_limit** | **Integer** | Individual order limit | [optional] |
|
9
10
|
| **multiple_quantity** | **Integer** | Multiple quantity | [optional] |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'ultracart_api'
|
|
15
16
|
|
16
17
|
instance = UltracartClient::ItemPricingTierLimit.new(
|
17
18
|
cumulative_order_limit: null,
|
19
|
+
exempt_from_minimum_item_count: null,
|
18
20
|
individual_order_limit: null,
|
19
21
|
multiple_quantity: null
|
20
22
|
)
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
18
18
|
# Cumulative order limit
|
19
19
|
attr_accessor :cumulative_order_limit
|
20
20
|
|
21
|
+
# Exempt from Minimum Item Count
|
22
|
+
attr_accessor :exempt_from_minimum_item_count
|
23
|
+
|
21
24
|
# Individual order limit
|
22
25
|
attr_accessor :individual_order_limit
|
23
26
|
|
@@ -28,6 +31,7 @@ module UltracartClient
|
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'cumulative_order_limit' => :'cumulative_order_limit',
|
34
|
+
:'exempt_from_minimum_item_count' => :'exempt_from_minimum_item_count',
|
31
35
|
:'individual_order_limit' => :'individual_order_limit',
|
32
36
|
:'multiple_quantity' => :'multiple_quantity'
|
33
37
|
}
|
@@ -42,6 +46,7 @@ module UltracartClient
|
|
42
46
|
def self.openapi_types
|
43
47
|
{
|
44
48
|
:'cumulative_order_limit' => :'Integer',
|
49
|
+
:'exempt_from_minimum_item_count' => :'Boolean',
|
45
50
|
:'individual_order_limit' => :'Integer',
|
46
51
|
:'multiple_quantity' => :'Integer'
|
47
52
|
}
|
@@ -72,6 +77,10 @@ module UltracartClient
|
|
72
77
|
self.cumulative_order_limit = attributes[:'cumulative_order_limit']
|
73
78
|
end
|
74
79
|
|
80
|
+
if attributes.key?(:'exempt_from_minimum_item_count')
|
81
|
+
self.exempt_from_minimum_item_count = attributes[:'exempt_from_minimum_item_count']
|
82
|
+
end
|
83
|
+
|
75
84
|
if attributes.key?(:'individual_order_limit')
|
76
85
|
self.individual_order_limit = attributes[:'individual_order_limit']
|
77
86
|
end
|
@@ -100,6 +109,7 @@ module UltracartClient
|
|
100
109
|
return true if self.equal?(o)
|
101
110
|
self.class == o.class &&
|
102
111
|
cumulative_order_limit == o.cumulative_order_limit &&
|
112
|
+
exempt_from_minimum_item_count == o.exempt_from_minimum_item_count &&
|
103
113
|
individual_order_limit == o.individual_order_limit &&
|
104
114
|
multiple_quantity == o.multiple_quantity
|
105
115
|
end
|
@@ -113,7 +123,7 @@ module UltracartClient
|
|
113
123
|
# Calculates hash code according to all attributes.
|
114
124
|
# @return [Integer] Hash code
|
115
125
|
def hash
|
116
|
-
[cumulative_order_limit, individual_order_limit, multiple_quantity].hash
|
126
|
+
[cumulative_order_limit, exempt_from_minimum_item_count, individual_order_limit, multiple_quantity].hash
|
117
127
|
end
|
118
128
|
|
119
129
|
# 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: 4.0.
|
4
|
+
version: 4.0.153
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|