ultracart_api 3.10.166 → 3.10.167
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 +2 -0
- data/docs/OrderSummary.md +2 -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: 71c41cc4bb6719e44bd91a5d71e35b3544fa7152e3270ce96e23a104478fc49e
|
|
4
|
+
data.tar.gz: 875f76b8a3d38e8f4f2ca8362d8d9bd739aad6893e420e6b5494781ee1b386f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c3d4c9d30832f86fabbab764cd3616d47071f22545d9a448504de12183c97c78bf7178b2f99cc2c8ca43057dfc42d6807a07477f55d72059ff9d4c6eff358b5
|
|
7
|
+
data.tar.gz: 87489fc752aa6b6467476345d5c6dda2d0b2ad27622a7b04d9aac38aa7c68e4d0f2c97ee3f2d3d0845e0aa70b9ddf84fda8a26b1f3ffa1aabe0cd77fc563c0a5
|
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.167
|
|
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.167.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.167.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.167'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1388,6 +1388,7 @@ Not every change is committed to every SDK.
|
|
|
1388
1388
|
|
|
1389
1389
|
| Version | Date | Comments |
|
|
1390
1390
|
| --: | :-: | --- |
|
|
1391
|
+
| 3.10.167 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
|
|
1391
1392
|
| 3.10.166 | 10/27/2023 | workflow task object model refinement |
|
|
1392
1393
|
| 3.10.165 | 10/23/2023 | workflow tasks api |
|
|
1393
1394
|
| 3.10.164 | 10/23/2023 | workflow tasks api |
|
data/docs/CartSummary.md
CHANGED
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**arbitrary_tax** | [**Currency**](Currency.md) | | [optional]
|
|
8
8
|
**arbitrary_tax_rate** | [**Currency**](Currency.md) | | [optional]
|
|
9
9
|
**arbitrary_taxable_subtotal** | [**Currency**](Currency.md) | | [optional]
|
|
10
|
+
**health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional]
|
|
11
|
+
**internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional]
|
|
10
12
|
**shipping_handling** | [**Currency**](Currency.md) | | [optional]
|
|
11
13
|
**shipping_handling_discount** | [**Currency**](Currency.md) | | [optional]
|
|
12
14
|
**shipping_handling_with_discount** | [**Currency**](Currency.md) | | [optional]
|
data/docs/OrderSummary.md
CHANGED
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**actual_payment_processing** | [**Currency**](Currency.md) | | [optional]
|
|
8
8
|
**actual_shipping** | [**Currency**](Currency.md) | | [optional]
|
|
9
9
|
**arbitrary_shipping_handling_total** | [**Currency**](Currency.md) | | [optional]
|
|
10
|
+
**health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional]
|
|
11
|
+
**health_benefit_card_refunded** | [**Currency**](Currency.md) | | [optional]
|
|
10
12
|
**internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional]
|
|
11
13
|
**internal_gift_certificate_refunded** | [**Currency**](Currency.md) | | [optional]
|
|
12
14
|
**other_refunded** | [**Currency**](Currency.md) | | [optional]
|
|
@@ -22,6 +22,10 @@ module UltracartClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :arbitrary_taxable_subtotal
|
|
24
24
|
|
|
25
|
+
attr_accessor :health_benefit_card_amount
|
|
26
|
+
|
|
27
|
+
attr_accessor :internal_gift_certificate_amount
|
|
28
|
+
|
|
25
29
|
attr_accessor :shipping_handling
|
|
26
30
|
|
|
27
31
|
attr_accessor :shipping_handling_discount
|
|
@@ -53,6 +57,8 @@ module UltracartClient
|
|
|
53
57
|
:'arbitrary_tax' => :'arbitrary_tax',
|
|
54
58
|
:'arbitrary_tax_rate' => :'arbitrary_tax_rate',
|
|
55
59
|
:'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
|
|
60
|
+
:'health_benefit_card_amount' => :'health_benefit_card_amount',
|
|
61
|
+
:'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
|
|
56
62
|
:'shipping_handling' => :'shipping_handling',
|
|
57
63
|
:'shipping_handling_discount' => :'shipping_handling_discount',
|
|
58
64
|
:'shipping_handling_with_discount' => :'shipping_handling_with_discount',
|
|
@@ -75,6 +81,8 @@ module UltracartClient
|
|
|
75
81
|
:'arbitrary_tax' => :'Currency',
|
|
76
82
|
:'arbitrary_tax_rate' => :'Currency',
|
|
77
83
|
:'arbitrary_taxable_subtotal' => :'Currency',
|
|
84
|
+
:'health_benefit_card_amount' => :'Currency',
|
|
85
|
+
:'internal_gift_certificate_amount' => :'Currency',
|
|
78
86
|
:'shipping_handling' => :'Currency',
|
|
79
87
|
:'shipping_handling_discount' => :'Currency',
|
|
80
88
|
:'shipping_handling_with_discount' => :'Currency',
|
|
@@ -114,6 +122,14 @@ module UltracartClient
|
|
|
114
122
|
self.arbitrary_taxable_subtotal = attributes[:'arbitrary_taxable_subtotal']
|
|
115
123
|
end
|
|
116
124
|
|
|
125
|
+
if attributes.has_key?(:'health_benefit_card_amount')
|
|
126
|
+
self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.has_key?(:'internal_gift_certificate_amount')
|
|
130
|
+
self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
|
|
131
|
+
end
|
|
132
|
+
|
|
117
133
|
if attributes.has_key?(:'shipping_handling')
|
|
118
134
|
self.shipping_handling = attributes[:'shipping_handling']
|
|
119
135
|
end
|
|
@@ -185,6 +201,8 @@ module UltracartClient
|
|
|
185
201
|
arbitrary_tax == o.arbitrary_tax &&
|
|
186
202
|
arbitrary_tax_rate == o.arbitrary_tax_rate &&
|
|
187
203
|
arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
|
|
204
|
+
health_benefit_card_amount == o.health_benefit_card_amount &&
|
|
205
|
+
internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
|
|
188
206
|
shipping_handling == o.shipping_handling &&
|
|
189
207
|
shipping_handling_discount == o.shipping_handling_discount &&
|
|
190
208
|
shipping_handling_with_discount == o.shipping_handling_with_discount &&
|
|
@@ -208,7 +226,7 @@ module UltracartClient
|
|
|
208
226
|
# Calculates hash code according to all attributes.
|
|
209
227
|
# @return [Fixnum] Hash code
|
|
210
228
|
def hash
|
|
211
|
-
[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
|
|
229
|
+
[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
|
|
212
230
|
end
|
|
213
231
|
|
|
214
232
|
# Builds the object from hash
|
|
@@ -22,6 +22,10 @@ module UltracartClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :arbitrary_shipping_handling_total
|
|
24
24
|
|
|
25
|
+
attr_accessor :health_benefit_card_amount
|
|
26
|
+
|
|
27
|
+
attr_accessor :health_benefit_card_refunded
|
|
28
|
+
|
|
25
29
|
attr_accessor :internal_gift_certificate_amount
|
|
26
30
|
|
|
27
31
|
attr_accessor :internal_gift_certificate_refunded
|
|
@@ -61,6 +65,8 @@ module UltracartClient
|
|
|
61
65
|
:'actual_payment_processing' => :'actual_payment_processing',
|
|
62
66
|
:'actual_shipping' => :'actual_shipping',
|
|
63
67
|
:'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
|
|
68
|
+
:'health_benefit_card_amount' => :'health_benefit_card_amount',
|
|
69
|
+
:'health_benefit_card_refunded' => :'health_benefit_card_refunded',
|
|
64
70
|
:'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
|
|
65
71
|
:'internal_gift_certificate_refunded' => :'internal_gift_certificate_refunded',
|
|
66
72
|
:'other_refunded' => :'other_refunded',
|
|
@@ -87,6 +93,8 @@ module UltracartClient
|
|
|
87
93
|
:'actual_payment_processing' => :'Currency',
|
|
88
94
|
:'actual_shipping' => :'Currency',
|
|
89
95
|
:'arbitrary_shipping_handling_total' => :'Currency',
|
|
96
|
+
:'health_benefit_card_amount' => :'Currency',
|
|
97
|
+
:'health_benefit_card_refunded' => :'Currency',
|
|
90
98
|
:'internal_gift_certificate_amount' => :'Currency',
|
|
91
99
|
:'internal_gift_certificate_refunded' => :'Currency',
|
|
92
100
|
:'other_refunded' => :'Currency',
|
|
@@ -130,6 +138,14 @@ module UltracartClient
|
|
|
130
138
|
self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
|
|
131
139
|
end
|
|
132
140
|
|
|
141
|
+
if attributes.has_key?(:'health_benefit_card_amount')
|
|
142
|
+
self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.has_key?(:'health_benefit_card_refunded')
|
|
146
|
+
self.health_benefit_card_refunded = attributes[:'health_benefit_card_refunded']
|
|
147
|
+
end
|
|
148
|
+
|
|
133
149
|
if attributes.has_key?(:'internal_gift_certificate_amount')
|
|
134
150
|
self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
|
|
135
151
|
end
|
|
@@ -217,6 +233,8 @@ module UltracartClient
|
|
|
217
233
|
actual_payment_processing == o.actual_payment_processing &&
|
|
218
234
|
actual_shipping == o.actual_shipping &&
|
|
219
235
|
arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
|
|
236
|
+
health_benefit_card_amount == o.health_benefit_card_amount &&
|
|
237
|
+
health_benefit_card_refunded == o.health_benefit_card_refunded &&
|
|
220
238
|
internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
|
|
221
239
|
internal_gift_certificate_refunded == o.internal_gift_certificate_refunded &&
|
|
222
240
|
other_refunded == o.other_refunded &&
|
|
@@ -244,7 +262,7 @@ module UltracartClient
|
|
|
244
262
|
# Calculates hash code according to all attributes.
|
|
245
263
|
# @return [Fixnum] Hash code
|
|
246
264
|
def hash
|
|
247
|
-
[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
|
|
265
|
+
[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
|
|
248
266
|
end
|
|
249
267
|
|
|
250
268
|
# 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.10.
|
|
4
|
+
version: 3.10.167
|
|
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
|