ultracart_api 4.0.173 → 4.0.174

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: 6ea01f2a6d105ed8719395ff927d2abdf39bfbdd1c7413309309c8bbf4668656
4
- data.tar.gz: 7446cf6cd1a39aed5ed33412f63bba5a3d5df66f51e2305d76655a02099435e3
3
+ metadata.gz: ad7b14b78d9cf22d310a28d5d5381524c637157a436a10d6b5fc9ce6fc441a25
4
+ data.tar.gz: 739adbb8525fedcf5e55b480ef10134aade73d93bb6267ff71e721351f07ef57
5
5
  SHA512:
6
- metadata.gz: 1ff89fec85ef3ffc6067f6660f5764bea6e0c427336ebe51021125ad8a2b4f0db4f9527f00cac812f755aeca18cc4b23b444639a3b64e9a9057dcc571a670662
7
- data.tar.gz: 50036ca86514a8c7f1d8055c3b2c75306b4c82da140d049a72e0a770210e9e94d36715f35f28b507d322c63e17806a7b76a2aae3df4897fbc906398f07189b75
6
+ metadata.gz: d087935b101af72470bfc6a444fdef7edb77ddf52eb87985deaf4208753230935b3a9c50c63820ec476bc1cb436d7b77ef66517c6f41066389ea4e5c7f8778ed
7
+ data.tar.gz: 3f9a68d21da780b81b6b096437fb3278b2acb24e07f6338abdc648bcfbbda82ae01119854799cd559b4bcaa0aebf69980c255c2b0cad4c8838d909990b98c9d0
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.173
10
+ - Package version: 4.0.174
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.173.gem
27
+ gem install ./ultracart_api-4.0.174.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.173.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.174.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.173'
36
+ gem 'ultracart_api', '~> 4.0.174'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1370,6 +1370,7 @@ Not every change is committed to every SDK.
1370
1370
 
1371
1371
  | Version | Date | Comments |
1372
1372
  | --: | :-: | --- |
1373
+ | 4.0.174 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
1373
1374
  | 4.0.173 | 08/31/2023 | new coupon - free item and free shipping with purchase |
1374
1375
  | 4.0.172 | 08/16/2023 | added validate_original_order query param to auto order update method |
1375
1376
  | 4.0.171 | 08/14/2023 | esp - add require_order_within_last to the settings object |
@@ -323,7 +323,7 @@ module UltracartClient
323
323
  # Check to see if the all the properties in the model are valid
324
324
  # @return true if the model is valid
325
325
  def valid?
326
- frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
326
+ frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
327
327
  return false unless frequency_validator.valid?(@frequency)
328
328
  true
329
329
  end
@@ -331,7 +331,7 @@ module UltracartClient
331
331
  # Custom attribute writer method checking allowed values (enum).
332
332
  # @param [Object] frequency Object to be assigned
333
333
  def frequency=(frequency)
334
- validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
334
+ validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
335
335
  unless validator.valid?(frequency)
336
336
  fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
337
337
  end
@@ -113,7 +113,7 @@ module UltracartClient
113
113
  # Check to see if the all the properties in the model are valid
114
114
  # @return true if the model is valid
115
115
  def valid?
116
- frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
116
+ frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
117
117
  return false unless frequency_validator.valid?(@frequency)
118
118
  true
119
119
  end
@@ -121,7 +121,7 @@ module UltracartClient
121
121
  # Custom attribute writer method checking allowed values (enum).
122
122
  # @param [Object] frequency Object to be assigned
123
123
  def frequency=(frequency)
124
- validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
124
+ validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
125
125
  unless validator.valid?(frequency)
126
126
  fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
127
127
  end
@@ -155,7 +155,7 @@ module UltracartClient
155
155
  # Check to see if the all the properties in the model are valid
156
156
  # @return true if the model is valid
157
157
  def valid?
158
- auto_order_schedule_validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
158
+ auto_order_schedule_validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
159
159
  return false unless auto_order_schedule_validator.valid?(@auto_order_schedule)
160
160
  return false if !@merchant_item_id.nil? && @merchant_item_id.to_s.length > 20
161
161
  true
@@ -164,7 +164,7 @@ module UltracartClient
164
164
  # Custom attribute writer method checking allowed values (enum).
165
165
  # @param [Object] auto_order_schedule Object to be assigned
166
166
  def auto_order_schedule=(auto_order_schedule)
167
- validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
167
+ validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
168
168
  unless validator.valid?(auto_order_schedule)
169
169
  fail ArgumentError, "invalid value for \"auto_order_schedule\", must be one of #{validator.allowable_values}."
170
170
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.173'
14
+ VERSION = '4.0.174'
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.173
4
+ version: 4.0.174
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus