ultracart_api 3.10.156 → 3.10.157

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: 3feef41f446f916e6a402ef637adad8eacacef4133e3c7b726ed2a7549d28cad
4
- data.tar.gz: e578ca628dc5d6edc4bcd03ae3b94025c35ebc1f9dab2b278a048ae527b5c435
3
+ metadata.gz: 9422a3a823966b8b815a5d403377e1a46007f350f94455be7e0bc7cc3e9fd159
4
+ data.tar.gz: 8b3da13ea60a8af5a8849cf8874bff4233c29110de405987a30a70119f7e3f83
5
5
  SHA512:
6
- metadata.gz: 88f4cf2e5e5807166ec9287ee7b02a781cde9d7b75e9596bf8ed420caf6152468dd6d8bc7990c603e394206774861dc61ccac8ff2ecbb063b8006056de015046
7
- data.tar.gz: 43d72795247c15a186be086f4fd16bedcbde4bae3f38f6ea0e95f6d2e745a96197d123260525252ff15229d5d86e583bd81fc42ee836ae93bf23e07f3c85c9d8
6
+ metadata.gz: 7cde5c51550144cbc3f826e423238b4e633eb4960598fd60b10f96157227efeeb77e34b1e687481766ba9b6565ceb6bac60f529c4138d4b077724685cd387561
7
+ data.tar.gz: fca36061be93e641004f1e15946f10bd32103f0dd241e828c806120d5a54170bba4abec5a368a6200dd7f667de172f856ec9e791012fade17e48f1e896960a44
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.10.156
10
+ - Package version: 3.10.157
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.10.156.gem
27
+ gem install ./ultracart_api-3.10.157.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.156.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.157.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.10.156'
35
+ gem 'ultracart_api', '~> 3.10.157'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1362,6 +1362,7 @@ Not every change is committed to every SDK.
1362
1362
 
1363
1363
  | Version | Date | Comments |
1364
1364
  | --: | :-: | --- |
1365
+ | 3.10.157 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
1365
1366
  | 3.10.156 | 08/31/2023 | new coupon - free item and free shipping with purchase |
1366
1367
  | 3.10.155 | 08/16/2023 | added validate_original_order query param to auto order update method |
1367
1368
  | 3.10.154 | 08/14/2023 | esp - add require_order_within_last to the settings object |
@@ -304,7 +304,7 @@ module UltracartClient
304
304
  # Check to see if the all the properties in the model are valid
305
305
  # @return true if the model is valid
306
306
  def valid?
307
- 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'])
307
+ 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'])
308
308
  return false unless frequency_validator.valid?(@frequency)
309
309
  true
310
310
  end
@@ -312,7 +312,7 @@ module UltracartClient
312
312
  # Custom attribute writer method checking allowed values (enum).
313
313
  # @param [Object] frequency Object to be assigned
314
314
  def frequency=(frequency)
315
- 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'])
315
+ 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'])
316
316
  unless validator.valid?(frequency)
317
317
  fail ArgumentError, 'invalid value for "frequency", must be one of #{validator.allowable_values}.'
318
318
  end
@@ -94,7 +94,7 @@ module UltracartClient
94
94
  # Check to see if the all the properties in the model are valid
95
95
  # @return true if the model is valid
96
96
  def valid?
97
- 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'])
97
+ 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'])
98
98
  return false unless frequency_validator.valid?(@frequency)
99
99
  true
100
100
  end
@@ -102,7 +102,7 @@ module UltracartClient
102
102
  # Custom attribute writer method checking allowed values (enum).
103
103
  # @param [Object] frequency Object to be assigned
104
104
  def frequency=(frequency)
105
- 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'])
105
+ 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'])
106
106
  unless validator.valid?(frequency)
107
107
  fail ArgumentError, 'invalid value for "frequency", must be one of #{validator.allowable_values}.'
108
108
  end
@@ -136,7 +136,7 @@ module UltracartClient
136
136
  # Check to see if the all the properties in the model are valid
137
137
  # @return true if the model is valid
138
138
  def valid?
139
- 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'])
139
+ 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'])
140
140
  return false unless auto_order_schedule_validator.valid?(@auto_order_schedule)
141
141
  return false if !@merchant_item_id.nil? && @merchant_item_id.to_s.length > 20
142
142
  true
@@ -145,7 +145,7 @@ module UltracartClient
145
145
  # Custom attribute writer method checking allowed values (enum).
146
146
  # @param [Object] auto_order_schedule Object to be assigned
147
147
  def auto_order_schedule=(auto_order_schedule)
148
- 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'])
148
+ 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'])
149
149
  unless validator.valid?(auto_order_schedule)
150
150
  fail ArgumentError, 'invalid value for "auto_order_schedule", must be one of #{validator.allowable_values}.'
151
151
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.156'
14
+ VERSION = '3.10.157'
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.10.156
4
+ version: 3.10.157
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