ultracart_api 3.11.3 → 3.11.5
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: a7db39f5913081584fadadffa2038b943e8bef3f2a9005f4cf25a56641e364c1
|
4
|
+
data.tar.gz: 514f372e2c01026e24fcf254cbb41f86967947862d16f290f36dba09aff9a8b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21579861ab5290675904ef1a0aa6c4ce109fa8692472539a5b521aad51e9ad63a91b63a3ac71f86923795e2bff765a04f085b1525aafc87d8a503a01039127d8
|
7
|
+
data.tar.gz: 47ee7f514510636071ee2ad5880dc22ac3f851265ae5357339f58b9d127cf4f64c0ec15d146b46d0e176a81e2c77c32547cfa5e132d8232db585e1999257163b
|
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.11.
|
10
|
+
- Package version: 3.11.5
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
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.11.
|
27
|
+
gem install ./ultracart_api-3.11.5.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.5.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.11.
|
35
|
+
gem 'ultracart_api', '~> 3.11.5'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1518,6 +1518,8 @@ Not every change is committed to every SDK.
|
|
1518
1518
|
|
1519
1519
|
| Version | Date | Comments |
|
1520
1520
|
| --: | :-: | --- |
|
1521
|
+
| 3.11.5 | 03/28/2025 | added paypal fastlane constants for payments |
|
1522
|
+
| 3.11.4 | 03/07/2025 | updated github readme.md |
|
1521
1523
|
| 3.11.3 | 03/07/2025 | updated github readme.md files |
|
1522
1524
|
| 3.11.2 | 03/05/2025 | added ChannelPartnerOrder.use_prior_payment_information_from_order_id |
|
1523
1525
|
| 3.11.1 | 02/28/2025 | auto order pause method |
|
@@ -1084,7 +1084,7 @@ module UltracartClient
|
|
1084
1084
|
return false if !@email.nil? && @email.to_s.length > 100
|
1085
1085
|
return false if !@gift_email.nil? && @gift_email.to_s.length > 100
|
1086
1086
|
return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
|
1087
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
1087
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer', 'PayPal Fastlane'])
|
1088
1088
|
return false unless payment_method_validator.valid?(@payment_method)
|
1089
1089
|
return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
|
1090
1090
|
return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
|
@@ -1356,7 +1356,7 @@ module UltracartClient
|
|
1356
1356
|
# Custom attribute writer method checking allowed values (enum).
|
1357
1357
|
# @param [Object] payment_method Object to be assigned
|
1358
1358
|
def payment_method=(payment_method)
|
1359
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
1359
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer', 'PayPal Fastlane'])
|
1360
1360
|
unless validator.valid?(payment_method)
|
1361
1361
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
1362
1362
|
end
|
@@ -241,7 +241,7 @@ module UltracartClient
|
|
241
241
|
# Check to see if the all the properties in the model are valid
|
242
242
|
# @return true if the model is valid
|
243
243
|
def valid?
|
244
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card'])
|
244
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
245
245
|
return false unless payment_method_validator.valid?(@payment_method)
|
246
246
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
247
247
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -251,7 +251,7 @@ module UltracartClient
|
|
251
251
|
# Custom attribute writer method checking allowed values (enum).
|
252
252
|
# @param [Object] payment_method Object to be assigned
|
253
253
|
def payment_method=(payment_method)
|
254
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card'])
|
254
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
255
255
|
unless validator.valid?(payment_method)
|
256
256
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
257
257
|
end
|
@@ -511,7 +511,7 @@ module UltracartClient
|
|
511
511
|
return false if !@email.nil? && @email.to_s.length > 100
|
512
512
|
return false if !@first_name.nil? && @first_name.to_s.length > 30
|
513
513
|
return false if !@last_name.nil? && @last_name.to_s.length > 30
|
514
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Venmo', 'Apple Pay', ' Google Pay'])
|
514
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Venmo', 'Apple Pay', ' Google Pay', 'PayPal Fastlane'])
|
515
515
|
return false unless payment_method_validator.valid?(@payment_method)
|
516
516
|
return false if !@phone.nil? && @phone.to_s.length > 25
|
517
517
|
return false if !@postal_code.nil? && @postal_code.to_s.length > 20
|
@@ -606,7 +606,7 @@ module UltracartClient
|
|
606
606
|
# Custom attribute writer method checking allowed values (enum).
|
607
607
|
# @param [Object] payment_method Object to be assigned
|
608
608
|
def payment_method=(payment_method)
|
609
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Venmo', 'Apple Pay', ' Google Pay'])
|
609
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Venmo', 'Apple Pay', ' Google Pay', 'PayPal Fastlane'])
|
610
610
|
unless validator.valid?(payment_method)
|
611
611
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
612
612
|
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: 3.11.
|
4
|
+
version: 3.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|