ultracart_api 3.6.22 → 3.6.23
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 +4 -4
- data/README.md +5 -4
- data/docs/ItemAutoOrder.md +1 -0
- data/lib/ultracart_api/models/item_auto_order.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a9efa0acb30ccf6f5a8974f5bf1757aac98daaf70aba5f2ad02a6c5930d7f9e
|
4
|
+
data.tar.gz: cd55a581690dd38d92f6b163ff5c6953b2ea466fa204d96c79eab989392894ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
27
|
+
gem install ./ultracart_api-3.6.23.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
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.
|
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 |
|
data/docs/ItemAutoOrder.md
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|