ultracart_api 3.10.171 → 3.10.172
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 +1 -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: 58398f0bb89879e970d8613571834685ba7146410e73baf59e432063e9bd37da
|
|
4
|
+
data.tar.gz: 9b5bf6f5c96d9667f9f7d132ce13df481fdd8b8ae0e9d75fea208b15b192635a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d12a5379d71e67eb7eb24e5cd5f66c3f49af705a3115474e9eaefb5b9905380e64a2c54baaceea58ce6a16cf7fcdcbddf91af8d19be0517506e914d2d41f9a5d
|
|
7
|
+
data.tar.gz: b62ff60577a05cad2d4b483f73a47d25b07f776636e7f02a7ea04514e5d10bbac7542ff6e91a626f05d8f180772d022f115972b5fa0c5153a04b74cd2388df85
|
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.10.
|
|
10
|
+
- Package version: 3.10.172
|
|
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.10.
|
|
27
|
+
gem install ./ultracart_api-3.10.172.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.172.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.10.
|
|
35
|
+
gem 'ultracart_api', '~> 3.10.172'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1396,6 +1396,7 @@ Not every change is committed to every SDK.
|
|
|
1396
1396
|
|
|
1397
1397
|
| Version | Date | Comments |
|
|
1398
1398
|
| --: | :-: | --- |
|
|
1399
|
+
| 3.10.172 | 11/13/2023 | coupon - editor values for item tags |
|
|
1399
1400
|
| 3.10.171 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
|
|
1400
1401
|
| 3.10.170 | 11/09/2023 | item - new auto order step type: pause until |
|
|
1401
1402
|
| 3.10.169 | 11/06/2023 | customer api - added wishlist methods |
|
data/docs/CouponEditorValues.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**coupon_types_for_display** | [**Array<CouponType>**](CouponType.md) | coupon_types_for_display | [optional]
|
|
9
9
|
**currency_codes** | **Array<String>** | currency_codes | [optional]
|
|
10
10
|
**deprecated_themes** | [**Array<SimpleValue>**](SimpleValue.md) | deprecated_themes | [optional]
|
|
11
|
+
**item_tags** | **Array<String>** | Item tags | [optional]
|
|
11
12
|
**mix_and_match_names** | **Array<String>** | mix_and_match_names | [optional]
|
|
12
13
|
**shipping_methods** | **Array<String>** | shipping_methods | [optional]
|
|
13
14
|
**storefronts** | [**Array<SimpleValue>**](SimpleValue.md) | storefronts | [optional]
|
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
|
29
29
|
# deprecated_themes
|
|
30
30
|
attr_accessor :deprecated_themes
|
|
31
31
|
|
|
32
|
+
# Item tags
|
|
33
|
+
attr_accessor :item_tags
|
|
34
|
+
|
|
32
35
|
# mix_and_match_names
|
|
33
36
|
attr_accessor :mix_and_match_names
|
|
34
37
|
|
|
@@ -52,6 +55,7 @@ module UltracartClient
|
|
|
52
55
|
:'coupon_types_for_display' => :'coupon_types_for_display',
|
|
53
56
|
:'currency_codes' => :'currency_codes',
|
|
54
57
|
:'deprecated_themes' => :'deprecated_themes',
|
|
58
|
+
:'item_tags' => :'item_tags',
|
|
55
59
|
:'mix_and_match_names' => :'mix_and_match_names',
|
|
56
60
|
:'shipping_methods' => :'shipping_methods',
|
|
57
61
|
:'storefronts' => :'storefronts',
|
|
@@ -68,6 +72,7 @@ module UltracartClient
|
|
|
68
72
|
:'coupon_types_for_display' => :'Array<CouponType>',
|
|
69
73
|
:'currency_codes' => :'Array<String>',
|
|
70
74
|
:'deprecated_themes' => :'Array<SimpleValue>',
|
|
75
|
+
:'item_tags' => :'Array<String>',
|
|
71
76
|
:'mix_and_match_names' => :'Array<String>',
|
|
72
77
|
:'shipping_methods' => :'Array<String>',
|
|
73
78
|
:'storefronts' => :'Array<SimpleValue>',
|
|
@@ -114,6 +119,12 @@ module UltracartClient
|
|
|
114
119
|
end
|
|
115
120
|
end
|
|
116
121
|
|
|
122
|
+
if attributes.has_key?(:'item_tags')
|
|
123
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
|
124
|
+
self.item_tags = value
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
117
128
|
if attributes.has_key?(:'mix_and_match_names')
|
|
118
129
|
if (value = attributes[:'mix_and_match_names']).is_a?(Array)
|
|
119
130
|
self.mix_and_match_names = value
|
|
@@ -168,6 +179,7 @@ module UltracartClient
|
|
|
168
179
|
coupon_types_for_display == o.coupon_types_for_display &&
|
|
169
180
|
currency_codes == o.currency_codes &&
|
|
170
181
|
deprecated_themes == o.deprecated_themes &&
|
|
182
|
+
item_tags == o.item_tags &&
|
|
171
183
|
mix_and_match_names == o.mix_and_match_names &&
|
|
172
184
|
shipping_methods == o.shipping_methods &&
|
|
173
185
|
storefronts == o.storefronts &&
|
|
@@ -184,7 +196,7 @@ module UltracartClient
|
|
|
184
196
|
# Calculates hash code according to all attributes.
|
|
185
197
|
# @return [Fixnum] Hash code
|
|
186
198
|
def hash
|
|
187
|
-
[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
|
|
199
|
+
[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
|
|
188
200
|
end
|
|
189
201
|
|
|
190
202
|
# Builds the object from hash
|