ultracart_api 3.10.122 → 3.10.124
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: deac586f8344990d9eb4363d9bbf7400a1e259f8a13a52bcdf34279a14085cbd
|
|
4
|
+
data.tar.gz: fd130300e4857d26b4ef6d26ab78da0cc55b09d99c0917db7ff9df604f764455
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d326d1cb418e1896eb3b42204c2eb935f85f00a44cb7791cbd0091634313e7ce9d171b08fde8489e5e927959470b50a06e5f60b477b28d553d10ddc18eba418a
|
|
7
|
+
data.tar.gz: 1777f4bc95307e710cb1fedcd09c1a659bd03a29292733393af856fc600762e234bf7d3d69c65b6d0b244ecef6e85b20c48a4933583f916d2dbff61408994bee
|
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.124
|
|
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.124.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.124.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.124'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1307,6 +1307,8 @@ Not every change is committed to every SDK.
|
|
|
1307
1307
|
|
|
1308
1308
|
| Version | Date | Comments |
|
|
1309
1309
|
| --: | :-: | --- |
|
|
1310
|
+
| 3.10.124 | 03/22/2023 | order api - refundable response added manual_because_multiple_charges boolean field |
|
|
1311
|
+
| 3.10.123 | 03/21/2023 | order api - new stage named Hold |
|
|
1310
1312
|
| 3.10.122 | 03/14/2023 | order.getOrderEdiDocuments |
|
|
1311
1313
|
| 3.10.121 | 03/01/2023 | convo - add sentiment record to conversation obj |
|
|
1312
1314
|
| 3.10.120 | 02/22/2023 | convo - customer initiated flag on engagement |
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**item_level_refund_reason_required** | **BOOLEAN** | True if the item level refund reason is required | [optional]
|
|
8
8
|
**item_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the item level. | [optional]
|
|
9
9
|
**item_level_return_reasons** | [**Array<OrderReason>**](OrderReason.md) | Return codes available at the item level. | [optional]
|
|
10
|
+
**manual_because_multiple_charges** | **BOOLEAN** | If true, this refund will have to be manually done because of additional charges with the virtual terminal were made | [optional]
|
|
10
11
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
|
11
12
|
**order_level_refund_reason_required** | **BOOLEAN** | True if the order level refund reason is required | [optional]
|
|
12
13
|
**order_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the order level. | [optional]
|
|
@@ -409,7 +409,7 @@ module UltracartClient
|
|
|
409
409
|
# @return true if the model is valid
|
|
410
410
|
def valid?
|
|
411
411
|
return false if !@currency_code.nil? && @currency_code.to_s.length > 3
|
|
412
|
-
current_stage_validator = EnumAttributeValidator.new('String', ['Accounts Receivable', 'Pending Clearance', 'Fraud Review', 'Rejected', 'Shipping Department', 'Completed Order', 'Quote Request', 'Quote Sent', 'Least Cost Routing', 'Unknown', 'Pre-ordered', 'Advanced Order Routing'])
|
|
412
|
+
current_stage_validator = EnumAttributeValidator.new('String', ['Accounts Receivable', 'Pending Clearance', 'Fraud Review', 'Rejected', 'Shipping Department', 'Completed Order', 'Quote Request', 'Quote Sent', 'Least Cost Routing', 'Unknown', 'Pre-ordered', 'Advanced Order Routing', 'Hold'])
|
|
413
413
|
return false unless current_stage_validator.valid?(@current_stage)
|
|
414
414
|
return false if !@language_iso_code.nil? && @language_iso_code.to_s.length > 3
|
|
415
415
|
true
|
|
@@ -428,7 +428,7 @@ module UltracartClient
|
|
|
428
428
|
# Custom attribute writer method checking allowed values (enum).
|
|
429
429
|
# @param [Object] current_stage Object to be assigned
|
|
430
430
|
def current_stage=(current_stage)
|
|
431
|
-
validator = EnumAttributeValidator.new('String', ['Accounts Receivable', 'Pending Clearance', 'Fraud Review', 'Rejected', 'Shipping Department', 'Completed Order', 'Quote Request', 'Quote Sent', 'Least Cost Routing', 'Unknown', 'Pre-ordered', 'Advanced Order Routing'])
|
|
431
|
+
validator = EnumAttributeValidator.new('String', ['Accounts Receivable', 'Pending Clearance', 'Fraud Review', 'Rejected', 'Shipping Department', 'Completed Order', 'Quote Request', 'Quote Sent', 'Least Cost Routing', 'Unknown', 'Pre-ordered', 'Advanced Order Routing', 'Hold'])
|
|
432
432
|
unless validator.valid?(current_stage)
|
|
433
433
|
fail ArgumentError, 'invalid value for "current_stage", must be one of #{validator.allowable_values}.'
|
|
434
434
|
end
|
|
@@ -25,6 +25,9 @@ module UltracartClient
|
|
|
25
25
|
# Return codes available at the item level.
|
|
26
26
|
attr_accessor :item_level_return_reasons
|
|
27
27
|
|
|
28
|
+
# If true, this refund will have to be manually done because of additional charges with the virtual terminal were made
|
|
29
|
+
attr_accessor :manual_because_multiple_charges
|
|
30
|
+
|
|
28
31
|
attr_accessor :metadata
|
|
29
32
|
|
|
30
33
|
# True if the order level refund reason is required
|
|
@@ -51,6 +54,7 @@ module UltracartClient
|
|
|
51
54
|
:'item_level_refund_reason_required' => :'item_level_refund_reason_required',
|
|
52
55
|
:'item_level_refund_reasons' => :'item_level_refund_reasons',
|
|
53
56
|
:'item_level_return_reasons' => :'item_level_return_reasons',
|
|
57
|
+
:'manual_because_multiple_charges' => :'manual_because_multiple_charges',
|
|
54
58
|
:'metadata' => :'metadata',
|
|
55
59
|
:'order_level_refund_reason_required' => :'order_level_refund_reason_required',
|
|
56
60
|
:'order_level_refund_reasons' => :'order_level_refund_reasons',
|
|
@@ -68,6 +72,7 @@ module UltracartClient
|
|
|
68
72
|
:'item_level_refund_reason_required' => :'BOOLEAN',
|
|
69
73
|
:'item_level_refund_reasons' => :'Array<OrderReason>',
|
|
70
74
|
:'item_level_return_reasons' => :'Array<OrderReason>',
|
|
75
|
+
:'manual_because_multiple_charges' => :'BOOLEAN',
|
|
71
76
|
:'metadata' => :'ResponseMetadata',
|
|
72
77
|
:'order_level_refund_reason_required' => :'BOOLEAN',
|
|
73
78
|
:'order_level_refund_reasons' => :'Array<OrderReason>',
|
|
@@ -106,6 +111,10 @@ module UltracartClient
|
|
|
106
111
|
end
|
|
107
112
|
end
|
|
108
113
|
|
|
114
|
+
if attributes.has_key?(:'manual_because_multiple_charges')
|
|
115
|
+
self.manual_because_multiple_charges = attributes[:'manual_because_multiple_charges']
|
|
116
|
+
end
|
|
117
|
+
|
|
109
118
|
if attributes.has_key?(:'metadata')
|
|
110
119
|
self.metadata = attributes[:'metadata']
|
|
111
120
|
end
|
|
@@ -161,6 +170,7 @@ module UltracartClient
|
|
|
161
170
|
item_level_refund_reason_required == o.item_level_refund_reason_required &&
|
|
162
171
|
item_level_refund_reasons == o.item_level_refund_reasons &&
|
|
163
172
|
item_level_return_reasons == o.item_level_return_reasons &&
|
|
173
|
+
manual_because_multiple_charges == o.manual_because_multiple_charges &&
|
|
164
174
|
metadata == o.metadata &&
|
|
165
175
|
order_level_refund_reason_required == o.order_level_refund_reason_required &&
|
|
166
176
|
order_level_refund_reasons == o.order_level_refund_reasons &&
|
|
@@ -179,7 +189,7 @@ module UltracartClient
|
|
|
179
189
|
# Calculates hash code according to all attributes.
|
|
180
190
|
# @return [Fixnum] Hash code
|
|
181
191
|
def hash
|
|
182
|
-
[error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reasons, refundable, success, warning].hash
|
|
192
|
+
[error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, manual_because_multiple_charges, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reasons, refundable, success, warning].hash
|
|
183
193
|
end
|
|
184
194
|
|
|
185
195
|
# 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.124
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-03-
|
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|