ultracart_api 3.6.9 → 3.6.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e2713ffc54bf9f912150b91084d19d9554990d9ff978f4099bd1fad991cd93
4
- data.tar.gz: 6a5c36b1ecc16d745dd6e849b93a11807fc5d6c8d75e420d857409e64ceed7d0
3
+ metadata.gz: 22186f6182eb105f566f02004b421528a45d9b13bb0ec993b45e1a95d3197200
4
+ data.tar.gz: 3ed3e9aef3ac2a9b90d003ba7f3a1a65d4e6823ddc5116980126dc81db1c57c8
5
5
  SHA512:
6
- metadata.gz: 5cb4c11b1e5fc9badeca7dd1c41c442bad73ca834961a7c7e0f744e943db4ccf612efbc5c392af8332654ba301b5db54225b6d17b500dd9e3216b5134f273b2e
7
- data.tar.gz: b0b17891498d1ea56ac778880044e45ebd2e3d964c4ca1f9b04229de2f49c4047eb82221fa011eb26c0d56fb893d634c4a6e7fd82ab7dd3ee6cb24a57acab211
6
+ metadata.gz: 2d934867eb5b1ecdc82f65ae426214c15e1566b40d173d1af6b64e37b5a1985d1b0d664d5bdfdcbe476e03f31c6a6a895f4ce8cbf124181a09c89c5ec0024e78
7
+ data.tar.gz: d66cd29921b732ced8c596d4b091415d2ef15abb61e7aaa5f75178633960641c925635214c31e0b96a054cc536f8976bac404a9c662878e0e876978688f115a9
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.6.9
10
+ - Package version: 3.6.10
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.6.9.gem
27
+ gem install ./ultracart_api-3.6.10.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.9.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.10.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.6.9'
35
+ gem 'ultracart_api', '~> 3.6.10'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
1118
1118
 
1119
1119
  | Version | Date | Comments |
1120
1120
  | --: | :-: | --- |
1121
+ | 3.6.10 | 09/09/2021 | added constants for Google Shopping payment method (still in development) |
1121
1122
  | 3.6.9 | 09/07/2021 | customer profile editor values have new list of state optional countries |
1122
1123
  | 3.6.8 | 08/31/2021 | coupon query field to allow merchant code and description to be searched |
1123
1124
  | 3.6.7 | 08/27/2021 | customer profile affiliate information now contains affiliate first and last name |
@@ -225,7 +225,7 @@ module UltracartClient
225
225
  # Check to see if the all the properties in the model are valid
226
226
  # @return true if the model is valid
227
227
  def valid?
228
- payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Insurance', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart'])
228
+ 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'])
229
229
  return false unless payment_method_validator.valid?(@payment_method)
230
230
  payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
231
231
  return false unless payment_status_validator.valid?(@payment_status)
@@ -235,7 +235,7 @@ module UltracartClient
235
235
  # Custom attribute writer method checking allowed values (enum).
236
236
  # @param [Object] payment_method Object to be assigned
237
237
  def payment_method=(payment_method)
238
- validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Insurance', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart'])
238
+ 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'])
239
239
  unless validator.valid?(payment_method)
240
240
  fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
241
241
  end
@@ -475,7 +475,7 @@ module UltracartClient
475
475
  return false if !@email.nil? && @email.to_s.length > 100
476
476
  return false if !@first_name.nil? && @first_name.to_s.length > 30
477
477
  return false if !@last_name.nil? && @last_name.to_s.length > 30
478
- 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'])
478
+ payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'Google Shopping', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer'])
479
479
  return false unless payment_method_validator.valid?(@payment_method)
480
480
  return false if !@phone.nil? && @phone.to_s.length > 25
481
481
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
@@ -568,7 +568,7 @@ module UltracartClient
568
568
  # Custom attribute writer method checking allowed values (enum).
569
569
  # @param [Object] payment_method Object to be assigned
570
570
  def payment_method=(payment_method)
571
- 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'])
571
+ validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eCheck', 'Google Shopping', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer'])
572
572
  unless validator.valid?(payment_method)
573
573
  fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
574
574
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.6.9'
14
+ VERSION = '3.6.10'
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: 3.6.9
4
+ version: 3.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-07 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus