ultracart_api 4.0.183 → 4.0.184
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/CartSummary.md +4 -0
- data/docs/OrderSummary.md +4 -0
- data/lib/ultracart_api/models/cart_summary.rb +19 -1
- data/lib/ultracart_api/models/order_summary.rb +19 -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: 052ad9d9cee17fccd10a7fba076cdd7ef56024c9d847f64ea0f45dcb477c2a70
|
|
4
|
+
data.tar.gz: 5911ebd9104907f0dcbea4a13a0aad03c47e78c363bde78cae3880bf0685e552
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84c6e58b8ca01e538e5613e5d53cf6177aeebeff311379916535dfd284d242f028fe62ecaf3eaad6e7bf97dce4c55a53980d3ca549cac3660103de9b7f72bec0
|
|
7
|
+
data.tar.gz: 12b1559767e9f06962a7047ea5cb93150a1abf73d47963b8771462876598645f2788f5a6e8300a32ffc39acde4b988bfd88b8c660ec9f97dfa00a2dca266ae0d
|
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.184
|
|
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.184.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.184.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.184'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1396,6 +1396,7 @@ Not every change is committed to every SDK.
|
|
|
1396
1396
|
|
|
1397
1397
|
| Version | Date | Comments |
|
|
1398
1398
|
| --: | :-: | --- |
|
|
1399
|
+
| 4.0.184 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
|
|
1399
1400
|
| 4.0.183 | 10/27/2023 | workflow task object model refinement |
|
|
1400
1401
|
| 4.0.182 | 10/23/2023 | workflow tasks api |
|
|
1401
1402
|
| 4.0.181 | 10/23/2023 | workflow tasks api |
|
data/docs/CartSummary.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
| **arbitrary_tax** | [**Currency**](Currency.md) | | [optional] |
|
|
9
9
|
| **arbitrary_tax_rate** | [**Currency**](Currency.md) | | [optional] |
|
|
10
10
|
| **arbitrary_taxable_subtotal** | [**Currency**](Currency.md) | | [optional] |
|
|
11
|
+
| **health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional] |
|
|
12
|
+
| **internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional] |
|
|
11
13
|
| **shipping_handling** | [**Currency**](Currency.md) | | [optional] |
|
|
12
14
|
| **shipping_handling_discount** | [**Currency**](Currency.md) | | [optional] |
|
|
13
15
|
| **shipping_handling_with_discount** | [**Currency**](Currency.md) | | [optional] |
|
|
@@ -31,6 +33,8 @@ instance = UltracartClient::CartSummary.new(
|
|
|
31
33
|
arbitrary_tax: null,
|
|
32
34
|
arbitrary_tax_rate: null,
|
|
33
35
|
arbitrary_taxable_subtotal: null,
|
|
36
|
+
health_benefit_card_amount: null,
|
|
37
|
+
internal_gift_certificate_amount: null,
|
|
34
38
|
shipping_handling: null,
|
|
35
39
|
shipping_handling_discount: null,
|
|
36
40
|
shipping_handling_with_discount: null,
|
data/docs/OrderSummary.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
| **actual_payment_processing** | [**Currency**](Currency.md) | | [optional] |
|
|
9
9
|
| **actual_shipping** | [**Currency**](Currency.md) | | [optional] |
|
|
10
10
|
| **arbitrary_shipping_handling_total** | [**Currency**](Currency.md) | | [optional] |
|
|
11
|
+
| **health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional] |
|
|
12
|
+
| **health_benefit_card_refunded** | [**Currency**](Currency.md) | | [optional] |
|
|
11
13
|
| **internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional] |
|
|
12
14
|
| **internal_gift_certificate_refunded** | [**Currency**](Currency.md) | | [optional] |
|
|
13
15
|
| **other_refunded** | [**Currency**](Currency.md) | | [optional] |
|
|
@@ -35,6 +37,8 @@ instance = UltracartClient::OrderSummary.new(
|
|
|
35
37
|
actual_payment_processing: null,
|
|
36
38
|
actual_shipping: null,
|
|
37
39
|
arbitrary_shipping_handling_total: null,
|
|
40
|
+
health_benefit_card_amount: null,
|
|
41
|
+
health_benefit_card_refunded: null,
|
|
38
42
|
internal_gift_certificate_amount: null,
|
|
39
43
|
internal_gift_certificate_refunded: null,
|
|
40
44
|
other_refunded: null,
|
|
@@ -23,6 +23,10 @@ module UltracartClient
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :arbitrary_taxable_subtotal
|
|
25
25
|
|
|
26
|
+
attr_accessor :health_benefit_card_amount
|
|
27
|
+
|
|
28
|
+
attr_accessor :internal_gift_certificate_amount
|
|
29
|
+
|
|
26
30
|
attr_accessor :shipping_handling
|
|
27
31
|
|
|
28
32
|
attr_accessor :shipping_handling_discount
|
|
@@ -54,6 +58,8 @@ module UltracartClient
|
|
|
54
58
|
:'arbitrary_tax' => :'arbitrary_tax',
|
|
55
59
|
:'arbitrary_tax_rate' => :'arbitrary_tax_rate',
|
|
56
60
|
:'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
|
|
61
|
+
:'health_benefit_card_amount' => :'health_benefit_card_amount',
|
|
62
|
+
:'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
|
|
57
63
|
:'shipping_handling' => :'shipping_handling',
|
|
58
64
|
:'shipping_handling_discount' => :'shipping_handling_discount',
|
|
59
65
|
:'shipping_handling_with_discount' => :'shipping_handling_with_discount',
|
|
@@ -81,6 +87,8 @@ module UltracartClient
|
|
|
81
87
|
:'arbitrary_tax' => :'Currency',
|
|
82
88
|
:'arbitrary_tax_rate' => :'Currency',
|
|
83
89
|
:'arbitrary_taxable_subtotal' => :'Currency',
|
|
90
|
+
:'health_benefit_card_amount' => :'Currency',
|
|
91
|
+
:'internal_gift_certificate_amount' => :'Currency',
|
|
84
92
|
:'shipping_handling' => :'Currency',
|
|
85
93
|
:'shipping_handling_discount' => :'Currency',
|
|
86
94
|
:'shipping_handling_with_discount' => :'Currency',
|
|
@@ -133,6 +141,14 @@ module UltracartClient
|
|
|
133
141
|
self.arbitrary_taxable_subtotal = attributes[:'arbitrary_taxable_subtotal']
|
|
134
142
|
end
|
|
135
143
|
|
|
144
|
+
if attributes.key?(:'health_benefit_card_amount')
|
|
145
|
+
self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'internal_gift_certificate_amount')
|
|
149
|
+
self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
|
|
150
|
+
end
|
|
151
|
+
|
|
136
152
|
if attributes.key?(:'shipping_handling')
|
|
137
153
|
self.shipping_handling = attributes[:'shipping_handling']
|
|
138
154
|
end
|
|
@@ -204,6 +220,8 @@ module UltracartClient
|
|
|
204
220
|
arbitrary_tax == o.arbitrary_tax &&
|
|
205
221
|
arbitrary_tax_rate == o.arbitrary_tax_rate &&
|
|
206
222
|
arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
|
|
223
|
+
health_benefit_card_amount == o.health_benefit_card_amount &&
|
|
224
|
+
internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
|
|
207
225
|
shipping_handling == o.shipping_handling &&
|
|
208
226
|
shipping_handling_discount == o.shipping_handling_discount &&
|
|
209
227
|
shipping_handling_with_discount == o.shipping_handling_with_discount &&
|
|
@@ -227,7 +245,7 @@ module UltracartClient
|
|
|
227
245
|
# Calculates hash code according to all attributes.
|
|
228
246
|
# @return [Integer] Hash code
|
|
229
247
|
def hash
|
|
230
|
-
[arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, shipping_handling, shipping_handling_discount, shipping_handling_with_discount, subtotal, subtotal_discount, subtotal_with_discount, surcharge, tax, taxable_subtotal, taxable_subtotal_discount, taxable_subtotal_with_discount, total].hash
|
|
248
|
+
[arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, health_benefit_card_amount, internal_gift_certificate_amount, shipping_handling, shipping_handling_discount, shipping_handling_with_discount, subtotal, subtotal_discount, subtotal_with_discount, surcharge, tax, taxable_subtotal, taxable_subtotal_discount, taxable_subtotal_with_discount, total].hash
|
|
231
249
|
end
|
|
232
250
|
|
|
233
251
|
# Builds the object from hash
|
|
@@ -23,6 +23,10 @@ module UltracartClient
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :arbitrary_shipping_handling_total
|
|
25
25
|
|
|
26
|
+
attr_accessor :health_benefit_card_amount
|
|
27
|
+
|
|
28
|
+
attr_accessor :health_benefit_card_refunded
|
|
29
|
+
|
|
26
30
|
attr_accessor :internal_gift_certificate_amount
|
|
27
31
|
|
|
28
32
|
attr_accessor :internal_gift_certificate_refunded
|
|
@@ -62,6 +66,8 @@ module UltracartClient
|
|
|
62
66
|
:'actual_payment_processing' => :'actual_payment_processing',
|
|
63
67
|
:'actual_shipping' => :'actual_shipping',
|
|
64
68
|
:'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
|
|
69
|
+
:'health_benefit_card_amount' => :'health_benefit_card_amount',
|
|
70
|
+
:'health_benefit_card_refunded' => :'health_benefit_card_refunded',
|
|
65
71
|
:'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
|
|
66
72
|
:'internal_gift_certificate_refunded' => :'internal_gift_certificate_refunded',
|
|
67
73
|
:'other_refunded' => :'other_refunded',
|
|
@@ -93,6 +99,8 @@ module UltracartClient
|
|
|
93
99
|
:'actual_payment_processing' => :'Currency',
|
|
94
100
|
:'actual_shipping' => :'Currency',
|
|
95
101
|
:'arbitrary_shipping_handling_total' => :'Currency',
|
|
102
|
+
:'health_benefit_card_amount' => :'Currency',
|
|
103
|
+
:'health_benefit_card_refunded' => :'Currency',
|
|
96
104
|
:'internal_gift_certificate_amount' => :'Currency',
|
|
97
105
|
:'internal_gift_certificate_refunded' => :'Currency',
|
|
98
106
|
:'other_refunded' => :'Currency',
|
|
@@ -149,6 +157,14 @@ module UltracartClient
|
|
|
149
157
|
self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
|
|
150
158
|
end
|
|
151
159
|
|
|
160
|
+
if attributes.key?(:'health_benefit_card_amount')
|
|
161
|
+
self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if attributes.key?(:'health_benefit_card_refunded')
|
|
165
|
+
self.health_benefit_card_refunded = attributes[:'health_benefit_card_refunded']
|
|
166
|
+
end
|
|
167
|
+
|
|
152
168
|
if attributes.key?(:'internal_gift_certificate_amount')
|
|
153
169
|
self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
|
|
154
170
|
end
|
|
@@ -236,6 +252,8 @@ module UltracartClient
|
|
|
236
252
|
actual_payment_processing == o.actual_payment_processing &&
|
|
237
253
|
actual_shipping == o.actual_shipping &&
|
|
238
254
|
arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
|
|
255
|
+
health_benefit_card_amount == o.health_benefit_card_amount &&
|
|
256
|
+
health_benefit_card_refunded == o.health_benefit_card_refunded &&
|
|
239
257
|
internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
|
|
240
258
|
internal_gift_certificate_refunded == o.internal_gift_certificate_refunded &&
|
|
241
259
|
other_refunded == o.other_refunded &&
|
|
@@ -263,7 +281,7 @@ module UltracartClient
|
|
|
263
281
|
# Calculates hash code according to all attributes.
|
|
264
282
|
# @return [Integer] Hash code
|
|
265
283
|
def hash
|
|
266
|
-
[actual_fulfillment, actual_payment_processing, actual_shipping, arbitrary_shipping_handling_total, internal_gift_certificate_amount, internal_gift_certificate_refunded, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
|
|
284
|
+
[actual_fulfillment, actual_payment_processing, actual_shipping, arbitrary_shipping_handling_total, health_benefit_card_amount, health_benefit_card_refunded, internal_gift_certificate_amount, internal_gift_certificate_refunded, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
|
|
267
285
|
end
|
|
268
286
|
|
|
269
287
|
# 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.184
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-10-
|
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|