ultracart_api 3.10.169 → 3.10.170

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: 78b1ce84e204f6e1b831dfa5d7f5eea1c77fed092f12d1db642303de1aec21c0
4
- data.tar.gz: ce0e7e09416139b1de7edefef85d2334ca285bdecc8defdeaf611093f762defd
3
+ metadata.gz: 9e8eb13366a4b1600d80fe02461107ddd42e8025b8863888bcd031771930b3ff
4
+ data.tar.gz: f4f99184b5c4b818996a5a94aafb7c9b685eb11162a2cd14a352331a696998a0
5
5
  SHA512:
6
- metadata.gz: ff32a071c7001a590524c6015ae48cad5d0222f765a6ab98eeed53e4d491a55c1760f2dd01fc9dcb81521bbd40b9c035aa36a7bee2b3cf9093f94110f38e7564
7
- data.tar.gz: 65b708b7955c5fb01d9a5dd4710cb636ea5fb45027034d0e78749bac4dab7040d1a8a01e97cc011ecb67718337c2c86aacbe3e96b75490a8a54b49f9ab2be67d
6
+ metadata.gz: 8c22d3f856347ef67c9cbbbc82fc8e86c19644534a532f38471df3305bd5447fa7050c43e290280d2fe7b80bb7d78bc230dfd379113cae319b3960bf52f9d2b9
7
+ data.tar.gz: c42bdabf44d4f07f7860cb987c0387978136513f50da3b739ab56a1c579a3f99a9e829662b3441c2088d4aec9f3bea13c8655220b0fcf0f7bd8e370d2f8688ff
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.169
10
+ - Package version: 3.10.170
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.169.gem
27
+ gem install ./ultracart_api-3.10.170.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.169.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.170.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.169'
35
+ gem 'ultracart_api', '~> 3.10.170'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1396,6 +1396,7 @@ Not every change is committed to every SDK.
1396
1396
 
1397
1397
  | Version | Date | Comments |
1398
1398
  | --: | :-: | --- |
1399
+ | 3.10.170 | 11/09/2023 | item - new auto order step type: pause until |
1399
1400
  | 3.10.169 | 11/06/2023 | customer api - added wishlist methods |
1400
1401
  | 3.10.168 | 11/01/2023 | customer - do_no_send_mail flag added |
1401
1402
  | 3.10.167 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
10
10
  **managed_by** | **String** | Managed by (defaults to UltraCart) | [optional]
11
11
  **pause_days** | **Integer** | Number of days to pause | [optional]
12
12
  **pause_until_date** | **String** | Wait for this step to happen until the specified date | [optional]
13
+ **pause_until_day_of_month** | **Integer** | Pause until a specific day of the month | [optional]
14
+ **pause_until_minimum_delay_days** | **Integer** | Pause at least this many days between the last order and the calculated next day of month | [optional]
13
15
  **preshipment_notice_days** | **Integer** | If set, a pre-shipment notice is sent to the customer this many days in advance | [optional]
14
16
  **recurring_merchant_item_id** | **String** | Item id to rebill | [optional]
15
17
  **recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional]
@@ -35,6 +35,12 @@ module UltracartClient
35
35
  # Wait for this step to happen until the specified date
36
36
  attr_accessor :pause_until_date
37
37
 
38
+ # Pause until a specific day of the month
39
+ attr_accessor :pause_until_day_of_month
40
+
41
+ # Pause at least this many days between the last order and the calculated next day of month
42
+ attr_accessor :pause_until_minimum_delay_days
43
+
38
44
  # If set, a pre-shipment notice is sent to the customer this many days in advance
39
45
  attr_accessor :preshipment_notice_days
40
46
 
@@ -91,6 +97,8 @@ module UltracartClient
91
97
  :'managed_by' => :'managed_by',
92
98
  :'pause_days' => :'pause_days',
93
99
  :'pause_until_date' => :'pause_until_date',
100
+ :'pause_until_day_of_month' => :'pause_until_day_of_month',
101
+ :'pause_until_minimum_delay_days' => :'pause_until_minimum_delay_days',
94
102
  :'preshipment_notice_days' => :'preshipment_notice_days',
