ultracart_api 4.1.85 → 4.1.86
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87093ad6bef3385e3591780b4b9ef0e7e0f8eab61e072589d3f63580b0d33e31
|
|
4
|
+
data.tar.gz: 9ca4f31ff6a36fdb271e81fac3ea21b59a08708900ea85fbce12132aa81b4e55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00d80e10c6c9822d2eb258459e705aa21c34621a4ef50f5bc706593a9bb4279d7730605b3f7e233df6c84f4f58377cc0964210af61585a3ac814ec2bdc6acf13
|
|
7
|
+
data.tar.gz: 35331067008eeca96c36462bcb1b4dc5878975fb9c6f464dd07a7e1ffbfabe9561cdc5dd319eb0f3a7c7a004f24b3b2df45fe714f9c7e183f63ee27fd37a1989
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.86
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.86'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1735,6 +1735,7 @@ Not every change is committed to every SDK.
|
|
|
1735
1735
|
|
|
1736
1736
|
| Version | Date | Comments |
|
|
1737
1737
|
| --: | :-: | --- |
|
|
1738
|
+
| 4.1.86 | 05/07/2026 | rest auto order api - additional item cancel request parameter for no orders after dts |
|
|
1738
1739
|
| 4.1.85 | 05/05/2026 | improved warning object for customer insertCustomer and updateCustomer |
|
|
1739
1740
|
| 4.1.84 | 05/04/2026 | Order API - add hold stage to allowed values on order query request |
|
|
1740
1741
|
| 4.1.83 | 04/29/2026 | AO support for item appending on cancel request, order payment method test routing on hold release |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **append_items** | [**Array<AutoOrderItem>**](AutoOrderItem.md) | Specifying these items allows for an easier immutable item contact. Validation will occur before any operations take place. After the end/remove operation is successful, append these additional item(s) to the auto order. The changes will be available in the response if the expansion includes items. | [optional] |
|
|
8
8
|
| **auto_order_item_oid** | **Integer** | Optional tiebreaker when more than one item on the auto order shares the same original_item_id. When present, the item with this oid is targeted and its original_item_id must match the URL path parameter (safety check). Leave unset for the common case of a unique original_item_id. For reference the order_item.item_reference_oid is the same value as auto_order_item.auto_order_item_oid UNLESS the a manual edit took place AFTER the original order was placed. | [optional] |
|
|
9
9
|
| **mode** | **String** | Cancellation mode. 'end' soft-cancels the item by setting no_order_after_dts to the current time, preserving the row for reporting. 'remove' hard-deletes the item from the auto order. Defaults to 'end' (the less destructive option) when omitted. | [optional] |
|
|
10
|
+
| **no_orders_after_dts** | **String** | Date/time that will be used in an END mode (optional) | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'ultracart_api'
|
|
|
16
17
|
instance = UltracartClient::AutoOrderItemCancelRequest.new(
|
|
17
18
|
append_items: null,
|
|
18
19
|
auto_order_item_oid: null,
|
|
19
|
-
mode: null
|
|
20
|
+
mode: null,
|
|
21
|
+
no_orders_after_dts: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
|
24
24
|
# Cancellation mode. 'end' soft-cancels the item by setting no_order_after_dts to the current time, preserving the row for reporting. 'remove' hard-deletes the item from the auto order. Defaults to 'end' (the less destructive option) when omitted.
|
|
25
25
|
attr_accessor :mode
|
|
26
26
|
|
|
27
|
+
# Date/time that will be used in an END mode (optional)
|
|
28
|
+
attr_accessor :no_orders_after_dts
|
|
29
|
+
|
|
27
30
|
class EnumAttributeValidator
|
|
28
31
|
attr_reader :datatype
|
|
29
32
|
attr_reader :allowable_values
|
|
@@ -51,7 +54,8 @@ module UltracartClient
|
|
|
51
54
|
{
|
|
52
55
|
:'append_items' => :'append_items',
|
|
53
56
|
:'auto_order_item_oid' => :'auto_order_item_oid',
|
|
54
|
-
:'mode' => :'mode'
|
|
57
|
+
:'mode' => :'mode',
|
|
58
|
+
:'no_orders_after_dts' => :'no_orders_after_dts'
|
|
55
59
|
}
|
|
56
60
|
end
|
|
57
61
|
|
|
@@ -65,7 +69,8 @@ module UltracartClient
|
|
|
65
69
|
{
|
|
66
70
|
:'append_items' => :'Array<AutoOrderItem>',
|
|
67
71
|
:'auto_order_item_oid' => :'Integer',
|
|
68
|
-
:'mode' => :'String'
|
|
72
|
+
:'mode' => :'String',
|
|
73
|
+
:'no_orders_after_dts' => :'String'
|
|
69
74
|
}
|
|
70
75
|
end
|
|
71
76
|
|
|
@@ -103,6 +108,10 @@ module UltracartClient
|
|
|
103
108
|
if attributes.key?(:'mode')
|
|
104
109
|
self.mode = attributes[:'mode']
|
|
105
110
|
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'no_orders_after_dts')
|
|
113
|
+
self.no_orders_after_dts = attributes[:'no_orders_after_dts']
|
|
114
|
+
end
|
|
106
115
|
end
|
|
107
116
|
|
|
108
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -137,7 +146,8 @@ module UltracartClient
|
|
|
137
146
|
self.class == o.class &&
|
|
138
147
|
append_items == o.append_items &&
|
|
139
148
|
auto_order_item_oid == o.auto_order_item_oid &&
|
|
140
|
-
mode == o.mode
|
|
149
|
+
mode == o.mode &&
|
|
150
|
+
no_orders_after_dts == o.no_orders_after_dts
|
|
141
151
|
end
|
|
142
152
|
|
|
143
153
|
# @see the `==` method
|
|
@@ -149,7 +159,7 @@ module UltracartClient
|
|
|
149
159
|
# Calculates hash code according to all attributes.
|
|
150
160
|
# @return [Integer] Hash code
|
|
151
161
|
def hash
|
|
152
|
-
[append_items, auto_order_item_oid, mode].hash
|
|
162
|
+
[append_items, auto_order_item_oid, mode, no_orders_after_dts].hash
|
|
153
163
|
end
|
|
154
164
|
|
|
155
165
|
# 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.1.
|
|
4
|
+
version: 4.1.86
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|