ultracart_api 4.0.56.rc → 4.0.59.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/docs/EmailCampaign.md +4 -0
- data/docs/EmailCommseqSequenceTestRequest.md +13 -1
- data/docs/EmailFlow.md +4 -0
- data/docs/EmailSettings.md +4 -0
- data/docs/ExperimentVariation.md +2 -0
- data/docs/ExperimentVariationStat.md +2 -0
- data/docs/ItemReview.md +90 -0
- data/docs/ItemReviews.md +2 -0
- data/docs/OrderApi.md +2 -0
- data/lib/ultracart_api/api/order_api.rb +3 -0
- data/lib/ultracart_api/models/email_campaign.rb +21 -1
- data/lib/ultracart_api/models/email_commseq_sequence_test_request.rb +58 -4
- data/lib/ultracart_api/models/email_flow.rb +21 -1
- data/lib/ultracart_api/models/email_settings.rb +19 -1
- data/lib/ultracart_api/models/experiment_variation.rb +11 -1
- data/lib/ultracart_api/models/experiment_variation_stat.rb +11 -1
- data/lib/ultracart_api/models/item_review.rb +545 -0
- data/lib/ultracart_api/models/item_reviews.rb +12 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +1 -0
- metadata +4 -2
@@ -33,6 +33,10 @@ module UltracartClient
|
|
33
33
|
|
34
34
|
attr_accessor :postcard_from_state
|
35
35
|
|
36
|
+
attr_accessor :sms_esp_twilio_uuid
|
37
|
+
|
38
|
+
attr_accessor :sms_phone_number
|
39
|
+
|
36
40
|
attr_accessor :transactional_esp_domain_user
|
37
41
|
|
38
42
|
attr_accessor :transactional_esp_domain_uuid
|
@@ -51,6 +55,8 @@ module UltracartClient
|
|
51
55
|
:'postcard_from_name' => :'postcard_from_name',
|
52
56
|
:'postcard_from_postal_code' => :'postcard_from_postal_code',
|
53
57
|
:'postcard_from_state' => :'postcard_from_state',
|
58
|
+
:'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
|
59
|
+
:'sms_phone_number' => :'sms_phone_number',
|
54
60
|
:'transactional_esp_domain_user' => :'transactional_esp_domain_user',
|
55
61
|
:'transactional_esp_domain_uuid' => :'transactional_esp_domain_uuid',
|
56
62
|
:'transactional_esp_friendly_name' => :'transactional_esp_friendly_name'
|
@@ -74,6 +80,8 @@ module UltracartClient
|
|
74
80
|
:'postcard_from_name' => :'String',
|
75
81
|
:'postcard_from_postal_code' => :'String',
|
76
82
|
:'postcard_from_state' => :'String',
|
83
|
+
:'sms_esp_twilio_uuid' => :'String',
|
84
|
+
:'sms_phone_number' => :'String',
|
77
85
|
:'transactional_esp_domain_user' => :'String',
|
78
86
|
:'transactional_esp_domain_uuid' => :'String',
|
79
87
|
:'transactional_esp_friendly_name' => :'String'
|
@@ -137,6 +145,14 @@ module UltracartClient
|
|
137
145
|
self.postcard_from_state = attributes[:'postcard_from_state']
|
138
146
|
end
|
139
147
|
|
148
|
+
if attributes.key?(:'sms_esp_twilio_uuid')
|
149
|
+
self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'sms_phone_number')
|
153
|
+
self.sms_phone_number = attributes[:'sms_phone_number']
|
154
|
+
end
|
155
|
+
|
140
156
|
if attributes.key?(:'transactional_esp_domain_user')
|
141
157
|
self.transactional_esp_domain_user = attributes[:'transactional_esp_domain_user']
|
142
158
|
end
|
@@ -177,6 +193,8 @@ module UltracartClient
|
|
177
193
|
postcard_from_name == o.postcard_from_name &&
|
178
194
|
postcard_from_postal_code == o.postcard_from_postal_code &&
|
179
195
|
postcard_from_state == o.postcard_from_state &&
|
196
|
+
sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
|
197
|
+
sms_phone_number == o.sms_phone_number &&
|
180
198
|
transactional_esp_domain_user == o.transactional_esp_domain_user &&
|
181
199
|
transactional_esp_domain_uuid == o.transactional_esp_domain_uuid &&
|
182
200
|
transactional_esp_friendly_name == o.transactional_esp_friendly_name
|
@@ -191,7 +209,7 @@ module UltracartClient
|
|
191
209
|
# Calculates hash code according to all attributes.
|
192
210
|
# @return [Integer] Hash code
|
193
211
|
def hash
|
194
|
-
[marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
|
212
|
+
[marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
|
195
213
|
end
|
196
214
|
|
197
215
|
# Builds the object from hash
|
@@ -66,6 +66,9 @@ module UltracartClient
|
|
66
66
|
# Total sessions for this variation
|
67
67
|
attr_accessor :session_count
|
68
68
|
|
69
|
+
# SMS Opt Ins for this variation
|
70
|
+
attr_accessor :sms_opt_ins
|
71
|
+
|
69
72
|
# Percentage of the traffic this variation is currently receiving
|
70
73
|
attr_accessor :traffic_percentage
|
71
74
|
|
@@ -101,6 +104,7 @@ module UltracartClient
|
|
101
104
|
:'paused' => :'paused',
|
102
105
|
:'revenue' => :'revenue',
|
103
106
|
:'session_count' => :'session_count',
|
107
|
+
:'sms_opt_ins' => :'sms_opt_ins',
|
104
108
|
:'traffic_percentage' => :'traffic_percentage',
|
105
109
|
:'url' => :'url',
|
106
110
|
:'variation_name' => :'variation_name',
|
@@ -134,6 +138,7 @@ module UltracartClient
|
|
134
138
|
:'paused' => :'Boolean',
|
135
139
|
:'revenue' => :'Float',
|
136
140
|
:'session_count' => :'Integer',
|
141
|
+
:'sms_opt_ins' => :'Integer',
|
137
142
|
:'traffic_percentage' => :'Float',
|
138
143
|
:'url' => :'String',
|
139
144
|
:'variation_name' => :'String',
|
@@ -233,6 +238,10 @@ module UltracartClient
|
|
233
238
|
self.session_count = attributes[:'session_count']
|
234
239
|
end
|
235
240
|
|
241
|
+
if attributes.key?(:'sms_opt_ins')
|
242
|
+
self.sms_opt_ins = attributes[:'sms_opt_ins']
|
243
|
+
end
|
244
|
+
|
236
245
|
if attributes.key?(:'traffic_percentage')
|
237
246
|
self.traffic_percentage = attributes[:'traffic_percentage']
|
238
247
|
end
|
@@ -289,6 +298,7 @@ module UltracartClient
|
|
289
298
|
paused == o.paused &&
|
290
299
|
revenue == o.revenue &&
|
291
300
|
session_count == o.session_count &&
|
301
|
+
sms_opt_ins == o.sms_opt_ins &&
|
292
302
|
traffic_percentage == o.traffic_percentage &&
|
293
303
|
url == o.url &&
|
294
304
|
variation_name == o.variation_name &&
|
@@ -305,7 +315,7 @@ module UltracartClient
|
|
305
315
|
# Calculates hash code according to all attributes.
|
306
316
|
# @return [Integer] Hash code
|
307
317
|
def hash
|
308
|
-
[add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, paused, revenue, session_count, traffic_percentage, url, variation_name, variation_number, winner].hash
|
318
|
+
[add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, paused, revenue, session_count, sms_opt_ins, traffic_percentage, url, variation_name, variation_number, winner].hash
|
309
319
|
end
|
310
320
|
|
311
321
|
# Builds the object from hash
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
45
45
|
# Total sessions for this variation
|
46
46
|
attr_accessor :session_count
|
47
47
|
|
48
|
+
# Total SMS opt in count for this variation
|
49
|
+
attr_accessor :sms_opt_in_count
|
50
|
+
|
48
51
|
# Date/time that the statistic was created
|
49
52
|
attr_accessor :stat_dts
|
50
53
|
|
@@ -61,6 +64,7 @@ module UltracartClient
|
|
61
64
|
:'page_view_count' => :'page_view_count',
|
62
65
|
:'revenue' => :'revenue',
|
63
66
|
:'session_count' => :'session_count',
|
67
|
+
:'sms_opt_in_count' => :'sms_opt_in_count',
|
64
68
|
:'stat_dts' => :'stat_dts'
|
65
69
|
}
|
66
70
|
end
|
@@ -83,6 +87,7 @@ module UltracartClient
|
|
83
87
|
:'page_view_count' => :'Integer',
|
84
88
|
:'revenue' => :'Float',
|
85
89
|
:'session_count' => :'Integer',
|
90
|
+
:'sms_opt_in_count' => :'Integer',
|
86
91
|
:'stat_dts' => :'String'
|
87
92
|
}
|
88
93
|
end
|
@@ -148,6 +153,10 @@ module UltracartClient
|
|
148
153
|
self.session_count = attributes[:'session_count']
|
149
154
|
end
|
150
155
|
|
156
|
+
if attributes.key?(:'sms_opt_in_count')
|
157
|
+
self.sms_opt_in_count = attributes[:'sms_opt_in_count']
|
158
|
+
end
|
159
|
+
|
151
160
|
if attributes.key?(:'stat_dts')
|
152
161
|
self.stat_dts = attributes[:'stat_dts']
|
153
162
|
end
|
@@ -181,6 +190,7 @@ module UltracartClient
|
|
181
190
|
page_view_count == o.page_view_count &&
|
182
191
|
revenue == o.revenue &&
|
183
192
|
session_count == o.session_count &&
|
193
|
+
sms_opt_in_count == o.sms_opt_in_count &&
|
184
194
|
stat_dts == o.stat_dts
|
185
195
|
end
|
186
196
|
|
@@ -193,7 +203,7 @@ module UltracartClient
|
|
193
203
|
# Calculates hash code according to all attributes.
|
194
204
|
# @return [Integer] Hash code
|
195
205
|
def hash
|
196
|
-
[add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, page_view_count, revenue, session_count, stat_dts].hash
|
206
|
+
[add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
|
197
207
|
end
|
198
208
|
|
199
209
|
# Builds the object from hash
|