ultracart_api 4.0.155 → 4.0.156
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/lib/ultracart_api/models/order_payment.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: e705bd889e61675a6d1dcf5f45b6fa5a023e568448cb2cb55b004f33261e809b
|
4
|
+
data.tar.gz: 8d152b8c7ca6514947e6e89ec6f09023dc3f22fac87e012cb4a2999e3b0c1ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 310c9ee4dbb0b11c98f90c9000eaeaefb34f0d103afcd89b1ec72666a5516c35c49910fe6ee65f41a9c9ff66fbae5f538d12dcaab95f74f702a30baff743ca48
|
7
|
+
data.tar.gz: ef21bd3706908d06cf51b6db80877291c1f1fbecc8e87bf20af0478f953f27f62f609285467d246130d238465b321900c013826ed44033a7dc0fb4fb1ba068d9
|
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.156
|
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.156.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.156.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.156'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1362,6 +1362,7 @@ Not every change is committed to every SDK.
|
|
1362
1362
|
|
1363
1363
|
| Version | Date | Comments |
|
1364
1364
|
| --: | :-: | --- |
|
1365
|
+
| 4.0.156 | 05/25/2023 | added venmo constants for payment type |
|
1365
1366
|
| 4.0.155 | 05/18/2023 | dw bi - send back the executed SQL |
|
1366
1367
|
| 4.0.154 | 05/04/2023 | item api added methods for items reviews |
|
1367
1368
|
| 4.0.153 | 04/28/2023 | item - pricing tier level flag for exempt from min item count |
|
@@ -244,7 +244,7 @@ module UltracartClient
|
|
244
244
|
# Check to see if the all the properties in the model are valid
|
245
245
|
# @return true if the model is valid
|
246
246
|
def valid?
|
247
|
-
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle"])
|
247
|
+
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
|
248
248
|
return false unless payment_method_validator.valid?(@payment_method)
|
249
249
|
payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
|
250
250
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -254,7 +254,7 @@ module UltracartClient
|
|
254
254
|
# Custom attribute writer method checking allowed values (enum).
|
255
255
|
# @param [Object] payment_method Object to be assigned
|
256
256
|
def payment_method=(payment_method)
|
257
|
-
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle"])
|
257
|
+
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
|
258
258
|
unless validator.valid?(payment_method)
|
259
259
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
260
260
|
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.156
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|