ultracart_api 3.10.104 → 3.10.105

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e6ed916ee2c1d483d50eaae43ccdfdeb7aa9b8eeee3186bb1de867bb3e885ce
4
- data.tar.gz: 59bb7c731337e33f1e21a5745b034ddf77fa070979223e4f99db987884cb5389
3
+ metadata.gz: 15db4fd92033b5a4ba8feb10486cce1da679c93269c7e529341ee550723f2a60
4
+ data.tar.gz: 316b4551e5fdc7d1fe5e689e3203dfcddc97eb0cb25dee71ba0218c96d89d224
5
5
  SHA512:
6
- metadata.gz: '068dd4a1f94fa34da588534433e082d8804e37c276cc89bf45293c6aaa7c44b8a50171938f6813a8f4ac660ef11a76ac6bde571c924c95f82dddae5becacb3cf'
7
- data.tar.gz: bc133396e089b3cdcf9eb741c713f2ae5761e1836ffceba990970224aa98ce2583a76ea23670b98c2db9627f68f120ac9fea09fa7a9b0d357db70731016edadb
6
+ metadata.gz: 0a9f1a6ae31b460ccc05863a239e131cf9946b00e961cfa9d3d6f5b4ac58ebbf2735fa82c144ec573e10a700d873dd1d76b9a863175e5151d2e117b11dd3df75
7
+ data.tar.gz: e6f0239d6481e916ff3b02b86447f74959fb7c11a1c3fdae849a42d036d5d360dd09ad2da4105f17089bc9e01e927181432f687ecc7906c1da5a77e9a8a297b3
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.10.104
10
+ - Package version: 3.10.105
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.10.104.gem
27
+ gem install ./ultracart_api-3.10.105.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.104.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.105.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.10.104'
35
+ gem 'ultracart_api', '~> 3.10.105'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1290,6 +1290,7 @@ Not every change is committed to every SDK.
1290
1290
 
1291
1291
  | Version | Date | Comments |
1292
1292
  | --: | :-: | --- |
1293
+ | 3.10.105 | 01/24/2023 | auto order - cancel minimum and change balance options |
1293
1294
  | 3.10.104 | 01/23/2023 | conversation - method to fetch single engagement record |
1294
1295
  | 3.10.103 | 01/19/2023 | added skip_on_rebill field to coupon object |
1295
1296
  | 3.10.102 | 01/19/2023 | convo - getConversationPermissions added |
@@ -5,8 +5,11 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **auth_future_amount** | **Float** | Amount to try and authorize for the future rebill | [optional]
7
7
  **auth_test_amount** | **Float** | Amount to try and test authorize | [optional]
8
+ **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]
8
9
  **auto_order_cancel_item_id** | **String** | Item id to attempt charging the customer for if they cancel | [optional]
9
10
  **auto_order_cancel_item_oid** | **Integer** | Item object identifier to attempt charging the customer for if they cancel | [optional]
11
+ **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]
12
+ **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]
10
13
  **auto_order_downgrade_items** | **Array<String>** | List of downgrade items presented to customer service representatives | [optional]
11
14
  **auto_order_paused** | **BOOLEAN** | True if the rebill processing of this item is paused | [optional]
12
15
  **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]
@@ -20,12 +20,21 @@ module UltracartClient
20
20
  # Amount to try and test authorize
21
21
  attr_accessor :auth_test_amount
22
22
 
23
+ # If true, the cost of the cancel item will be the remaining balance of the minimum rebill or lifetime value
24
+ attr_accessor :auto_order_cancel_charge_minimum_balance
25
+
23
26
  # Item id to attempt charging the customer for if they cancel
24
27
  attr_accessor :auto_order_cancel_item_id
25
28
 
26
29
  # Item object identifier to attempt charging the customer for if they cancel
27
30
  attr_accessor :auto_order_cancel_item_oid
28
31
 
32
+ # The minimum life time value that must be paid in order to not be charged the cancellation item.
33
+ attr_accessor :auto_order_cancel_minimum_life_time_value
34
+
35
+ # The minimum rebill value that must be paid in order to not be charged the cancellation item.
36
+ attr_accessor :auto_order_cancel_minimum_rebill_value
37
+
29
38
  # List of downgrade items presented to customer service representatives
30
39
  attr_accessor :auto_order_downgrade_items
31
40
 
