ultracart_api 4.0.186 → 4.0.187

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: ed36da23b208a7311ac8cd543e60742211526401a60a1c1462a612ceed2652ac
4
- data.tar.gz: a2b700910c6c7ab9eab94e5e1c7b8d3290c70cd49fcbf534e424ba1bc9973258
3
+ metadata.gz: 63195f713a35f19a29255077b2823f382bb2f2dcf722366bf024810d840b6060
4
+ data.tar.gz: 601a743d7cbcc0af6e58992aadda161dee4844c40d55341490fa38cba3c80c3c
5
5
  SHA512:
6
- metadata.gz: 3eab3e9f31c01ae8a75a48f22fa09323b14d0e0dc03711ad30f46c511a53ad9ca43672d50e70aed28e67de40ac6b840ef38987b6bbe86e3f1b4ee354d48308b0
7
- data.tar.gz: 3dde8312e935c4292fd6be5ad10d535fe73e70ef581617714449df2da9708af255b0cc35333743fdfd8829650e40326690a454ab8cd4f10bff191cf88fd77cd0
6
+ metadata.gz: 13ca6d549e8d384d98f252283a8f7fb63873d3c63e5da1d036dbf340344e42581fcc968390c1abe1373b6746af87b04d452d5ff24190290e6f81f400075f34a0
7
+ data.tar.gz: 060edd8e5f2875ed37902234215737335fc587ce134bdc2ea8834644522828f6417e928dfb3b6c414d19efbbd65c65c1d2fea62c0cce865896713d8ed928c551
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.186
10
+ - Package version: 4.0.187
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.186.gem
27
+ gem install ./ultracart_api-4.0.187.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.186.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.187.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.186'
36
+ gem 'ultracart_api', '~> 4.0.187'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1404,6 +1404,7 @@ Not every change is committed to every SDK.
1404
1404
 
1405
1405
  | Version | Date | Comments |
1406
1406
  | --: | :-: | --- |
1407
+ | 4.0.187 | 11/09/2023 | item - new auto order step type: pause until |
1407
1408
  | 4.0.186 | 11/06/2023 | customer api - added wishlist methods |
1408
1409
  | 4.0.185 | 11/01/2023 | customer - do_no_send_mail flag added |
1409
1410
  | 4.0.184 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
@@ -11,6 +11,8 @@
11
11
  | **managed_by** | **String** | Managed by (defaults to UltraCart) | [optional] |
12
12
  | **pause_days** | **Integer** | Number of days to pause | [optional] |
13
13
  | **pause_until_date** | **String** | Wait for this step to happen until the specified date | [optional] |
14
+ | **pause_until_day_of_month** | **Integer** | Pause until a specific day of the month | [optional] |
15
+ | **pause_until_minimum_delay_days** | **Integer** | Pause at least this many days between the last order and the calculated next day of month | [optional] |
14
16
  | **preshipment_notice_days** | **Integer** | If set, a pre-shipment notice is sent to the customer this many days in advance | [optional] |
15
17
  | **recurring_merchant_item_id** | **String** | Item id to rebill | [optional] |
16
18
  | **recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional] |
