ultracart_api 3.6.23 → 3.6.24
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/CouponResponse.md +1 -0
- data/lib/ultracart_api/models/coupon_response.rb +13 -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: 2c7bdb6ac3cdd15ef24e724623151082080f8e9a027b560436ed1b846c81a8e6
|
4
|
+
data.tar.gz: b021590dde19c0bb5a224b9b4bb339cbfd5b0307e42dfa5b0740f40c5c05a3ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '069aab8c4a4484e6756853c5a1d0e556bc2d4fae6fd1a2d35bace4c4b2ac8ddddb4d0d46a2afb2f97757d3e22c80f69cd9af249ba2c03f10d9497a34587aa47f'
|
7
|
+
data.tar.gz: fed2ae2162f1b495620a3a4a5acf69f768224b09f278223b8431598f1e537a94512491bf3fc26b7bc3074c188dc79a66d7ad6aa5a5662f1faa4e7f79a6b812b0
|
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.24
|
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.24.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.24.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.24'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1128,6 +1128,7 @@ Not every change is committed to every SDK.
|
|
1128
1128
|
|
1129
1129
|
| Version | Date | Comments |
|
1130
1130
|
| --: | :-: | --- |
|
1131
|
+
| 3.6.24 | 11/30/2021 | return items_invalid_for_coupons for CouponResponse object to drive UI warnings |
|
1131
1132
|
| 3.6.23 | 11/29/2021 | Item auto order prohibit cards that expire in months setting. |
|
1132
1133
|
| 3.6.22 | 11/23/2021 | new storefront methods for twilio configuration |
|
1133
1134
|
| 3.6.21 | 11/08/2021 | item shipping distribution center level CostOfGoodsSold |
|
data/docs/CouponResponse.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**coupon** | [**Coupon**](Coupon.md) | | [optional]
|
7
7
|
**error** | [**Error**](Error.md) | | [optional]
|
8
|
+
**items_invalid_for_coupons** | **Array<String>** | Items invalid for coupons. These will display as warnings within the UI. | [optional]
|
8
9
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
9
10
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
11
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :error
|
20
20
|
|
21
|
+
# Items invalid for coupons. These will display as warnings within the UI.
|
22
|
+
attr_accessor :items_invalid_for_coupons
|
23
|
+
|
21
24
|
attr_accessor :metadata
|
22
25
|
|
23
26
|
# Indicates if API call was successful
|
@@ -30,6 +33,7 @@ module UltracartClient
|
|
30
33
|
{
|
31
34
|
:'coupon' => :'coupon',
|
32
35
|
:'error' => :'error',
|
36
|
+
:'items_invalid_for_coupons' => :'items_invalid_for_coupons',
|
33
37
|
:'metadata' => :'metadata',
|
34
38
|
:'success' => :'success',
|
35
39
|
:'warning' => :'warning'
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
{
|
42
46
|
:'coupon' => :'Coupon',
|
43
47
|
:'error' => :'Error',
|
48
|
+
:'items_invalid_for_coupons' => :'Array<String>',
|
44
49
|
:'metadata' => :'ResponseMetadata',
|
45
50
|
:'success' => :'BOOLEAN',
|
46
51
|
:'warning' => :'Warning'
|
@@ -63,6 +68,12 @@ module UltracartClient
|
|
63
68
|
self.error = attributes[:'error']
|
64
69
|
end
|
65
70
|
|
71
|
+
if attributes.has_key?(:'items_invalid_for_coupons')
|
72
|
+
if (value = attributes[:'items_invalid_for_coupons']).is_a?(Array)
|
73
|
+
self.items_invalid_for_coupons = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
66
77
|
if attributes.has_key?(:'metadata')
|
67
78
|
self.metadata = attributes[:'metadata']
|
68
79
|
end
|
@@ -96,6 +107,7 @@ module UltracartClient
|
|
96
107
|
self.class == o.class &&
|
97
108
|
coupon == o.coupon &&
|
98
109
|
error == o.error &&
|
110
|
+
items_invalid_for_coupons == o.items_invalid_for_coupons &&
|
99
111
|
metadata == o.metadata &&
|
100
112
|
success == o.success &&
|
101
113
|
warning == o.warning
|
@@ -110,7 +122,7 @@ module UltracartClient
|
|
110
122
|
# Calculates hash code according to all attributes.
|
111
123
|
# @return [Fixnum] Hash code
|
112
124
|
def hash
|
113
|
-
[coupon, error, metadata, success, warning].hash
|
125
|
+
[coupon, error, items_invalid_for_coupons, metadata, success, warning].hash
|
114
126
|
end
|
115
127
|
|
116
128
|
# 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.24
|
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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|