ultracart_api 4.0.188 → 4.0.189
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/CouponEditorValues.md +2 -0
- data/lib/ultracart_api/models/coupon_editor_values.rb +13 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 254117376f30ad908f0060c4ec55be2f4efb4f67192b74e1453073804e83444d
|
|
4
|
+
data.tar.gz: b53f8f81a36916f3c04210b891f3e062d764755138bef8cd6e1cac8e6a448059
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1631fbe4405551c9d5dd413c0ae1969a541381d70c8b179d05d102b8ec9abefec87a4ef440a2bb6c20c868a655ed9f6d2998ae70e3a6e75260f8c3688158e39b
|
|
7
|
+
data.tar.gz: 3fb48b0c2b79b183d00ccadfd64ae8dc4959f4d0864ed5066358df984257f9f50f5cc50de99f2716af177459077fec975d4cf022c88ec37dc11976a27d7cf4d7
|
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.189
|
|
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.189.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.189.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.189'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1404,6 +1404,7 @@ Not every change is committed to every SDK.
|
|
|
1404
1404
|
|
|
1405
1405
|
| Version | Date | Comments |
|
|
1406
1406
|
| --: | :-: | --- |
|
|
1407
|
+
| 4.0.189 | 11/13/2023 | coupon - editor values for item tags |
|
|
1407
1408
|
| 4.0.188 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
|
|
1408
1409
|
| 4.0.187 | 11/09/2023 | item - new auto order step type: pause until |
|
|
1409
1410
|
| 4.0.186 | 11/06/2023 | customer api - added wishlist methods |
|
data/docs/CouponEditorValues.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **coupon_types_for_display** | [**Array<CouponType>**](CouponType.md) | coupon_types_for_display | [optional] |
|
|
10
10
|
| **currency_codes** | **Array<String>** | currency_codes | [optional] |
|
|
11
11
|
| **deprecated_themes** | [**Array<SimpleValue>**](SimpleValue.md) | deprecated_themes | [optional] |
|
|
12
|
+
| **item_tags** | **Array<String>** | Item tags | [optional] |
|
|
12
13
|
| **mix_and_match_names** | **Array<String>** | mix_and_match_names | [optional] |
|
|
13
14
|
| **shipping_methods** | **Array<String>** | shipping_methods | [optional] |
|
|
14
15
|
| **storefronts** | [**Array<SimpleValue>**](SimpleValue.md) | storefronts | [optional] |
|
|
@@ -26,6 +27,7 @@ instance = UltracartClient::CouponEditorValues.new(
|
|
|
26
27
|
coupon_types_for_display: null,
|
|
27
28
|
currency_codes: null,
|
|
28
29
|
deprecated_themes: null,
|
|
30
|
+
item_tags: null,
|
|
29
31
|
mix_and_match_names: null,
|
|
30
32
|
shipping_methods: null,
|
|
31
33
|
storefronts: null,
|
|
@@ -30,6 +30,9 @@ module UltracartClient
|
|
|
30
30
|
# deprecated_themes
|
|
31
31
|
attr_accessor :deprecated_themes
|
|
32
32
|
|
|
33
|
+
# Item tags
|
|
34
|
+
attr_accessor :item_tags
|
|
35
|
+
|
|
33
36
|
# mix_and_match_names
|
|
34
37
|
attr_accessor :mix_and_match_names
|
|
35
38
|
|
|
@@ -53,6 +56,7 @@ module UltracartClient
|
|
|
53
56
|
:'coupon_types_for_display' => :'coupon_types_for_display',
|
|
54
57
|
:'currency_codes' => :'currency_codes',
|
|
55
58
|
:'deprecated_themes' => :'deprecated_themes',
|
|
59
|
+
:'item_tags' => :'item_tags',
|
|
56
60
|
:'mix_and_match_names' => :'mix_and_match_names',
|
|
57
61
|
:'shipping_methods' => :'shipping_methods',
|
|
58
62
|
:'storefronts' => :'storefronts',
|
|
@@ -74,6 +78,7 @@ module UltracartClient
|
|
|
74
78
|
:'coupon_types_for_display' => :'Array<CouponType>',
|
|
75
79
|
:'currency_codes' => :'Array<String>',
|
|
76
80
|
:'deprecated_themes' => :'Array<SimpleValue>',
|
|
81
|
+
:'item_tags' => :'Array<String>',
|
|
77
82
|
:'mix_and_match_names' => :'Array<String>',
|
|
78
83
|
:'shipping_methods' => :'Array<String>',
|
|
79
84
|
:'storefronts' => :'Array<SimpleValue>',
|
|
@@ -133,6 +138,12 @@ module UltracartClient
|
|
|
133
138
|
end
|
|
134
139
|
end
|
|
135
140
|
|
|
141
|
+
if attributes.key?(:'item_tags')
|
|
142
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
|
143
|
+
self.item_tags = value
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
136
147
|
if attributes.key?(:'mix_and_match_names')
|
|
137
148
|
if (value = attributes[:'mix_and_match_names']).is_a?(Array)
|
|
138
149
|
self.mix_and_match_names = value
|
|
@@ -187,6 +198,7 @@ module UltracartClient
|
|
|
187
198
|
coupon_types_for_display == o.coupon_types_for_display &&
|
|
188
199
|
currency_codes == o.currency_codes &&
|
|
189
200
|
deprecated_themes == o.deprecated_themes &&
|
|
201
|
+
item_tags == o.item_tags &&
|
|
190
202
|
mix_and_match_names == o.mix_and_match_names &&
|
|
191
203
|
shipping_methods == o.shipping_methods &&
|
|
192
204
|
storefronts == o.storefronts &&
|
|
@@ -203,7 +215,7 @@ module UltracartClient
|
|
|
203
215
|
# Calculates hash code according to all attributes.
|
|
204
216
|
# @return [Integer] Hash code
|
|
205
217
|
def hash
|
|
206
|
-
[affiliates, coupon_types, coupon_types_for_display, currency_codes, deprecated_themes, mix_and_match_names, shipping_methods, storefronts, usable_by, valid_with_other_coupons].hash
|
|
218
|
+
[affiliates, coupon_types, coupon_types_for_display, currency_codes, deprecated_themes, item_tags, mix_and_match_names, shipping_methods, storefronts, usable_by, valid_with_other_coupons].hash
|
|
207
219
|
end
|
|
208
220
|
|
|
209
221
|
# Builds the object from hash
|