@@ -33,6 +35,8 @@ instance = UltracartClient::ItemAutoOrderStep.new(
33
35
  managed_by: null,
34
36
  pause_days: null,
35
37
  pause_until_date: null,
38
+ pause_until_day_of_month: null,
39
+ pause_until_minimum_delay_days: null,
36
40
  preshipment_notice_days: null,
37
41
  recurring_merchant_item_id: null,
38
42
  recurring_merchant_item_oid: null,
@@ -36,6 +36,12 @@ module UltracartClient
36
36
  # Wait for this step to happen until the specified date
37
37
  attr_accessor :pause_until_date
38
38
 
39
+ # Pause until a specific day of the month
40
+ attr_accessor :pause_until_day_of_month
41
+
42
+ # Pause at least this many days between the last order and the calculated next day of month
43
+ attr_accessor :pause_until_minimum_delay_days
44
+
39
45
  # If set, a pre-shipment notice is sent to the customer this many days in advance
40
46
  attr_accessor :preshipment_notice_days
41
47
 
@@ -92,6 +98,8 @@ module UltracartClient
92
98
  :'managed_by' => :'managed_by',
93
99
  :'pause_days' => :'pause_days',
94
100
  :'pause_until_date' => :'pause_until_date',
101
+ :'pause_until_day_of_month' => :'pause_until_day_of_month',
102
+ :'pause_until_minimum_delay_days' => :'pause_until_minimum_delay_days',
95
103
  :'preshipment_notice_days' => :'preshipment_notice_days',
96
104
  :'recurring_merchant_item_id' => :'recurring_merchant_item_id',
97
105
  :'recurring_merchant_item_oid' => :'recurring_merchant_item_oid',
@@ -118,6 +126,8 @@ module UltracartClient
118
126
  :'managed_by' => :'String',
119
127
  :'pause_days' => :'Integer',
120
128
  :'pause_until_date' => :'String',
129
+ :'pause_until_day_of_month' => :'Integer',
130
+ :'pause_until_minimum_delay_days' => :'Integer',
121
131
  :'preshipment_notice_days' => :'Integer',
122
132
  :'recurring_merchant_item_id' => :'String',
123
133
  :'recurring_merchant_item_oid' => :'Integer',
@@ -182,6 +192,14 @@ module UltracartClient
182
192
  self.pause_until_date = attributes[:'pause_until_date']
183
193
  end
184
194
 
195
+ if attributes.key?(:'pause_until_day_of_month')
196
+ self.pause_until_day_of_month = attributes[:'pause_until_day_of_month']
197
+ end
198
+
199
+ if attributes.key?(:'pause_until_minimum_delay_days')
200
+ self.pause_until_minimum_delay_days = attributes[:'pause_until_minimum_delay_days']
201
+ end
202
+
185
203
  if attributes.key?(:'preshipment_notice_days')
186
204
  self.preshipment_notice_days = attributes[:'preshipment_notice_days']
187
205
  end
@@ -230,7 +248,7 @@ module UltracartClient
230
248
  # @return true if the model is valid
231
249
  def valid?
232
250
  return false if !@recurring_merchant_item_id.nil? && @recurring_merchant_item_id.to_s.length > 20
233
- type_validator = EnumAttributeValidator.new('String', ["item", "pause", "loop", "kit only"])
251
+ type_validator = EnumAttributeValidator.new('String', ["item", "pause", "loop", "kit only", "pause until"])
234
252
  return false unless type_validator.valid?(@type)
235
253
  true
236
254
  end
@@ -248,7 +266,7 @@ module UltracartClient
248
266
  # Custom attribute writer method checking allowed values (enum).
249
267
  # @param [Object] type Object to be assigned
250
268
  def type=(type)
251
- validator = EnumAttributeValidator.new('String', ["item", "pause", "loop", "kit only"])
269
+ validator = EnumAttributeValidator.new('String', ["item", "pause", "loop", "kit only", "pause until"])
252
270
  unless validator.valid?(type)
253
271
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
254
272
  end
@@ -267,6 +285,8 @@ module UltracartClient
267
285
  managed_by == o.managed_by &&
268
286
  pause_days == o.pause_days &&
269
287
  pause_until_date == o.pause_until_date &&
288
+ pause_until_day_of_month == o.pause_until_day_of_month &&
289
+ pause_until_minimum_delay_days == o.pause_until_minimum_delay_days &&
270
290
  preshipment_notice_days == o.preshipment_notice_days &&
271
291
  recurring_merchant_item_id == o.recurring_merchant_item_id &&
272
292
  recurring_merchant_item_oid == o.recurring_merchant_item_oid &&
@@ -286,7 +306,7 @@ module UltracartClient
286
306
  # Calculates hash code according to all attributes.
287
307
  # @return [Integer] Hash code
288
308
  def hash
289
- [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
309
+ [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
290
310
  end
291
311
 
292
312
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.186'
14
+ VERSION = '4.0.187'
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.186
4
+ version: 4.0.187
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