ultracart_api 3.10.69 → 3.10.70
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: c88f249291871a874dd61ec3e8b99538d35c8ac532cfb9e90fe35ca5d4bef2d4
|
4
|
+
data.tar.gz: 1c4f98d9ec2ddc6c893cc2b476fcf0a0a43dac207cf469a393316485f4bef684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e25306978125ee5e1f4b57d5d42b508d53f9cd636dfe18b0fb63bb0d87de9f852c00f726399c1fcf024a25ef0e950c07730e41469e3ab24e0b0aecbd8e11080
|
7
|
+
data.tar.gz: 53213c2cf7e48d1b77de06d3437f3cbb7dcaa0be779a1d02fc0f77709d75dac28026125a3270f508fc040bdcfb3838d0f19b9d043c36413d56cfe6f326540297
|
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.70
|
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.70.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.70.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.70'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1224,6 +1224,7 @@ Not every change is committed to every SDK.
|
|
1224
1224
|
|
1225
1225
|
| Version | Date | Comments |
|
1226
1226
|
| --: | :-: | --- |
|
1227
|
+
| 3.10.70 | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
|
1227
1228
|
| 3.10.69 | 11/21/2022 | conversation context method |
|
1228
1229
|
| 3.10.68 | 11/21/2022 | adjusted conversation event model |
|
1229
1230
|
| 3.10.67 | 11/15/2022 | conversation methods bug fix |
|
@@ -7,5 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**excluded_items** | **Array<String>** | A list of items which cannot be discounted. | [optional]
|
8
8
|
**items** | **Array<String>** | An list of items which will receive a discount. | [optional]
|
9
9
|
**limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional]
|
10
|
+
**minimum_cumulative_msrp** | **Float** | The (optional) minimum cumulative msrp of qualifying items. | [optional]
|
11
|
+
**minimum_subtotal** | **Float** | The (optional) minimum subtotal of qualifying items. | [optional]
|
10
12
|
|
11
13
|
|
@@ -26,13 +26,21 @@ module UltracartClient
|
|
26
26
|
# The (optional) maximum quantity of discounted items.
|
27
27
|
attr_accessor :limit
|
28
28
|
|
29
|
+
# The (optional) minimum cumulative msrp of qualifying items.
|
30
|
+
attr_accessor :minimum_cumulative_msrp
|
31
|
+
|
32
|
+
# The (optional) minimum subtotal of qualifying items.
|
33
|
+
attr_accessor :minimum_subtotal
|
34
|
+
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
32
38
|
:'discount_percent' => :'discount_percent',
|
33
39
|
:'excluded_items' => :'excluded_items',
|
34
40
|
:'items' => :'items',
|
35
|
-
:'limit' => :'limit'
|
41
|
+
:'limit' => :'limit',
|
42
|
+
:'minimum_cumulative_msrp' => :'minimum_cumulative_msrp',
|
43
|
+
:'minimum_subtotal' => :'minimum_subtotal'
|
36
44
|
}
|
37
45
|
end
|
38
46
|
|
@@ -42,7 +50,9 @@ module UltracartClient
|
|
42
50
|
:'discount_percent' => :'Float',
|
43
51
|
:'excluded_items' => :'Array<String>',
|
44
52
|
:'items' => :'Array<String>',
|
45
|
-
:'limit' => :'Integer'
|
53
|
+
:'limit' => :'Integer',
|
54
|
+
:'minimum_cumulative_msrp' => :'Float',
|
55
|
+
:'minimum_subtotal' => :'Float'
|
46
56
|
}
|
47
57
|
end
|
48
58
|
|
@@ -73,6 +83,14 @@ module UltracartClient
|
|
73
83
|
if attributes.has_key?(:'limit')
|
74
84
|
self.limit = attributes[:'limit']
|
75
85
|
end
|
86
|
+
|
87
|
+
if attributes.has_key?(:'minimum_cumulative_msrp')
|
88
|
+
self.minimum_cumulative_msrp = attributes[:'minimum_cumulative_msrp']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.has_key?(:'minimum_subtotal')
|
92
|
+
self.minimum_subtotal = attributes[:'minimum_subtotal']
|
93
|
+
end
|
76
94
|
end
|
77
95
|
|
78
96
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -96,7 +114,9 @@ module UltracartClient
|
|
96
114
|
discount_percent == o.discount_percent &&
|
97
115
|
excluded_items == o.excluded_items &&
|
98
116
|
items == o.items &&
|
99
|
-
limit == o.limit
|
117
|
+
limit == o.limit &&
|
118
|
+
minimum_cumulative_msrp == o.minimum_cumulative_msrp &&
|
119
|
+
minimum_subtotal == o.minimum_subtotal
|
100
120
|
end
|
101
121
|
|
102
122
|
# @see the `==` method
|
@@ -108,7 +128,7 @@ module UltracartClient
|
|
108
128
|
# Calculates hash code according to all attributes.
|
109
129
|
# @return [Fixnum] Hash code
|
110
130
|
def hash
|
111
|
-
[discount_percent, excluded_items, items, limit].hash
|
131
|
+
[discount_percent, excluded_items, items, limit, minimum_cumulative_msrp, minimum_subtotal].hash
|
112
132
|
end
|
113
133
|
|
114
134
|
# Builds the object from hash
|