ultracart_api 4.0.121.rc → 4.0.122.rc
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 +6 -0
- data/lib/ultracart_api/models/item_auto_order.rb +31 -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: 385862ada6be86537e5545c20c1ed2fa7cc9f6b8ef17efdb6d91a4dde04e4411
|
4
|
+
data.tar.gz: eedee93bde2d0f8b811931d4152b7b7fd5a3b80e709d4f7693c2cde996a24bfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afb6cc0c5513f3d5084896dfec3c60f71b4e9b4d959b0024b69895723c4f4822404e4bcb70bbfe7542844957eddab88f2f6a459c6c27b1fd142241a0eeb80677
|
7
|
+
data.tar.gz: b78fd1639bb08d42c6840a057506115dab3adcab00161012a39ce84dd4f94d3ae08c63aba7c6ffe9d37a8fe6006555530fffd92e51f348de878a86e59517b525
|
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.
|
10
|
+
- Package version: 4.0.122.rc
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.122.rc.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.122.rc.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.122.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1298,6 +1298,7 @@ Not every change is committed to every SDK.
|
|
1298
1298
|
|
1299
1299
|
| Version | Date | Comments |
|
1300
1300
|
| --: | :-: | --- |
|
1301
|
+
| 4.0.122-RC | 01/24/2023 | auto order - cancel minimum and change balance options |
|
1301
1302
|
| 4.0.121-RC | 01/23/2023 | conversation - method to fetch single engagement record |
|
1302
1303
|
| 4.0.120-RC | 01/19/2023 | added skip_on_rebill field to coupon object |
|
1303
1304
|
| 4.0.119-RC | 01/19/2023 | convo - getConversationPermissions added |
|
data/docs/ItemAutoOrder.md
CHANGED
@@ -6,8 +6,11 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **auth_future_amount** | **Float** | Amount to try and authorize for the future rebill | [optional] |
|
8
8
|
| **auth_test_amount** | **Float** | Amount to try and test authorize | [optional] |
|
9
|
+
| **auto_order_cancel_charge_minimum_balance** | **Boolean** | If true, the cost of the cancel item will be the remaining balance of the minimum rebill or lifetime value | [optional] |
|
9
10
|
| **auto_order_cancel_item_id** | **String** | Item id to attempt charging the customer for if they cancel | [optional] |
|
10
11
|
| **auto_order_cancel_item_oid** | **Integer** | Item object identifier to attempt charging the customer for if they cancel | [optional] |
|
12
|
+
| **auto_order_cancel_minimum_life_time_value** | **Float** | The minimum life time value that must be paid in order to not be charged the cancellation item. | [optional] |
|
13
|
+
| **auto_order_cancel_minimum_rebill_value** | **Float** | The minimum rebill value that must be paid in order to not be charged the cancellation item. | [optional] |
|
11
14
|
| **auto_order_downgrade_items** | **Array<String>** | List of downgrade items presented to customer service representatives | [optional] |
|
12
15
|
| **auto_order_paused** | **Boolean** | True if the rebill processing of this item is paused | [optional] |
|
13
16
|
| **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] |
|
@@ -30,8 +33,11 @@ require 'ultracart_api'
|
|
30
33
|
instance = UltracartClient::ItemAutoOrder.new(
|
31
34
|
auth_future_amount: null,
|
32
35
|
auth_test_amount: null,
|
36
|
+
auto_order_cancel_charge_minimum_balance: null,
|
33
37
|
auto_order_cancel_item_id: null,
|
34
38
|
auto_order_cancel_item_oid: null,
|
39
|
+
auto_order_cancel_minimum_life_time_value: null,
|
40
|
+
auto_order_cancel_minimum_rebill_value: null,
|
35
41
|
auto_order_downgrade_items: null,
|
36
42
|
auto_order_paused: null,
|
37
43
|
auto_order_prohibit_expiring_cards: null,
|
@@ -21,12 +21,21 @@ module UltracartClient
|
|
21
21
|
# Amount to try and test authorize
|
22
22
|
attr_accessor :auth_test_amount
|
23
23
|
|
24
|
+
# If true, the cost of the cancel item will be the remaining balance of the minimum rebill or lifetime value
|
25
|
+
attr_accessor :auto_order_cancel_charge_minimum_balance
|
26
|
+
|
24
27
|
# Item id to attempt charging the customer for if they cancel
|
25
28
|
attr_accessor :auto_order_cancel_item_id
|
26
29
|
|
27
30
|
# Item object identifier to attempt charging the customer for if they cancel
|
28
31
|
attr_accessor :auto_order_cancel_item_oid
|
29
32
|
|
33
|
+
# The minimum life time value that must be paid in order to not be charged the cancellation item.
|
34
|
+
attr_accessor :auto_order_cancel_minimum_life_time_value
|
35
|
+
|
36
|
+
# The minimum rebill value that must be paid in order to not be charged the cancellation item.
|
37
|
+
attr_accessor :auto_order_cancel_minimum_rebill_value
|
38
|
+
|
30
39
|
# List of downgrade items presented to customer service representatives
|
31
40
|
attr_accessor :auto_order_downgrade_items
|
32
41
|
|
@@ -71,8 +80,11 @@ module UltracartClient
|
|
71
80
|
{
|
72
81
|
:'auth_future_amount' => :'auth_future_amount',
|
73
82
|
:'auth_test_amount' => :'auth_test_amount',
|
83
|
+
:'auto_order_cancel_charge_minimum_balance' => :'auto_order_cancel_charge_minimum_balance',
|
74
84
|
:'auto_order_cancel_item_id' => :'auto_order_cancel_item_id',
|
75
85
|
:'auto_order_cancel_item_oid' => :'auto_order_cancel_item_oid',
|
86
|
+
:'auto_order_cancel_minimum_life_time_value' => :'auto_order_cancel_minimum_life_time_value',
|
87
|
+
:'auto_order_cancel_minimum_rebill_value' => :'auto_order_cancel_minimum_rebill_value',
|
76
88
|
:'auto_order_downgrade_items' => :'auto_order_downgrade_items',
|
77
89
|
:'auto_order_paused' => :'auto_order_paused',
|
78
90
|
:'auto_order_prohibit_expiring_cards' => :'auto_order_prohibit_expiring_cards',
|
@@ -99,8 +111,11 @@ module UltracartClient
|
|
99
111
|
{
|
100
112
|
:'auth_future_amount' => :'Float',
|
101
113
|
:'auth_test_amount' => :'Float',
|
114
|
+
:'auto_order_cancel_charge_minimum_balance' => :'Boolean',
|
102
115
|
:'auto_order_cancel_item_id' => :'String',
|
103
116
|
:'auto_order_cancel_item_oid' => :'Integer',
|
117
|
+
:'auto_order_cancel_minimum_life_time_value' => :'Float',
|
118
|
+
:'auto_order_cancel_minimum_rebill_value' => :'Float',
|
104
119
|
:'auto_order_downgrade_items' => :'Array<String>',
|
105
120
|
:'auto_order_paused' => :'Boolean',
|
106
121
|
:'auto_order_prohibit_expiring_cards' => :'Integer',
|
@@ -146,6 +161,10 @@ module UltracartClient
|
|
146
161
|
self.auth_test_amount = attributes[:'auth_test_amount']
|
147
162
|
end
|
148
163
|
|
164
|
+
if attributes.key?(:'auto_order_cancel_charge_minimum_balance')
|
165
|
+
self.auto_order_cancel_charge_minimum_balance = attributes[:'auto_order_cancel_charge_minimum_balance']
|
166
|
+
end
|
167
|
+
|
149
168
|
if attributes.key?(:'auto_order_cancel_item_id')
|
150
169
|
self.auto_order_cancel_item_id = attributes[:'auto_order_cancel_item_id']
|
151
170
|
end
|
@@ -154,6 +173,14 @@ module UltracartClient
|
|
154
173
|
self.auto_order_cancel_item_oid = attributes[:'auto_order_cancel_item_oid']
|
155
174
|
end
|
156
175
|
|
176
|
+
if attributes.key?(:'auto_order_cancel_minimum_life_time_value')
|
177
|
+
self.auto_order_cancel_minimum_life_time_value = attributes[:'auto_order_cancel_minimum_life_time_value']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.key?(:'auto_order_cancel_minimum_rebill_value')
|
181
|
+
self.auto_order_cancel_minimum_rebill_value = attributes[:'auto_order_cancel_minimum_rebill_value']
|
182
|
+
end
|
183
|
+
|
157
184
|
if attributes.key?(:'auto_order_downgrade_items')
|
158
185
|
if (value = attributes[:'auto_order_downgrade_items']).is_a?(Array)
|
159
186
|
self.auto_order_downgrade_items = value
|
@@ -250,8 +277,11 @@ module UltracartClient
|
|
250
277
|
self.class == o.class &&
|
251
278
|
auth_future_amount == o.auth_future_amount &&
|
252
279
|
auth_test_amount == o.auth_test_amount &&
|
280
|
+
auto_order_cancel_charge_minimum_balance == o.auto_order_cancel_charge_minimum_balance &&
|
253
281
|
auto_order_cancel_item_id == o.auto_order_cancel_item_id &&
|
254
282
|
auto_order_cancel_item_oid == o.auto_order_cancel_item_oid &&
|
283
|
+
auto_order_cancel_minimum_life_time_value == o.auto_order_cancel_minimum_life_time_value &&
|
284
|
+
auto_order_cancel_minimum_rebill_value == o.auto_order_cancel_minimum_rebill_value &&
|
255
285
|
auto_order_downgrade_items == o.auto_order_downgrade_items &&
|
256
286
|
auto_order_paused == o.auto_order_paused &&
|
257
287
|
auto_order_prohibit_expiring_cards == o.auto_order_prohibit_expiring_cards &&
|
@@ -276,7 +306,7 @@ module UltracartClient
|
|
276
306
|
# Calculates hash code according to all attributes.
|
277
307
|
# @return [Integer] Hash code
|
278
308
|
def hash
|
279
|
-
[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
|
309
|
+
[auth_future_amount, auth_test_amount, auto_order_cancel_charge_minimum_balance, auto_order_cancel_item_id, auto_order_cancel_item_oid, auto_order_cancel_minimum_life_time_value, auto_order_cancel_minimum_rebill_value, 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
|
280
310
|
end
|
281
311
|
|
282
312
|
# 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: 4.0.
|
4
|
+
version: 4.0.122.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|