95
103
  :'recurring_merchant_item_id' => :'recurring_merchant_item_id',
96
104
  :'recurring_merchant_item_oid' => :'recurring_merchant_item_oid',
@@ -112,6 +120,8 @@ module UltracartClient
112
120
  :'managed_by' => :'String',
113
121
  :'pause_days' => :'Integer',
114
122
  :'pause_until_date' => :'String',
123
+ :'pause_until_day_of_month' => :'Integer',
124
+ :'pause_until_minimum_delay_days' => :'Integer',
115
125
  :'preshipment_notice_days' => :'Integer',
116
126
  :'recurring_merchant_item_id' => :'String',
117
127
  :'recurring_merchant_item_oid' => :'Integer',
@@ -163,6 +173,14 @@ module UltracartClient
163
173
  self.pause_until_date = attributes[:'pause_until_date']
164
174
  end
165
175
 
176
+ if attributes.has_key?(:'pause_until_day_of_month')
177
+ self.pause_until_day_of_month = attributes[:'pause_until_day_of_month']
178
+ end
179
+
180
+ if attributes.has_key?(:'pause_until_minimum_delay_days')
181
+ self.pause_until_minimum_delay_days = attributes[:'pause_until_minimum_delay_days']
182
+ end
183
+
166
184
  if attributes.has_key?(:'preshipment_notice_days')
167
185
  self.preshipment_notice_days = attributes[:'preshipment_notice_days']
168
186
  end
@@ -211,7 +229,7 @@ module UltracartClient
211
229
  # @return true if the model is valid
212
230
  def valid?
213
231
  return false if !@recurring_merchant_item_id.nil? && @recurring_merchant_item_id.to_s.length > 20
214
- type_validator = EnumAttributeValidator.new('String', ['item', 'pause', 'loop', 'kit only'])
232
+ type_validator = EnumAttributeValidator.new('String', ['item', 'pause', 'loop', 'kit only', 'pause until'])
215
233
  return false unless type_validator.valid?(@type)
216
234
  true
217
235
  end
@@ -229,7 +247,7 @@ module UltracartClient
229
247
  # Custom attribute writer method checking allowed values (enum).
230
248
  # @param [Object] type Object to be assigned
231
249
  def type=(type)
232
- validator = EnumAttributeValidator.new('String', ['item', 'pause', 'loop', 'kit only'])
250
+ validator = EnumAttributeValidator.new('String', ['item', 'pause', 'loop', 'kit only', 'pause until'])
233
251
  unless validator.valid?(type)
234
252
  fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
235
253
  end
@@ -248,6 +266,8 @@ module UltracartClient
248
266
  managed_by == o.managed_by &&
249
267
  pause_days == o.pause_days &&
250
268
  pause_until_date == o.pause_until_date &&
269
+ pause_until_day_of_month == o.pause_until_day_of_month &&
270
+ pause_until_minimum_delay_days == o.pause_until_minimum_delay_days &&
251
271
  preshipment_notice_days == o.preshipment_notice_days &&
252
272
  recurring_merchant_item_id == o.recurring_merchant_item_id &&
253
273
  recurring_merchant_item_oid == o.recurring_merchant_item_oid &&
@@ -267,7 +287,7 @@ module UltracartClient
267
287
  # Calculates hash code according to all attributes.
268
288
  # @return [Fixnum] Hash code
269
289
  def hash
270
- [arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_schedules, grandfather_pricing, managed_by, pause_days, pause_until_date, preshipment_notice_days, recurring_merchant_item_id, recurring_merchant_item_oid, repeat_count, schedule, subscribe_email_list_name, subscribe_email_list_oid, type].hash
290
+ [arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_schedules, grandfather_pricing, managed_by, pause_days, pause_until_date, pause_until_day_of_month, pause_until_minimum_delay_days, preshipment_notice_days, recurring_merchant_item_id, recurring_merchant_item_oid, repeat_count, schedule, subscribe_email_list_name, subscribe_email_list_oid, type].hash
271
291
  end
272
292
 
273
293
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.169'
14
+ VERSION = '3.10.170'
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.169
4
+ version: 3.10.170
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus