ultracart_api 4.0.183 → 4.0.185
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/CartSummary.md +4 -0
- data/docs/Customer.md +2 -0
- data/docs/OrderSummary.md +4 -0
- data/lib/ultracart_api/models/cart_summary.rb +19 -1
- data/lib/ultracart_api/models/customer.rb +11 -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: 6d811cb326b081165dbd35f237bb17c71d029289a85346f9646188bda9920b88
|
4
|
+
data.tar.gz: 138f7c5cdf8039b0079344c84d2202cba878b9edf7a8791ed997986d903a1aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3d6f4b9b1732bd94d6c35e09a35f354f65555c0f333715d7ea90177d4c0974c424c424b474fbdbeea1ede08315b839170dbc4ddf47c20a052a49e32560d213f
|
7
|
+
data.tar.gz: 0c41846ad234cbafffee695bc968f7809aa21d88bb3d15a3662b4c50912d895e71556a800ce51f06075ed06ae6b629d3d0a860aa739646f523743310a5a61d50
|
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.185
|
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.185.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.185.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.185'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1396,6 +1396,8 @@ Not every change is committed to every SDK.
|
|
1396
1396
|
|
1397
1397
|
| Version | Date | Comments |
|
1398
1398
|
| --: | :-: | --- |
|
1399
|
+
| 4.0.185 | 11/01/2023 | customer - do_no_send_mail flag added |
|
1400
|
+
| 4.0.184 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
|
1399
1401
|
| 4.0.183 | 10/27/2023 | workflow task object model refinement |
|
1400
1402
|
| 4.0.182 | 10/23/2023 | workflow tasks api |
|
1401
1403
|
| 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/Customer.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
| **customer_profile_oid** | **Integer** | Customer profile object identifier | [optional] |
|
24
24
|
| **dhl_account_number** | **String** | DHL account number | [optional] |
|
25
25
|
| **dhl_duty_account_number** | **String** | DHL duty account number | [optional] |
|
26
|
+
| **do_not_send_mail** | **Boolean** | Do not send mail (null will not update) | [optional] |
|
26
27
|
| **edi** | [**CustomerEDI**](CustomerEDI.md) | | [optional] |
|
27
28
|
| **email** | **String** | Email address of this customer profile | [optional] |
|
28
29
|
| **exempt_shipping_handling_charge** | **Boolean** | Exempt shipping handling charge | [optional] |
|
@@ -93,6 +94,7 @@ instance = UltracartClient::Customer.new(
|
|
93
94
|
customer_profile_oid: null,
|
94
95
|
dhl_account_number: null,
|
95
96
|
dhl_duty_account_number: null,
|
97
|
+
do_not_send_mail: null,
|
96
98
|
edi: null,
|
97
99
|
email: null,
|
98
100
|
exempt_shipping_handling_charge: 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
|
@@ -71,6 +71,9 @@ module UltracartClient
|
|
71
71
|
# DHL duty account number
|
72
72
|
attr_accessor :dhl_duty_account_number
|
73
73
|
|
74
|
+
# Do not send mail (null will not update)
|
75
|
+
attr_accessor :do_not_send_mail
|
76
|
+
|
74
77
|
attr_accessor :edi
|
75
78
|
|
76
79
|
# Email address of this customer profile
|
@@ -218,6 +221,7 @@ module UltracartClient
|
|
218
221
|
:'customer_profile_oid' => :'customer_profile_oid',
|
219
222
|
:'dhl_account_number' => :'dhl_account_number',
|
220
223
|
:'dhl_duty_account_number' => :'dhl_duty_account_number',
|
224
|
+
:'do_not_send_mail' => :'do_not_send_mail',
|
221
225
|
:'edi' => :'edi',
|
222
226
|
:'email' => :'email',
|
223
227
|
:'exempt_shipping_handling_charge' => :'exempt_shipping_handling_charge',
|
@@ -292,6 +296,7 @@ module UltracartClient
|
|
292
296
|
:'customer_profile_oid' => :'Integer',
|
293
297
|
:'dhl_account_number' => :'String',
|
294
298
|
:'dhl_duty_account_number' => :'String',
|
299
|
+
:'do_not_send_mail' => :'Boolean',
|
295
300
|
:'edi' => :'CustomerEDI',
|
296
301
|
:'email' => :'String',
|
297
302
|
:'exempt_shipping_handling_charge' => :'Boolean',
|
@@ -444,6 +449,10 @@ module UltracartClient
|
|
444
449
|
self.dhl_duty_account_number = attributes[:'dhl_duty_account_number']
|
445
450
|
end
|
446
451
|
|
452
|
+
if attributes.key?(:'do_not_send_mail')
|
453
|
+
self.do_not_send_mail = attributes[:'do_not_send_mail']
|
454
|
+
end
|
455
|
+
|
447
456
|
if attributes.key?(:'edi')
|
448
457
|
self.edi = attributes[:'edi']
|
449
458
|
end
|
@@ -837,6 +846,7 @@ module UltracartClient
|
|
837
846
|
customer_profile_oid == o.customer_profile_oid &&
|
838
847
|
dhl_account_number == o.dhl_account_number &&
|
839
848
|
dhl_duty_account_number == o.dhl_duty_account_number &&
|
849
|
+
do_not_send_mail == o.do_not_send_mail &&
|
840
850
|
edi == o.edi &&
|
841
851
|
email == o.email &&
|
842
852
|
exempt_shipping_handling_charge == o.exempt_shipping_handling_charge &&
|
@@ -892,7 +902,7 @@ module UltracartClient
|
|
892
902
|
# Calculates hash code according to all attributes.
|
893
903
|
# @return [Integer] Hash code
|
894
904
|
def hash
|
895
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, edi, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
905
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, do_not_send_mail, edi, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
896
906
|
end
|
897
907
|
|
898
908
|
# 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.185
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|