ultracart_api 4.0.140 → 4.0.141
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/OrderRefundableResponse.md +2 -0
- data/lib/ultracart_api/models/order_refundable_response.rb +11 -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: f6ccb4cc84ad6f9eb5114a79f3ab124c22677f72991e77dc57a420cd2961ab7a
|
4
|
+
data.tar.gz: 86c6e5fbf28d83fc079b800112385978a788b9f06f421a6cb0983efa5e476726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '078aae4ba760eba53b5c646705069f968b46f146c382b3a0a5efc15135629f8c1aa1e0b47da59bc4720edec489276bbb2053f3c1df3a4d8ab4ee78a9c160e66e'
|
7
|
+
data.tar.gz: 4da7290245ea10319eeef80ab57411d664c093035bff839129f0db0f4823f5e4d86f79de11d6fe3aa50d99cf095ed2e987b20ee53fa071ca35fdad18358ce234
|
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.141
|
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.141.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.141.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.141'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1315,6 +1315,7 @@ Not every change is committed to every SDK.
|
|
1315
1315
|
|
1316
1316
|
| Version | Date | Comments |
|
1317
1317
|
| --: | :-: | --- |
|
1318
|
+
| 4.0.141 | 03/22/2023 | order api - refundable response added manual_because_multiple_charges boolean field |
|
1318
1319
|
| 4.0.140 | 03/21/2023 | order api - new stage named Hold |
|
1319
1320
|
| 4.0.139 | 03/14/2023 | order.getOrderEdiDocuments |
|
1320
1321
|
| 4.0.138 | 03/01/2023 | convo - add sentiment record to conversation obj |
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **item_level_refund_reason_required** | **Boolean** | True if the item level refund reason is required | [optional] |
|
9
9
|
| **item_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the item level. | [optional] |
|
10
10
|
| **item_level_return_reasons** | [**Array<OrderReason>**](OrderReason.md) | Return codes available at the item level. | [optional] |
|
11
|
+
| **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] |
|
11
12
|
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
12
13
|
| **order_level_refund_reason_required** | **Boolean** | True if the order level refund reason is required | [optional] |
|
13
14
|
| **order_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the order level. | [optional] |
|
@@ -26,6 +27,7 @@ instance = UltracartClient::OrderRefundableResponse.new(
|
|
26
27
|
item_level_refund_reason_required: null,
|
27
28
|
item_level_refund_reasons: null,
|
28
29
|
item_level_return_reasons: null,
|
30
|
+
manual_because_multiple_charges: null,
|
29
31
|
metadata: null,
|
30
32
|
order_level_refund_reason_required: null,
|
31
33
|
order_level_refund_reasons: null,
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
26
26
|
# Return codes available at the item level.
|
27
27
|
attr_accessor :item_level_return_reasons
|
28
28
|
|
29
|
+
# If true, this refund will have to be manually done because of additional charges with the virtual terminal were made
|
30
|
+
attr_accessor :manual_because_multiple_charges
|
31
|
+
|
29
32
|
attr_accessor :metadata
|
30
33
|
|
31
34
|
# True if the order level refund reason is required
|
@@ -52,6 +55,7 @@ module UltracartClient
|
|
52
55
|
:'item_level_refund_reason_required' => :'item_level_refund_reason_required',
|
53
56
|
:'item_level_refund_reasons' => :'item_level_refund_reasons',
|
54
57
|
:'item_level_return_reasons' => :'item_level_return_reasons',
|
58
|
+
:'manual_because_multiple_charges' => :'manual_because_multiple_charges',
|
55
59
|
:'metadata' => :'metadata',
|
56
60
|
:'order_level_refund_reason_required' => :'order_level_refund_reason_required',
|
57
61
|
:'order_level_refund_reasons' => :'order_level_refund_reasons',
|
@@ -74,6 +78,7 @@ module UltracartClient
|
|
74
78
|
:'item_level_refund_reason_required' => :'Boolean',
|
75
79
|
:'item_level_refund_reasons' => :'Array<OrderReason>',
|
76
80
|
:'item_level_return_reasons' => :'Array<OrderReason>',
|
81
|
+
:'manual_because_multiple_charges' => :'Boolean',
|
77
82
|
:'metadata' => :'ResponseMetadata',
|
78
83
|
:'order_level_refund_reason_required' => :'Boolean',
|
79
84
|
:'order_level_refund_reasons' => :'Array<OrderReason>',
|
@@ -125,6 +130,10 @@ module UltracartClient
|
|
125
130
|
end
|
126
131
|
end
|
127
132
|
|
133
|
+
if attributes.key?(:'manual_because_multiple_charges')
|
134
|
+
self.manual_because_multiple_charges = attributes[:'manual_because_multiple_charges']
|
135
|
+
end
|
136
|
+
|
128
137
|
if attributes.key?(:'metadata')
|
129
138
|
self.metadata = attributes[:'metadata']
|
130
139
|
end
|
@@ -180,6 +189,7 @@ module UltracartClient
|
|
180
189
|
item_level_refund_reason_required == o.item_level_refund_reason_required &&
|
181
190
|
item_level_refund_reasons == o.item_level_refund_reasons &&
|
182
191
|
item_level_return_reasons == o.item_level_return_reasons &&
|
192
|
+
manual_because_multiple_charges == o.manual_because_multiple_charges &&
|
183
193
|
metadata == o.metadata &&
|
184
194
|
order_level_refund_reason_required == o.order_level_refund_reason_required &&
|
185
195
|
order_level_refund_reasons == o.order_level_refund_reasons &&
|
@@ -198,7 +208,7 @@ module UltracartClient
|
|
198
208
|
# Calculates hash code according to all attributes.
|
199
209
|
# @return [Integer] Hash code
|
200
210
|
def hash
|
201
|
-
[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
|
211
|
+
[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
|
202
212
|
end
|
203
213
|
|
204
214
|
# 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.141
|
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
|