@@ -70,8 +79,11 @@ module UltracartClient
70
79
  {
71
80
  :'auth_future_amount' => :'auth_future_amount',
72
81
  :'auth_test_amount' => :'auth_test_amount',
82
+ :'auto_order_cancel_charge_minimum_balance' => :'auto_order_cancel_charge_minimum_balance',
73
83
  :'auto_order_cancel_item_id' => :'auto_order_cancel_item_id',
74
84
  :'auto_order_cancel_item_oid' => :'auto_order_cancel_item_oid',
85
+ :'auto_order_cancel_minimum_life_time_value' => :'auto_order_cancel_minimum_life_time_value',
86
+ :'auto_order_cancel_minimum_rebill_value' => :'auto_order_cancel_minimum_rebill_value',
75
87
  :'auto_order_downgrade_items' => :'auto_order_downgrade_items',
76
88
  :'auto_order_paused' => :'auto_order_paused',
77
89
  :'auto_order_prohibit_expiring_cards' => :'auto_order_prohibit_expiring_cards',
@@ -93,8 +105,11 @@ module UltracartClient
93
105
  {
94
106
  :'auth_future_amount' => :'Float',
95
107
  :'auth_test_amount' => :'Float',
108
+ :'auto_order_cancel_charge_minimum_balance' => :'BOOLEAN',
96
109
  :'auto_order_cancel_item_id' => :'String',
97
110
  :'auto_order_cancel_item_oid' => :'Integer',
111
+ :'auto_order_cancel_minimum_life_time_value' => :'Float',
112
+ :'auto_order_cancel_minimum_rebill_value' => :'Float',
98
113
  :'auto_order_downgrade_items' => :'Array<String>',
99
114
  :'auto_order_paused' => :'BOOLEAN',
100
115
  :'auto_order_prohibit_expiring_cards' => :'Integer',
@@ -127,6 +142,10 @@ module UltracartClient
127
142
  self.auth_test_amount = attributes[:'auth_test_amount']
128
143
  end
129
144
 
145
+ if attributes.has_key?(:'auto_order_cancel_charge_minimum_balance')
146
+ self.auto_order_cancel_charge_minimum_balance = attributes[:'auto_order_cancel_charge_minimum_balance']
147
+ end
148
+
130
149
  if attributes.has_key?(:'auto_order_cancel_item_id')
131
150
  self.auto_order_cancel_item_id = attributes[:'auto_order_cancel_item_id']
132
151
  end
@@ -135,6 +154,14 @@ module UltracartClient
135
154
  self.auto_order_cancel_item_oid = attributes[:'auto_order_cancel_item_oid']
136
155
  end
137
156
 
157
+ if attributes.has_key?(:'auto_order_cancel_minimum_life_time_value')
158
+ self.auto_order_cancel_minimum_life_time_value = attributes[:'auto_order_cancel_minimum_life_time_value']
159
+ end
160
+
161
+ if attributes.has_key?(:'auto_order_cancel_minimum_rebill_value')
162
+ self.auto_order_cancel_minimum_rebill_value = attributes[:'auto_order_cancel_minimum_rebill_value']
163
+ end
164
+
138
165
  if attributes.has_key?(:'auto_order_downgrade_items')
139
166
  if (value = attributes[:'auto_order_downgrade_items']).is_a?(Array)
140
167
  self.auto_order_downgrade_items = value
@@ -231,8 +258,11 @@ module UltracartClient
231
258
  self.class == o.class &&
232
259
  auth_future_amount == o.auth_future_amount &&
233
260
  auth_test_amount == o.auth_test_amount &&
261
+ auto_order_cancel_charge_minimum_balance == o.auto_order_cancel_charge_minimum_balance &&
234
262
  auto_order_cancel_item_id == o.auto_order_cancel_item_id &&
235
263
  auto_order_cancel_item_oid == o.auto_order_cancel_item_oid &&
264
+ auto_order_cancel_minimum_life_time_value == o.auto_order_cancel_minimum_life_time_value &&
265
+ auto_order_cancel_minimum_rebill_value == o.auto_order_cancel_minimum_rebill_value &&
236
266
  auto_order_downgrade_items == o.auto_order_downgrade_items &&
237
267
  auto_order_paused == o.auto_order_paused &&
238
268
  auto_order_prohibit_expiring_cards == o.auto_order_prohibit_expiring_cards &&
@@ -257,7 +287,7 @@ module UltracartClient
257
287
  # Calculates hash code according to all attributes.
258
288
  # @return [Fixnum] Hash code
259
289
  def 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
290
+ [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
261
291
  end
262
292
 
263
293
  # 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.10.104'
14
+ VERSION = '3.10.105'
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.10.104
4
+ version: 3.10.105
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-23 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus