ultracart_api 3.10.166 → 3.10.168
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 +6 -4
- data/docs/CartSummary.md +2 -0
- data/docs/Customer.md +1 -0
- data/docs/OrderSummary.md +2 -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: dcf0f4f8c6260012e42f089e56f4fed30aebd7c39a81e5cfd10625a978eeeedc
|
|
4
|
+
data.tar.gz: ee278567307cd8cd3899b877a8c881feb6a5e25f5a11cba6826c3da4b05ebd5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cf421aa0bd3402a1e95f87aa8ba0d0811f03f79b1458d266b0535e63b9d2b78549dd34b2ffe7020e1bb5e64c7717cf2c389a05ce55559e324f0fc04c8840d8e
|
|
7
|
+
data.tar.gz: fce57e7b1b7f2be12f24413c35cbeedf00b6482a42a5615e10df12fd3cd8f55eec3b6eda257e5faa58e6478bf16167f9e80fb2a5654ca9c9e8b7a73918cc6638
|
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.168
|
|
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.168.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.168.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.168'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1388,6 +1388,8 @@ Not every change is committed to every SDK.
|
|
|
1388
1388
|
|
|
1389
1389
|
| Version | Date | Comments |
|
|
1390
1390
|
| --: | :-: | --- |
|
|
1391
|
+
| 3.10.168 | 11/01/2023 | customer - do_no_send_mail flag added |
|
|
1392
|
+
| 3.10.167 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
|
|
1391
1393
|
| 3.10.166 | 10/27/2023 | workflow task object model refinement |
|
|
1392
1394
|
| 3.10.165 | 10/23/2023 | workflow tasks api |
|
|
1393
1395
|
| 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/Customer.md
CHANGED
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**customer_profile_oid** | **Integer** | Customer profile object identifier | [optional]
|
|
23
23
|
**dhl_account_number** | **String** | DHL account number | [optional]
|
|
24
24
|
**dhl_duty_account_number** | **String** | DHL duty account number | [optional]
|
|
25
|
+
**do_not_send_mail** | **BOOLEAN** | Do not send mail (null will not update) | [optional]
|
|
25
26
|
**edi** | [**CustomerEDI**](CustomerEDI.md) | | [optional]
|
|
26
27
|
**email** | **String** | Email address of this customer profile | [optional]
|
|
27
28
|
**exempt_shipping_handling_charge** | **BOOLEAN** | Exempt shipping handling charge | [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
|
|
@@ -70,6 +70,9 @@ module UltracartClient
|
|
|
70
70
|
# DHL duty account number
|
|
71
71
|
attr_accessor :dhl_duty_account_number
|
|
72
72
|
|
|
73
|
+
# Do not send mail (null will not update)
|
|
74
|
+
attr_accessor :do_not_send_mail
|
|
75
|
+
|
|
73
76
|
attr_accessor :edi
|
|
74
77
|
|
|
75
78
|
# Email address of this customer profile
|
|
@@ -217,6 +220,7 @@ module UltracartClient
|
|
|
217
220
|
:'customer_profile_oid' => :'customer_profile_oid',
|
|
218
221
|
:'dhl_account_number' => :'dhl_account_number',
|
|
219
222
|
:'dhl_duty_account_number' => :'dhl_duty_account_number',
|
|
223
|
+
:'do_not_send_mail' => :'do_not_send_mail',
|
|
220
224
|
:'edi' => :'edi',
|
|
221
225
|
:'email' => :'email',
|
|
222
226
|
:'exempt_shipping_handling_charge' => :'exempt_shipping_handling_charge',
|
|
@@ -286,6 +290,7 @@ module UltracartClient
|
|
|
286
290
|
:'customer_profile_oid' => :'Integer',
|
|
287
291
|
:'dhl_account_number' => :'String',
|
|
288
292
|
:'dhl_duty_account_number' => :'String',
|
|
293
|
+
:'do_not_send_mail' => :'BOOLEAN',
|
|
289
294
|
:'edi' => :'CustomerEDI',
|
|
290
295
|
:'email' => :'String',
|
|
291
296
|
:'exempt_shipping_handling_charge' => :'BOOLEAN',
|
|
@@ -425,6 +430,10 @@ module UltracartClient
|
|
|
425
430
|
self.dhl_duty_account_number = attributes[:'dhl_duty_account_number']
|
|
426
431
|
end
|
|
427
432
|
|
|
433
|
+
if attributes.has_key?(:'do_not_send_mail')
|
|
434
|
+
self.do_not_send_mail = attributes[:'do_not_send_mail']
|
|
435
|
+
end
|
|
436
|
+
|
|
428
437
|
if attributes.has_key?(:'edi')
|
|
429
438
|
self.edi = attributes[:'edi']
|
|
430
439
|
end
|
|
@@ -818,6 +827,7 @@ module UltracartClient
|
|
|
818
827
|
customer_profile_oid == o.customer_profile_oid &&
|
|
819
828
|
dhl_account_number == o.dhl_account_number &&
|
|
820
829
|
dhl_duty_account_number == o.dhl_duty_account_number &&
|
|
830
|
+
do_not_send_mail == o.do_not_send_mail &&
|
|
821
831
|
edi == o.edi &&
|
|
822
832
|
email == o.email &&
|
|
823
833
|
exempt_shipping_handling_charge == o.exempt_shipping_handling_charge &&
|
|
@@ -873,7 +883,7 @@ module UltracartClient
|
|
|
873
883
|
# Calculates hash code according to all attributes.
|
|
874
884
|
# @return [Fixnum] Hash code
|
|
875
885
|
def hash
|
|
876
|
-
[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
|
|
886
|
+
[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
|
|
877
887
|
end
|
|
878
888
|
|
|
879
889
|
# 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.168
|
|
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
|