ultracart_api 4.0.139 → 4.0.141

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: 0ce7f59685244a28188e13ed6c037ddddbaa28513b898206abb574056a8d9401
4
- data.tar.gz: 843646f29e2e51b35e8b740d25046c195e9be1a59328ed76d6555efe0729ae1b
3
+ metadata.gz: f6ccb4cc84ad6f9eb5114a79f3ab124c22677f72991e77dc57a420cd2961ab7a
4
+ data.tar.gz: 86c6e5fbf28d83fc079b800112385978a788b9f06f421a6cb0983efa5e476726
5
5
  SHA512:
6
- metadata.gz: 3e5d7f095772e2c5f0c0f786f0216c7746ee8479154eed2e6526767cceeaf4bfdda841b034d18a81b1c77db444845f94052c4ce008deab6446f03912425067f4
7
- data.tar.gz: 744003a775fb34645b7ffe0fd0855b94dc6bbc0cbae4fcd93637db949ed63d11f869277ad94023f98269683fa5f221cf93192b26e4d857ac94e20821ec9c4b51
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.139
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.139.gem
27
+ gem install ./ultracart_api-4.0.141.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.139.gem` to install the development dependencies)
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.139'
36
+ gem 'ultracart_api', '~> 4.0.141'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1315,6 +1315,8 @@ 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 |
1319
+ | 4.0.140 | 03/21/2023 | order api - new stage named Hold |
1318
1320
  | 4.0.139 | 03/14/2023 | order.getOrderEdiDocuments |
1319
1321
  | 4.0.138 | 03/01/2023 | convo - add sentiment record to conversation obj |
1320
1322
  | 4.0.137 | 02/22/2023 | convo - customer initiated flag on engagement |
@@ -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,
@@ -428,7 +428,7 @@ module UltracartClient
428
428
  # @return true if the model is valid
429
429
  def valid?
430
430
  return false if !@currency_code.nil? && @currency_code.to_s.length > 3
431
- 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"])
431
+ 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"])
432
432
  return false unless current_stage_validator.valid?(@current_stage)
433
433
  return false if !@language_iso_code.nil? && @language_iso_code.to_s.length > 3
434
434
  true
@@ -447,7 +447,7 @@ module UltracartClient
447
447
  # Custom attribute writer method checking allowed values (enum).
448
448
  # @param [Object] current_stage Object to be assigned
449
449
  def current_stage=(current_stage)
450
- 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"])
450
+ 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"])
451
451
  unless validator.valid?(current_stage)
452
452
  fail ArgumentError, "invalid value for \"current_stage\", must be one of #{validator.allowable_values}."
453
453
  end
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.139'
14
+ VERSION = '4.0.141'
15
15
  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.139
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-14 00:00:00.000000000 Z
11
+ date: 2023-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus