ultracart_api 3.9.5 → 3.9.6
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/AutoOrder.md +1 -0
- data/docs/EmailCommseqEmail.md +1 -0
- data/docs/EmailPerformance.md +1 -0
- data/docs/OrderAutoOrder.md +1 -0
- data/lib/ultracart_api/models/auto_order.rb +11 -1
- data/lib/ultracart_api/models/email_commseq_email.rb +11 -1
- data/lib/ultracart_api/models/email_performance.rb +45 -1
- data/lib/ultracart_api/models/order_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: 7b24e98917ef5f54fb712aead6d1f544fe121294afac179e2181e0ef18148612
|
|
4
|
+
data.tar.gz: 01beb929c534c20da76a204106e9f5b3bd65d24576fc22be521d497356b6e8b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15849669dc4c8acd98804036dcdd1f29b657b42aae7ba3986c0671d91e30c1c53d148791ad074e8a6d074d87bc198cefb2d5c38014ff9f97d3ab12cf5529f47e
|
|
7
|
+
data.tar.gz: 118a3d786da54a1d1954c28c14f4eb2765fdfb65f2d15d7ff18ac7c966fc108bd9467d9dedf46a0cc01c7866e7d60a58f8dd6a6bf2031c38d6206298430b6e9d
|
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.9.
|
|
10
|
+
- Package version: 3.9.6
|
|
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.9.
|
|
27
|
+
gem install ./ultracart_api-3.9.6.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.9.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.9.6.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.9.
|
|
35
|
+
gem 'ultracart_api', '~> 3.9.6'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1151,6 +1151,7 @@ Not every change is committed to every SDK.
|
|
|
1151
1151
|
|
|
1152
1152
|
| Version | Date | Comments |
|
|
1153
1153
|
| --: | :-: | --- |
|
|
1154
|
+
| 3.9.6 | 04/25/2022 | storefront communications email magic link setting |
|
|
1154
1155
|
| 3.9.5 | 04/14/2022 | postcard screenshot bug fixes |
|
|
1155
1156
|
| 3.9.4 | 04/13/2022 | Added spf DNS record to the sending domain object |
|
|
1156
1157
|
| 3.9.3 | 04/06/2022 | fix return object on send webhook test method |
|
data/docs/AutoOrder.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**auto_order_oid** | **Integer** | Auto order object identifier | [optional]
|
|
8
8
|
**cancel_after_next_x_orders** | **Integer** | Cancel this auto order after X additional rebills | [optional]
|
|
9
9
|
**cancel_downgrade** | **BOOLEAN** | True if the auto order was canceled because the customer purchased a downgrade item | [optional]
|
|
10
|
+
**cancel_reason** | **String** | The reason this auto order was canceled by either merchant or customer | [optional]
|
|
10
11
|
**cancel_upgrade** | **BOOLEAN** | True if the auto order was canceled because the customer purchased an upgrade item | [optional]
|
|
11
12
|
**canceled_by_user** | **String** | The user that canceled the auto order | [optional]
|
|
12
13
|
**canceled_dts** | **String** | The date/time that the auto order was canceled | [optional]
|
data/docs/EmailCommseqEmail.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**filter_profile_equation_json** | **String** | Filter profile equation json | [optional]
|
|
14
14
|
**individually_render** | **BOOLEAN** | Individually render | [optional]
|
|
15
15
|
**library_item_oid** | **Integer** | If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated. | [optional]
|
|
16
|
+
**magic_link** | **BOOLEAN** | True if email links should contain magic link tokens to log the customer in automatically | [optional]
|
|
16
17
|
**merchant_id** | **String** | Merchant ID | [optional]
|
|
17
18
|
**pending_review** | **BOOLEAN** | True if the content of this email is pending review by UltraCart | [optional]
|
|
18
19
|
**preview_text** | **String** | Preview text | [optional]
|
data/docs/EmailPerformance.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**customer_histogram** | [**EmailPerformanceCustomerHistogram**](EmailPerformanceCustomerHistogram.md) | | [optional]
|
|
12
12
|
**daily_stats** | [**Array<EmailPerformanceDaily>**](EmailPerformanceDaily.md) | Daily statistics used for charting | [optional]
|
|
13
13
|
**delivered_count** | **Integer** | Delivered count | [optional]
|
|
14
|
+
**loyalty_program_type** | **String** | Loyalty Program Type | [optional]
|
|
14
15
|
**max_active_customers** | **Integer** | Maximum active customers allowed under their billing plan | [optional]
|
|
15
16
|
**max_emails_per_day** | **Integer** | Max emails per day | [optional]
|
|
16
17
|
**max_emails_per_hour** | **Integer** | Max emails per hour | [optional]
|
data/docs/OrderAutoOrder.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**auto_order_oid** | **Integer** | Auto order object identifier | [optional]
|
|
8
8
|
**cancel_after_next_x_orders** | **Integer** | Cancel this auto order after X additional rebills | [optional]
|
|
9
9
|
**cancel_downgrade** | **BOOLEAN** | True if the auto order was canceled because the customer purchased a downgrade item | [optional]
|
|
10
|
+
**cancel_reason** | **String** | The reason this auto order was canceled by either merchant or customer | [optional]
|
|
10
11
|
**cancel_upgrade** | **BOOLEAN** | True if the auto order was canceled because the customer purchased an upgrade item | [optional]
|
|
11
12
|
**canceled_by_user** | **String** | The user that canceled the auto order | [optional]
|
|
12
13
|
**canceled_dts** | **String** | The date/time that the auto order was canceled | [optional]
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
|
26
26
|
# True if the auto order was canceled because the customer purchased a downgrade item
|
|
27
27
|
attr_accessor :cancel_downgrade
|
|
28
28
|
|
|
29
|
+
# The reason this auto order was canceled by either merchant or customer
|
|
30
|
+
attr_accessor :cancel_reason
|
|
31
|
+
|
|
29
32
|
# True if the auto order was canceled because the customer purchased an upgrade item
|
|
30
33
|
attr_accessor :cancel_upgrade
|
|
31
34
|
|
|
@@ -105,6 +108,7 @@ module UltracartClient
|
|
|
105
108
|
:'auto_order_oid' => :'auto_order_oid',
|
|
106
109
|
:'cancel_after_next_x_orders' => :'cancel_after_next_x_orders',
|
|
107
110
|
:'cancel_downgrade' => :'cancel_downgrade',
|
|
111
|
+
:'cancel_reason' => :'cancel_reason',
|
|
108
112
|
:'cancel_upgrade' => :'cancel_upgrade',
|
|
109
113
|
:'canceled_by_user' => :'canceled_by_user',
|
|
110
114
|
:'canceled_dts' => :'canceled_dts',
|
|
@@ -132,6 +136,7 @@ module UltracartClient
|
|
|
132
136
|
:'auto_order_oid' => :'Integer',
|
|
133
137
|
:'cancel_after_next_x_orders' => :'Integer',
|
|
134
138
|
:'cancel_downgrade' => :'BOOLEAN',
|
|
139
|
+
:'cancel_reason' => :'String',
|
|
135
140
|
:'cancel_upgrade' => :'BOOLEAN',
|
|
136
141
|
:'canceled_by_user' => :'String',
|
|
137
142
|
:'canceled_dts' => :'String',
|
|
@@ -176,6 +181,10 @@ module UltracartClient
|
|
|
176
181
|
self.cancel_downgrade = attributes[:'cancel_downgrade']
|
|
177
182
|
end
|
|
178
183
|
|
|
184
|
+
if attributes.has_key?(:'cancel_reason')
|
|
185
|
+
self.cancel_reason = attributes[:'cancel_reason']
|
|
186
|
+
end
|
|
187
|
+
|
|
179
188
|
if attributes.has_key?(:'cancel_upgrade')
|
|
180
189
|
self.cancel_upgrade = attributes[:'cancel_upgrade']
|
|
181
190
|
end
|
|
@@ -285,6 +294,7 @@ module UltracartClient
|
|
|
285
294
|
auto_order_oid == o.auto_order_oid &&
|
|
286
295
|
cancel_after_next_x_orders == o.cancel_after_next_x_orders &&
|
|
287
296
|
cancel_downgrade == o.cancel_downgrade &&
|
|
297
|
+
cancel_reason == o.cancel_reason &&
|
|
288
298
|
cancel_upgrade == o.cancel_upgrade &&
|
|
289
299
|
canceled_by_user == o.canceled_by_user &&
|
|
290
300
|
canceled_dts == o.canceled_dts &&
|
|
@@ -313,7 +323,7 @@ module UltracartClient
|
|
|
313
323
|
# Calculates hash code according to all attributes.
|
|
314
324
|
# @return [Fixnum] Hash code
|
|
315
325
|
def hash
|
|
316
|
-
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
|
326
|
+
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
|
317
327
|
end
|
|
318
328
|
|
|
319
329
|
# Builds the object from hash
|
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
|
44
44
|
# If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated.
|
|
45
45
|
attr_accessor :library_item_oid
|
|
46
46
|
|
|
47
|
+
# True if email links should contain magic link tokens to log the customer in automatically
|
|
48
|
+
attr_accessor :magic_link
|
|
49
|
+
|
|
47
50
|
# Merchant ID
|
|
48
51
|
attr_accessor :merchant_id
|
|
49
52
|
|
|
@@ -102,6 +105,7 @@ module UltracartClient
|
|
|
102
105
|
:'filter_profile_equation_json' => :'filter_profile_equation_json',
|
|
103
106
|
:'individually_render' => :'individually_render',
|
|
104
107
|
:'library_item_oid' => :'library_item_oid',
|
|
108
|
+
:'magic_link' => :'magic_link',
|
|
105
109
|
:'merchant_id' => :'merchant_id',
|
|
106
110
|
:'pending_review' => :'pending_review',
|
|
107
111
|
:'preview_text' => :'preview_text',
|
|
@@ -133,6 +137,7 @@ module UltracartClient
|
|
|
133
137
|
:'filter_profile_equation_json' => :'String',
|
|
134
138
|
:'individually_render' => :'BOOLEAN',
|
|
135
139
|
:'library_item_oid' => :'Integer',
|
|
140
|
+
:'magic_link' => :'BOOLEAN',
|
|
136
141
|
:'merchant_id' => :'String',
|
|
137
142
|
:'pending_review' => :'BOOLEAN',
|
|
138
143
|
:'preview_text' => :'String',
|
|
@@ -199,6 +204,10 @@ module UltracartClient
|
|
|
199
204
|
self.library_item_oid = attributes[:'library_item_oid']
|
|
200
205
|
end
|
|
201
206
|
|
|
207
|
+
if attributes.has_key?(:'magic_link')
|
|
208
|
+
self.magic_link = attributes[:'magic_link']
|
|
209
|
+
end
|
|
210
|
+
|
|
202
211
|
if attributes.has_key?(:'merchant_id')
|
|
203
212
|
self.merchant_id = attributes[:'merchant_id']
|
|
204
213
|
end
|
|
@@ -288,6 +297,7 @@ module UltracartClient
|
|
|
288
297
|
filter_profile_equation_json == o.filter_profile_equation_json &&
|
|
289
298
|
individually_render == o.individually_render &&
|
|
290
299
|
library_item_oid == o.library_item_oid &&
|
|
300
|
+
magic_link == o.magic_link &&
|
|
291
301
|
merchant_id == o.merchant_id &&
|
|
292
302
|
pending_review == o.pending_review &&
|
|
293
303
|
preview_text == o.preview_text &&
|
|
@@ -314,7 +324,7 @@ module UltracartClient
|
|
|
314
324
|
# Calculates hash code according to all attributes.
|
|
315
325
|
# @return [Fixnum] Hash code
|
|
316
326
|
def hash
|
|
317
|
-
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
|
|
327
|
+
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
|
|
318
328
|
end
|
|
319
329
|
|
|
320
330
|
# Builds the object from hash
|
|
@@ -37,6 +37,9 @@ module UltracartClient
|
|
|
37
37
|
# Delivered count
|
|
38
38
|
attr_accessor :delivered_count
|
|
39
39
|
|
|
40
|
+
# Loyalty Program Type
|
|
41
|
+
attr_accessor :loyalty_program_type
|
|
42
|
+
|
|
40
43
|
# Maximum active customers allowed under their billing plan
|
|
41
44
|
attr_accessor :max_active_customers
|
|
42
45
|
|
|
@@ -79,6 +82,28 @@ module UltracartClient
|
|
|
79
82
|
# Total transactions emails sent
|
|
80
83
|
attr_accessor :transactional_send_count
|
|
81
84
|
|
|
85
|
+
class EnumAttributeValidator
|
|
86
|
+
attr_reader :datatype
|
|
87
|
+
attr_reader :allowable_values
|
|
88
|
+
|
|
89
|
+
def initialize(datatype, allowable_values)
|
|
90
|
+
@allowable_values = allowable_values.map do |value|
|
|
91
|
+
case datatype.to_s
|
|
92
|
+
when /Integer/i
|
|
93
|
+
value.to_i
|
|
94
|
+
when /Float/i
|
|
95
|
+
value.to_f
|
|
96
|
+
else
|
|
97
|
+
value
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def valid?(value)
|
|
103
|
+
!value || allowable_values.include?(value)
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
82
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
83
108
|
def self.attribute_map
|
|
84
109
|
{
|
|
@@ -90,6 +115,7 @@ module UltracartClient
|
|
|
90
115
|
:'customer_histogram' => :'customer_histogram',
|
|
91
116
|
:'daily_stats' => :'daily_stats',
|
|
92
117
|
:'delivered_count' => :'delivered_count',
|
|
118
|
+
:'loyalty_program_type' => :'loyalty_program_type',
|
|
93
119
|
:'max_active_customers' => :'max_active_customers',
|
|
94
120
|
:'max_emails_per_day' => :'max_emails_per_day',
|
|
95
121
|
:'max_emails_per_hour' => :'max_emails_per_hour',
|
|
@@ -118,6 +144,7 @@ module UltracartClient
|
|
|
118
144
|
:'customer_histogram' => :'EmailPerformanceCustomerHistogram',
|
|
119
145
|
:'daily_stats' => :'Array<EmailPerformanceDaily>',
|
|
120
146
|
:'delivered_count' => :'Integer',
|
|
147
|
+
:'loyalty_program_type' => :'String',
|
|
121
148
|
:'max_active_customers' => :'Integer',
|
|
122
149
|
:'max_emails_per_day' => :'Integer',
|
|
123
150
|
:'max_emails_per_hour' => :'Integer',
|
|
@@ -177,6 +204,10 @@ module UltracartClient
|
|
|
177
204
|
self.delivered_count = attributes[:'delivered_count']
|
|
178
205
|
end
|
|
179
206
|
|
|
207
|
+
if attributes.has_key?(:'loyalty_program_type')
|
|
208
|
+
self.loyalty_program_type = attributes[:'loyalty_program_type']
|
|
209
|
+
end
|
|
210
|
+
|
|
180
211
|
if attributes.has_key?(:'max_active_customers')
|
|
181
212
|
self.max_active_customers = attributes[:'max_active_customers']
|
|
182
213
|
end
|
|
@@ -244,9 +275,21 @@ module UltracartClient
|
|
|
244
275
|
# Check to see if the all the properties in the model are valid
|
|
245
276
|
# @return true if the model is valid
|
|
246
277
|
def valid?
|
|
278
|
+
loyalty_program_type_validator = EnumAttributeValidator.new('String', ['disabled', 'points', 'cashback'])
|
|
279
|
+
return false unless loyalty_program_type_validator.valid?(@loyalty_program_type)
|
|
247
280
|
true
|
|
248
281
|
end
|
|
249
282
|
|
|
283
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
284
|
+
# @param [Object] loyalty_program_type Object to be assigned
|
|
285
|
+
def loyalty_program_type=(loyalty_program_type)
|
|
286
|
+
validator = EnumAttributeValidator.new('String', ['disabled', 'points', 'cashback'])
|
|
287
|
+
unless validator.valid?(loyalty_program_type)
|
|
288
|
+
fail ArgumentError, 'invalid value for "loyalty_program_type", must be one of #{validator.allowable_values}.'
|
|
289
|
+
end
|
|
290
|
+
@loyalty_program_type = loyalty_program_type
|
|
291
|
+
end
|
|
292
|
+
|
|
250
293
|
# Checks equality by comparing each attribute.
|
|
251
294
|
# @param [Object] Object to be compared
|
|
252
295
|
def ==(o)
|
|
@@ -260,6 +303,7 @@ module UltracartClient
|
|
|
260
303
|
customer_histogram == o.customer_histogram &&
|
|
261
304
|
daily_stats == o.daily_stats &&
|
|
262
305
|
delivered_count == o.delivered_count &&
|
|
306
|
+
loyalty_program_type == o.loyalty_program_type &&
|
|
263
307
|
max_active_customers == o.max_active_customers &&
|
|
264
308
|
max_emails_per_day == o.max_emails_per_day &&
|
|
265
309
|
max_emails_per_hour == o.max_emails_per_hour &&
|
|
@@ -285,7 +329,7 @@ module UltracartClient
|
|
|
285
329
|
# Calculates hash code according to all attributes.
|
|
286
330
|
# @return [Fixnum] Hash code
|
|
287
331
|
def hash
|
|
288
|
-
[active_customers, actual_customers, bounce_count, bounce_percentage, bounce_percentage_formatted, customer_histogram, daily_stats, delivered_count, max_active_customers, max_emails_per_day, max_emails_per_hour, max_emails_per_month, paused_for_spam, revenue, sent_emails_per_day, sent_emails_per_hour, sent_emails_per_month, sequence_send_count, spam_count, spam_percentage, spam_percentage_formatted, transactional_send_count].hash
|
|
332
|
+
[active_customers, actual_customers, bounce_count, bounce_percentage, bounce_percentage_formatted, customer_histogram, daily_stats, delivered_count, loyalty_program_type, max_active_customers, max_emails_per_day, max_emails_per_hour, max_emails_per_month, paused_for_spam, revenue, sent_emails_per_day, sent_emails_per_hour, sent_emails_per_month, sequence_send_count, spam_count, spam_percentage, spam_percentage_formatted, transactional_send_count].hash
|
|
289
333
|
end
|
|
290
334
|
|
|
291
335
|
# Builds the object from hash
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
|
26
26
|
# True if the auto order was canceled because the customer purchased a downgrade item
|
|
27
27
|
attr_accessor :cancel_downgrade
|
|
28
28
|
|
|
29
|
+
# The reason this auto order was canceled by either merchant or customer
|
|
30
|
+
attr_accessor :cancel_reason
|
|
31
|
+
|
|
29
32
|
# True if the auto order was canceled because the customer purchased an upgrade item
|
|
30
33
|
attr_accessor :cancel_upgrade
|
|
31
34
|
|
|
@@ -100,6 +103,7 @@ module UltracartClient
|
|
|
100
103
|
:'auto_order_oid' => :'auto_order_oid',
|
|
101
104
|
:'cancel_after_next_x_orders' => :'cancel_after_next_x_orders',
|
|
102
105
|
:'cancel_downgrade' => :'cancel_downgrade',
|
|
106
|
+
:'cancel_reason' => :'cancel_reason',
|
|
103
107
|
:'cancel_upgrade' => :'cancel_upgrade',
|
|
104
108
|
:'canceled_by_user' => :'canceled_by_user',
|
|
105
109
|
:'canceled_dts' => :'canceled_dts',
|
|
@@ -125,6 +129,7 @@ module UltracartClient
|
|
|
125
129
|
:'auto_order_oid' => :'Integer',
|
|
126
130
|
:'cancel_after_next_x_orders' => :'Integer',
|
|
127
131
|
:'cancel_downgrade' => :'BOOLEAN',
|
|
132
|
+
:'cancel_reason' => :'String',
|
|
128
133
|
:'cancel_upgrade' => :'BOOLEAN',
|
|
129
134
|
:'canceled_by_user' => :'String',
|
|
130
135
|
:'canceled_dts' => :'String',
|
|
@@ -167,6 +172,10 @@ module UltracartClient
|
|
|
167
172
|
self.cancel_downgrade = attributes[:'cancel_downgrade']
|
|
168
173
|
end
|
|
169
174
|
|
|
175
|
+
if attributes.has_key?(:'cancel_reason')
|
|
176
|
+
self.cancel_reason = attributes[:'cancel_reason']
|
|
177
|
+
end
|
|
178
|
+
|
|
170
179
|
if attributes.has_key?(:'cancel_upgrade')
|
|
171
180
|
self.cancel_upgrade = attributes[:'cancel_upgrade']
|
|
172
181
|
end
|
|
@@ -266,6 +275,7 @@ module UltracartClient
|
|
|
266
275
|
auto_order_oid == o.auto_order_oid &&
|
|
267
276
|
cancel_after_next_x_orders == o.cancel_after_next_x_orders &&
|
|
268
277
|
cancel_downgrade == o.cancel_downgrade &&
|
|
278
|
+
cancel_reason == o.cancel_reason &&
|
|
269
279
|
cancel_upgrade == o.cancel_upgrade &&
|
|
270
280
|
canceled_by_user == o.canceled_by_user &&
|
|
271
281
|
canceled_dts == o.canceled_dts &&
|
|
@@ -292,7 +302,7 @@ module UltracartClient
|
|
|
292
302
|
# Calculates hash code according to all attributes.
|
|
293
303
|
# @return [Fixnum] Hash code
|
|
294
304
|
def hash
|
|
295
|
-
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, next_attempt, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
|
305
|
+
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, next_attempt, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
|
296
306
|
end
|
|
297
307
|
|
|
298
308
|
# 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.9.
|
|
4
|
+
version: 3.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|