ultracart_api 3.6.22 → 3.6.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/CouponResponse.md +1 -0
- data/docs/ItemAutoOrder.md +1 -0
- data/lib/ultracart_api/models/coupon_response.rb +13 -1
- 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: 445b357d145e8744cd508b7d334d67f1bc4c4dce1c497518998566197c3d56f4
|
4
|
+
data.tar.gz: '087440c68b8be04304468fe73b99bf29f59cd1d7331a47891049d6973a647f17'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff68b7ce988bcc4b5bdcb2b937eeba66889c89e09b1e8ef8c6360e93e56b3e2ef9a8446c93e606a4f84aca3ff36ebf2e26aafbc693d39f3c7bef4383b2181b5
|
7
|
+
data.tar.gz: 02b3ca6a752203c65a8de760d9250f2d21fdc8769e6b9a8cba0fc0175f56e5edadf9ba97747849e5f14d459576a6488a1cae2379dc9710d9c716d999217d9356
|
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.32
|
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.32.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.32.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.32'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1127,7 +1127,11 @@ Class | Method | HTTP request | Description
|
|
1127
1127
|
Not every change is committed to every SDK.
|
1128
1128
|
|
1129
1129
|
| Version | Date | Comments |
|
1130
|
-
| --: | :-: | --- |
|
1130
|
+
| --: | :-: | --- |
|
1131
|
+
| 3.6.32 | 12/10/2021 | testing automation - message 4 |
|
1132
|
+
| 3.6.25 | 12/06/2021 | sdk automation testing. no changes to actual sdk |
|
1133
|
+
| 3.6.24 | 11/30/2021 | return items_invalid_for_coupons for CouponResponse object to drive UI warnings |
|
1134
|
+
| 3.6.23 | 11/29/2021 | Item auto order prohibit cards that expire in months setting. |
|
1131
1135
|
| 3.6.22 | 11/23/2021 | new storefront methods for twilio configuration |
|
1132
1136
|
| 3.6.21 | 11/08/2021 | item shipping distribution center level CostOfGoodsSold |
|
1133
1137
|
| 3.6.20 | 11/05/2021 | additional item auto order step types |
|
data/docs/CouponResponse.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**coupon** | [**Coupon**](Coupon.md) | | [optional]
|
7
7
|
**error** | [**Error**](Error.md) | | [optional]
|
8
|
+
**items_invalid_for_coupons** | **Array<String>** | Items invalid for coupons. These will display as warnings within the UI. | [optional]
|
8
9
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
9
10
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
11
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
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]
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :error
|
20
20
|
|
21
|
+
# Items invalid for coupons. These will display as warnings within the UI.
|
22
|
+
attr_accessor :items_invalid_for_coupons
|
23
|
+
|
21
24
|
attr_accessor :metadata
|
22
25
|
|
23
26
|
# Indicates if API call was successful
|
@@ -30,6 +33,7 @@ module UltracartClient
|
|
30
33
|
{
|
31
34
|
:'coupon' => :'coupon',
|
32
35
|
:'error' => :'error',
|
36
|
+
:'items_invalid_for_coupons' => :'items_invalid_for_coupons',
|
33
37
|
:'metadata' => :'metadata',
|
34
38
|
:'success' => :'success',
|
35
39
|
:'warning' => :'warning'
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
{
|
42
46
|
:'coupon' => :'Coupon',
|
43
47
|
:'error' => :'Error',
|
48
|
+
:'items_invalid_for_coupons' => :'Array<String>',
|
44
49
|
:'metadata' => :'ResponseMetadata',
|
45
50
|
:'success' => :'BOOLEAN',
|
46
51
|
:'warning' => :'Warning'
|
@@ -63,6 +68,12 @@ module UltracartClient
|
|
63
68
|
self.error = attributes[:'error']
|
64
69
|
end
|
65
70
|
|
71
|
+
if attributes.has_key?(:'items_invalid_for_coupons')
|
72
|
+
if (value = attributes[:'items_invalid_for_coupons']).is_a?(Array)
|
73
|
+
self.items_invalid_for_coupons = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
66
77
|
if attributes.has_key?(:'metadata')
|
67
78
|
self.metadata = attributes[:'metadata']
|
68
79
|
end
|
@@ -96,6 +107,7 @@ module UltracartClient
|
|
96
107
|
self.class == o.class &&
|
97
108
|
coupon == o.coupon &&
|
98
109
|
error == o.error &&
|
110
|
+
items_invalid_for_coupons == o.items_invalid_for_coupons &&
|
99
111
|
metadata == o.metadata &&
|
100
112
|
success == o.success &&
|
101
113
|
warning == o.warning
|
@@ -110,7 +122,7 @@ module UltracartClient
|
|
110
122
|
# Calculates hash code according to all attributes.
|
111
123
|
# @return [Fixnum] Hash code
|
112
124
|
def hash
|
113
|
-
[coupon, error, metadata, success, warning].hash
|
125
|
+
[coupon, error, items_invalid_for_coupons, metadata, success, warning].hash
|
114
126
|
end
|
115
127
|
|
116
128
|
# Builds the object from hash
|
@@ -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.32
|
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
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|