ultracart_api 4.0.231 → 4.0.233
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/ItemShipping.md +2 -0
- data/lib/ultracart_api/models/item_shipping.rb +11 -1
- data/lib/ultracart_api/models/webhook.rb +2 -2
- 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: b7eda8f9a108d45d08d32ab57b4e01e3e6a6d3d9a0472cddd859c0fe10529cc9
|
4
|
+
data.tar.gz: 423faba5d6371d12c354748fee0392a5bef21a1c710ff6c129b8e85df5e76107
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d9578b8fd7d92f3fb576983df6a0d4ba3d8b5cade03340f69ca054f437aab2e22aef00b4e2f608509a3e63797ab0bea3bd158e576beee5a6fcc14d70171dc75
|
7
|
+
data.tar.gz: 212159a9dfff112ff55f5b58ce22bcfdd2c3c90e0eb725ac1e817c0e0fdf67cf057fc06f1a68391bb4686a35972486a4b5722ce2e70ea9005283354cddcbcc50
|
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.233
|
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.233.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.233.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.233'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1518,6 +1518,8 @@ Not every change is committed to every SDK.
|
|
1518
1518
|
|
1519
1519
|
| Version | Date | Comments |
|
1520
1520
|
| --: | :-: | --- |
|
1521
|
+
| 4.0.233 | 09/18/2024 | order payment constant for PayPal Fastlane |
|
1522
|
+
| 4.0.232 | 08/29/2024 | add hold_for_transmission to item shipping object |
|
1521
1523
|
| 4.0.231 | 08/08/2024 | added query_target to OrderApi.getOrdersBatch to allow cache usage |
|
1522
1524
|
| 4.0.230 | 06/24/2024 | conversation object cleanup |
|
1523
1525
|
| 4.0.229 | 06/14/2024 | pbx menu - add say voice property |
|
data/docs/ItemShipping.md
CHANGED
@@ -27,6 +27,7 @@
|
|
27
27
|
| **free_shipping** | **Boolean** | Qualifies for free shipping | [optional] |
|
28
28
|
| **freight_class** | **String** | Freight class | [optional] |
|
29
29
|
| **hazmat** | **Boolean** | Hazardous material | [optional] |
|
30
|
+
| **hold_for_transmission** | **Boolean** | Hold for transmission | [optional] |
|
30
31
|
| **made_to_order** | **Boolean** | True if this item is made to order | [optional] |
|
31
32
|
| **made_to_order_lead_time** | **Integer** | Number of days lead time it takes to make the item before ite can ship | [optional] |
|
32
33
|
| **max_days_time_in_transit** | **Integer** | Maximum days allowed in transit | [optional] |
|
@@ -82,6 +83,7 @@ instance = UltracartClient::ItemShipping.new(
|
|
82
83
|
free_shipping: null,
|
83
84
|
freight_class: null,
|
84
85
|
hazmat: null,
|
86
|
+
hold_for_transmission: null,
|
85
87
|
made_to_order: null,
|
86
88
|
made_to_order_lead_time: null,
|
87
89
|
max_days_time_in_transit: null,
|
@@ -84,6 +84,9 @@ module UltracartClient
|
|
84
84
|
# Hazardous material
|
85
85
|
attr_accessor :hazmat
|
86
86
|
|
87
|
+
# Hold for transmission
|
88
|
+
attr_accessor :hold_for_transmission
|
89
|
+
|
87
90
|
# True if this item is made to order
|
88
91
|
attr_accessor :made_to_order
|
89
92
|
|
@@ -181,6 +184,7 @@ module UltracartClient
|
|
181
184
|
:'free_shipping' => :'free_shipping',
|
182
185
|
:'freight_class' => :'freight_class',
|
183
186
|
:'hazmat' => :'hazmat',
|
187
|
+
:'hold_for_transmission' => :'hold_for_transmission',
|
184
188
|
:'made_to_order' => :'made_to_order',
|
185
189
|
:'made_to_order_lead_time' => :'made_to_order_lead_time',
|
186
190
|
:'max_days_time_in_transit' => :'max_days_time_in_transit',
|
@@ -240,6 +244,7 @@ module UltracartClient
|
|
240
244
|
:'free_shipping' => :'Boolean',
|
241
245
|
:'freight_class' => :'String',
|
242
246
|
:'hazmat' => :'Boolean',
|
247
|
+
:'hold_for_transmission' => :'Boolean',
|
243
248
|
:'made_to_order' => :'Boolean',
|
244
249
|
:'made_to_order_lead_time' => :'Integer',
|
245
250
|
:'max_days_time_in_transit' => :'Integer',
|
@@ -389,6 +394,10 @@ module UltracartClient
|
|
389
394
|
self.hazmat = attributes[:'hazmat']
|
390
395
|
end
|
391
396
|
|
397
|
+
if attributes.key?(:'hold_for_transmission')
|
398
|
+
self.hold_for_transmission = attributes[:'hold_for_transmission']
|
399
|
+
end
|
400
|
+
|
392
401
|
if attributes.key?(:'made_to_order')
|
393
402
|
self.made_to_order = attributes[:'made_to_order']
|
394
403
|
end
|
@@ -550,6 +559,7 @@ module UltracartClient
|
|
550
559
|
free_shipping == o.free_shipping &&
|
551
560
|
freight_class == o.freight_class &&
|
552
561
|
hazmat == o.hazmat &&
|
562
|
+
hold_for_transmission == o.hold_for_transmission &&
|
553
563
|
made_to_order == o.made_to_order &&
|
554
564
|
made_to_order_lead_time == o.made_to_order_lead_time &&
|
555
565
|
max_days_time_in_transit == o.max_days_time_in_transit &&
|
@@ -586,7 +596,7 @@ module UltracartClient
|
|
586
596
|
# Calculates hash code according to all attributes.
|
587
597
|
# @return [Integer] Hash code
|
588
598
|
def hash
|
589
|
-
[allow_back_order, amazon_fba, case_inner_packs, case_units, cases, collect_serial_numbers, country_code_of_origin, customs_description, customs_value, delivery_on_friday, delivery_on_monday, delivery_on_saturday, delivery_on_sunday, delivery_on_thursday, delivery_on_tuesday, delivery_on_wednesday, destination_markups, destination_restrictions, distribution_centers, eta, free_shipping, freight_class, hazmat, made_to_order, made_to_order_lead_time, max_days_time_in_transit, methods, no_shipping_discount, package_requirements, perishable_class_name, perishable_class_oid, preorder, require_delivery_date, restrict_shipment_on_friday, restrict_shipment_on_monday, restrict_shipment_on_saturday, restrict_shipment_on_sunday, restrict_shipment_on_thursday, restrict_shipment_on_tuesday, restrict_shipment_on_wednesday, ship_separately, ship_separately_additional_weight, ship_separately_height, ship_separately_length, ship_separately_package_special_type, ship_separately_width, special_product_type, track_inventory].hash
|
599
|
+
[allow_back_order, amazon_fba, case_inner_packs, case_units, cases, collect_serial_numbers, country_code_of_origin, customs_description, customs_value, delivery_on_friday, delivery_on_monday, delivery_on_saturday, delivery_on_sunday, delivery_on_thursday, delivery_on_tuesday, delivery_on_wednesday, destination_markups, destination_restrictions, distribution_centers, eta, free_shipping, freight_class, hazmat, hold_for_transmission, made_to_order, made_to_order_lead_time, max_days_time_in_transit, methods, no_shipping_discount, package_requirements, perishable_class_name, perishable_class_oid, preorder, require_delivery_date, restrict_shipment_on_friday, restrict_shipment_on_monday, restrict_shipment_on_saturday, restrict_shipment_on_sunday, restrict_shipment_on_thursday, restrict_shipment_on_tuesday, restrict_shipment_on_wednesday, ship_separately, ship_separately_additional_weight, ship_separately_height, ship_separately_length, ship_separately_package_special_type, ship_separately_width, special_product_type, track_inventory].hash
|
590
600
|
end
|
591
601
|
|
592
602
|
# Builds the object from hash
|
@@ -260,7 +260,7 @@ module UltracartClient
|
|
260
260
|
def valid?
|
261
261
|
api_version_validator = EnumAttributeValidator.new('String', ["2017-03-01"])
|
262
262
|
return false unless api_version_validator.valid?(@api_version)
|
263
|
-
authentication_type_validator = EnumAttributeValidator.new('String', ["none", "basic"])
|
263
|
+
authentication_type_validator = EnumAttributeValidator.new('String', ["none", "basic", "api user", "aws iam"])
|
264
264
|
return false unless authentication_type_validator.valid?(@authentication_type)
|
265
265
|
true
|
266
266
|
end
|
@@ -278,7 +278,7 @@ module UltracartClient
|
|
278
278
|
# Custom attribute writer method checking allowed values (enum).
|
279
279
|
# @param [Object] authentication_type Object to be assigned
|
280
280
|
def authentication_type=(authentication_type)
|
281
|
-
validator = EnumAttributeValidator.new('String', ["none", "basic"])
|
281
|
+
validator = EnumAttributeValidator.new('String', ["none", "basic", "api user", "aws iam"])
|
282
282
|
unless validator.valid?(authentication_type)
|
283
283
|
fail ArgumentError, "invalid value for \"authentication_type\", must be one of #{validator.allowable_values}."
|
284
284
|
end
|
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.233
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|