ultracart_api 3.6.22 → 3.6.23

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: 0e0d1010ed6cb46efaedc24597b10a8d726b6f410d57be9588c5d7d9d221e165
4
- data.tar.gz: 85f9f12a12fa7ea888dc0a49c385489cf5b558367868199241a8038d84ad84ce
3
+ metadata.gz: 2a9efa0acb30ccf6f5a8974f5bf1757aac98daaf70aba5f2ad02a6c5930d7f9e
4
+ data.tar.gz: cd55a581690dd38d92f6b163ff5c6953b2ea466fa204d96c79eab989392894ac
5
5
  SHA512:
6
- metadata.gz: fe058363686562d6670d83daec25b3ce09d05857dea39ea3810fd311ee68ab69e57d29a8cc5a0d9482d3857a048414a06b492f37beef6b8a4e969b5eb82f8555
7
- data.tar.gz: 961e02f4fa1e15c90ec871395942599e120c3b649e71492d0d155073c37a171a7799d480f53c79b2d4f7638634a0989399a6bb5dc917a5a40e7ad84eaefb5d39
6
+ metadata.gz: 29fda4bac0ef4b49710f67ca22c978c2fcadaa8ef3daf0eced1f13d5c231c7eafffd7cd75ca494b6d2faa13035c0473b3d6658040e98c15254e4e610cbe44b4a
7
+ data.tar.gz: 179f949caa824dacde7bcca45086984b2846c091f07d9d853ad8163a1725c9fdf5949d16263f59f899fe7fe8ad563973d1f42757b20804f185908eb3f37ca9c9
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.22
10
+ - Package version: 3.6.23
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.22.gem
27
+ gem install ./ultracart_api-3.6.23.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.22.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.23.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.22'
35
+ gem 'ultracart_api', '~> 3.6.23'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1128,6 +1128,7 @@ Not every change is committed to every SDK.
1128
1128
 
1129
1129
  | Version | Date | Comments |
1130
1130
  | --: | :-: | --- |
1131
+ | 3.6.23 | 11/29/2021 | Item auto order prohibit cards that expire in months setting. |
1131
1132
  | 3.6.22 | 11/23/2021 | new storefront methods for twilio configuration |
1132
1133
  | 3.6.21 | 11/08/2021 | item shipping distribution center level CostOfGoodsSold |
1133
1134
  | 3.6.20 | 11/05/2021 | additional item auto order step types |
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **auto_order_cancel_item_oid** | **Integer** | Item object identifier to attempt charging the customer for if they cancel | [optional]
10
10
  **auto_order_downgrade_items** | **Array<String>** | List of downgrade items presented to customer service representatives | [optional]
11
11
  **auto_order_paused** | **BOOLEAN** | True if the rebill processing of this item is paused | [optional]
12
+ **auto_order_prohibit_expiring_cards** | **Integer** | Minimum number of months before expiration for the card. Overrides the account level setting if higher. Set to zero to disable. | [optional]
12
13
  **auto_order_schedules** | **Array<String>** | The user selectable schedules that are available | [optional]
13
14
  **auto_order_upgrade_items** | **Array<String>** | List of upgrade items presented to customer service representatives | [optional]
14
15
  **auto_order_upsell** | **BOOLEAN** | True if this item uses a fixed upsell step schedule | [optional]
@@ -32,6 +32,9 @@ module UltracartClient
32
32
  # True if the rebill processing of this item is paused
33
33
  attr_accessor :auto_order_paused
34
34
 
35
+ # Minimum number of months before expiration for the card. Overrides the account level setting if higher. Set to zero to disable.
36
+ attr_accessor :auto_order_prohibit_expiring_cards
37
+
35
38
  # The user selectable schedules that are available
36
39
  attr_accessor :auto_order_schedules
37
40
 
@@ -71,6 +74,7 @@ module UltracartClient
71
74
  :'auto_order_cancel_item_oid' => :'auto_order_cancel_item_oid',
72
75
  :'auto_order_downgrade_items' => :'auto_order_downgrade_items',
73
76
  :'auto_order_paused' => :'auto_order_paused',
77
+ :'auto_order_prohibit_expiring_cards' => :'auto_order_prohibit_expiring_cards',
74
78
  :'auto_order_schedules' => :'auto_order_schedules',
75
79
  :'auto_order_upgrade_items' => :'auto_order_upgrade_items',
76
80
  :'auto_order_upsell' => :'auto_order_upsell',
@@ -93,6 +97,7 @@ module UltracartClient
93
97
  :'auto_order_cancel_item_oid' => :'Integer',
94
98
  :'auto_order_downgrade_items' => :'Array<String>',
95
99
  :'auto_order_paused' => :'BOOLEAN',
100
+ :'auto_order_prohibit_expiring_cards' => :'Integer',
96
101
  :'auto_order_schedules' => :'Array<String>',
97
102
  :'auto_order_upgrade_items' => :'Array<String>',
98
103
  :'auto_order_upsell' => :'BOOLEAN',
@@ -140,6 +145,10 @@ module UltracartClient
140
145
  self.auto_order_paused = attributes[:'auto_order_paused']
141
146
  end
142
147
 
148
+ if attributes.has_key?(:'auto_order_prohibit_expiring_cards')
149
+ self.auto_order_prohibit_expiring_cards = attributes[:'auto_order_prohibit_expiring_cards']
150
+ end
151
+
143
152
  if attributes.has_key?(:'auto_order_schedules')
144
153
  if (value = attributes[:'auto_order_schedules']).is_a?(Array)
145
154
  self.auto_order_schedules = value
@@ -226,6 +235,7 @@ module UltracartClient
226
235
  auto_order_cancel_item_oid == o.auto_order_cancel_item_oid &&
227
236
  auto_order_downgrade_items == o.auto_order_downgrade_items &&
228
237
  auto_order_paused == o.auto_order_paused &&
238
+ auto_order_prohibit_expiring_cards == o.auto_order_prohibit_expiring_cards &&
229
239
  auto_order_schedules == o.auto_order_schedules &&
230
240
  auto_order_upgrade_items == o.auto_order_upgrade_items &&
231
241
  auto_order_upsell == o.auto_order_upsell &&
@@ -247,7 +257,7 @@ module UltracartClient
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Fixnum] Hash code
249
259
  def hash
250
- [auth_future_amount, auth_test_amount, auto_order_cancel_item_id, auto_order_cancel_item_oid, auto_order_downgrade_items, auto_order_paused, auto_order_schedules, auto_order_upgrade_items, auto_order_upsell, auto_order_upsell_no_easy_cancel, auto_order_upsell_one_per_customer, auto_orderable, cancel_other_auto_orders, free_shipping_auto_order, refund_other_auto_orders, steps].hash
260
+ [auth_future_amount, auth_test_amount, auto_order_cancel_item_id, auto_order_cancel_item_oid, auto_order_downgrade_items, auto_order_paused, auto_order_prohibit_expiring_cards, auto_order_schedules, auto_order_upgrade_items, auto_order_upsell, auto_order_upsell_no_easy_cancel, auto_order_upsell_one_per_customer, auto_orderable, cancel_other_auto_orders, free_shipping_auto_order, refund_other_auto_orders, steps].hash
251
261
  end
252
262
 
253
263
  # 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.6.22'
14
+ VERSION = '3.6.23'
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.22
4
+ version: 3.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-23 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus