ultracart_api 3.1.17 → 3.1.41

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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -4
  3. data/docs/CouponPercentOffMsrpItems.md +1 -1
  4. data/docs/CustomerLoyalty.md +1 -0
  5. data/docs/EmailCampaign.md +2 -1
  6. data/docs/EmailFlow.md +2 -1
  7. data/docs/LibraryItemAttribute.md +0 -1
  8. data/docs/OrderApi.md +5 -1
  9. data/docs/OrderProcessPaymentRequest.md +1 -0
  10. data/docs/OrderQuery.md +3 -1
  11. data/docs/OrderSummary.md +1 -0
  12. data/docs/ScreenRecording.md +13 -0
  13. data/docs/ScreenRecordingAdPlatform.md +13 -0
  14. data/docs/ScreenRecordingFilter.md +12 -0
  15. data/docs/ScreenRecordingFilterPageView.md +1 -0
  16. data/docs/ScreenRecordingFilterValues.md +12 -2
  17. data/docs/ScreenRecordingFilterValuesPageView.md +13 -0
  18. data/docs/ScreenRecordingHeatmap.md +19 -0
  19. data/docs/ScreenRecordingHeatmapIndexResponse.md +12 -0
  20. data/docs/ScreenRecordingHeatmapRequest.md +9 -0
  21. data/docs/ScreenRecordingHeatmapReset.md +8 -0
  22. data/docs/ScreenRecordingHeatmapResponse.md +12 -0
  23. data/docs/ScreenRecordingHeatmapUrl.md +12 -0
  24. data/docs/ScreenRecordingPageView.md +3 -0
  25. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  26. data/docs/ScreenRecordingQueryResponse.md +3 -0
  27. data/docs/ScreenRecordingSegment.md +3 -0
  28. data/docs/ScreenRecordingSettings.md +5 -0
  29. data/docs/StorefrontApi.md +158 -0
  30. data/docs/TaxJarConfig.md +1 -0
  31. data/lib/ultracart_api.rb +8 -0
  32. data/lib/ultracart_api/api/order_api.rb +8 -2
  33. data/lib/ultracart_api/api/storefront_api.rb +176 -0
  34. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
  35. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  36. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  37. data/lib/ultracart_api/models/email_flow.rb +12 -2
  38. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  39. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  40. data/lib/ultracart_api/models/order_query.rb +22 -2
  41. data/lib/ultracart_api/models/order_summary.rb +10 -1
  42. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  43. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  44. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  45. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +10 -1
  46. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  47. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +237 -0
  48. data/lib/ultracart_api/models/screen_recording_heatmap.rb +283 -0
  49. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +223 -0
  50. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +193 -0
  51. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +184 -0
  52. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +221 -0
  53. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +222 -0
  54. data/lib/ultracart_api/models/screen_recording_page_view.rb +30 -1
  55. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  56. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  57. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  58. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  59. data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
  60. data/lib/ultracart_api/version.rb +1 -1
  61. metadata +18 -2
@@ -20,7 +20,7 @@ module UltracartClient
20
20
  # A list of items which cannot be discounted.
21
21
  attr_accessor :excluded_items
22
22
 
23
- # An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
23
+ # An list of items which will receive a discount.
24
24
  attr_accessor :items
25
25
 
26
26
  # The (optional) maximum quantity of discounted items.
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # Ledger entries
21
21
  attr_accessor :ledger_entries
22
22
 
23
+ # Pending Points
24
+ attr_accessor :pending_points
25
+
23
26
  # Redemptions
24
27
  attr_accessor :redemptions
25
28
 
@@ -28,6 +31,7 @@ module UltracartClient
28
31
  {
29
32
  :'current_points' => :'current_points',
30
33
  :'ledger_entries' => :'ledger_entries',
34
+ :'pending_points' => :'pending_points',
31
35
  :'redemptions' => :'redemptions'
32
36
  }
33
37
  end
@@ -37,6 +41,7 @@ module UltracartClient
37
41
  {
38
42
  :'current_points' => :'Integer',
39
43
  :'ledger_entries' => :'Array<CustomerLoyaltyLedger>',
44
+ :'pending_points' => :'Integer',
40
45
  :'redemptions' => :'Array<CustomerLoyaltyRedemption>'
41
46
  }
42
47
  end
@@ -59,6 +64,10 @@ module UltracartClient
59
64
  end
60
65
  end
61
66
 
67
+ if attributes.has_key?(:'pending_points')
68
+ self.pending_points = attributes[:'pending_points']
69
+ end
70
+
62
71
  if attributes.has_key?(:'redemptions')
63
72
  if (value = attributes[:'redemptions']).is_a?(Array)
64
73
  self.redemptions = value
@@ -86,6 +95,7 @@ module UltracartClient
86
95
  self.class == o.class &&
87
96
  current_points == o.current_points &&
88
97
  ledger_entries == o.ledger_entries &&
98
+ pending_points == o.pending_points &&
89
99
  redemptions == o.redemptions
90
100
  end
91
101
 
@@ -98,7 +108,7 @@ module UltracartClient
98
108
  # Calculates hash code according to all attributes.
99
109
  # @return [Fixnum] Hash code
100
110
  def hash
101
- [current_points, ledger_entries, redemptions].hash
111
+ [current_points, ledger_entries, pending_points, redemptions].hash
102
112
  end
103
113
 
104
114
  # Builds the object from hash
@@ -29,9 +29,12 @@ module UltracartClient
29
29
  # Email communication sequence UUID
30
30
  attr_accessor :email_communication_sequence_uuid
31
31
 
32
- # True if the customer should end the flow once they purchase
32
+ # True if the customer should end the flow once they purchase from this campaign
33
33
  attr_accessor :end_once_customer_purchases
34
34
 
35
+ # True if the customer should end the flow once they purchase from anywhere
36
+ attr_accessor :end_once_customer_purchases_anywhere
37
+
35
38
  # Campaign folder UUID. Null for uncategorized
36
39
  attr_accessor :esp_campaign_folder_uuid
37
40
 
@@ -92,6 +95,7 @@ module UltracartClient
92
95
  :'email_campaign_uuid' => :'email_campaign_uuid',
93
96
  :'email_communication_sequence_uuid' => :'email_communication_sequence_uuid',
94
97
  :'end_once_customer_purchases' => :'end_once_customer_purchases',
98
+ :'end_once_customer_purchases_anywhere' => :'end_once_customer_purchases_anywhere',
95
99
  :'esp_campaign_folder_uuid' => :'esp_campaign_folder_uuid',
96
100
  :'esp_domain_user' => :'esp_domain_user',
97
101
  :'esp_domain_uuid' => :'esp_domain_uuid',
@@ -121,6 +125,7 @@ module UltracartClient
121
125
  :'email_campaign_uuid' => :'String',
122
126
  :'email_communication_sequence_uuid' => :'String',
123
127
  :'end_once_customer_purchases' => :'BOOLEAN',
128
+ :'end_once_customer_purchases_anywhere' => :'BOOLEAN',
124
129
  :'esp_campaign_folder_uuid' => :'String',
125
130
  :'esp_domain_user' => :'String',
126
131
  :'esp_domain_uuid' => :'String',
@@ -173,6 +178,10 @@ module UltracartClient
173
178
  self.end_once_customer_purchases = attributes[:'end_once_customer_purchases']
174
179
  end
175
180
 
181
+ if attributes.has_key?(:'end_once_customer_purchases_anywhere')
182
+ self.end_once_customer_purchases_anywhere = attributes[:'end_once_customer_purchases_anywhere']
183
+ end
184
+
176
185
  if attributes.has_key?(:'esp_campaign_folder_uuid')
177
186
  self.esp_campaign_folder_uuid = attributes[:'esp_campaign_folder_uuid']
178
187
  end
@@ -283,6 +292,7 @@ module UltracartClient
283
292
  email_campaign_uuid == o.email_campaign_uuid &&
284
293
  email_communication_sequence_uuid == o.email_communication_sequence_uuid &&
285
294
  end_once_customer_purchases == o.end_once_customer_purchases &&
295
+ end_once_customer_purchases_anywhere == o.end_once_customer_purchases_anywhere &&
286
296
  esp_campaign_folder_uuid == o.esp_campaign_folder_uuid &&
287
297
  esp_domain_user == o.esp_domain_user &&
288
298
  esp_domain_uuid == o.esp_domain_uuid &&
@@ -311,7 +321,7 @@ module UltracartClient
311
321
  # Calculates hash code according to all attributes.
312
322
  # @return [Fixnum] Hash code
313
323
  def hash
314
- [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, status, status_dts, storefront_oid].hash
324
+ [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, status, status_dts, storefront_oid].hash
315
325
  end
316
326
 
317
327
  # Builds the object from hash
@@ -35,9 +35,12 @@ module UltracartClient
35
35
  # Email flow UUID
36
36
  attr_accessor :email_flow_uuid
37
37
 
38
- # True if the customer should end the flow once they purchase
38
+ # True if the customer should end the flow once they purchase from an email on this flow
39
39
  attr_accessor :end_once_customer_purchases
40
40
 
41
+ # True if the customer should end the flow once they purchase from any source
42
+ attr_accessor :end_once_customer_purchases_anywhere
43
+
41
44
  # Number of enrolled customers.
42
45
  attr_accessor :enrolled_customers
43
46
 
@@ -106,6 +109,7 @@ module UltracartClient
106
109
  :'email_communication_sequence_uuid' => :'email_communication_sequence_uuid',
107
110
  :'email_flow_uuid' => :'email_flow_uuid',
108
111
  :'end_once_customer_purchases' => :'end_once_customer_purchases',
112
+ :'end_once_customer_purchases_anywhere' => :'end_once_customer_purchases_anywhere',
109
113
  :'enrolled_customers' => :'enrolled_customers',
110
114
  :'esp_domain_user' => :'esp_domain_user',
111
115
  :'esp_domain_uuid' => :'esp_domain_uuid',
@@ -139,6 +143,7 @@ module UltracartClient
139
143
  :'email_communication_sequence_uuid' => :'String',
140
144
  :'email_flow_uuid' => :'String',
141
145
  :'end_once_customer_purchases' => :'BOOLEAN',
146
+ :'end_once_customer_purchases_anywhere' => :'BOOLEAN',
142
147
  :'enrolled_customers' => :'Integer',
143
148
  :'esp_domain_user' => :'String',
144
149
  :'esp_domain_uuid' => :'String',
@@ -201,6 +206,10 @@ module UltracartClient
201
206
  self.end_once_customer_purchases = attributes[:'end_once_customer_purchases']
202
207
  end
203
208
 
209
+ if attributes.has_key?(:'end_once_customer_purchases_anywhere')
210
+ self.end_once_customer_purchases_anywhere = attributes[:'end_once_customer_purchases_anywhere']
211
+ end
212
+
204
213
  if attributes.has_key?(:'enrolled_customers')
205
214
  self.enrolled_customers = attributes[:'enrolled_customers']
206
215
  end
@@ -319,6 +328,7 @@ module UltracartClient
319
328
  email_communication_sequence_uuid == o.email_communication_sequence_uuid &&
320
329
  email_flow_uuid == o.email_flow_uuid &&
321
330
  end_once_customer_purchases == o.end_once_customer_purchases &&
331
+ end_once_customer_purchases_anywhere == o.end_once_customer_purchases_anywhere &&
322
332
  enrolled_customers == o.enrolled_customers &&
323
333
  esp_domain_user == o.esp_domain_user &&
324
334
  esp_domain_uuid == o.esp_domain_uuid &&
@@ -349,7 +359,7 @@ module UltracartClient
349
359
  # Calculates hash code according to all attributes.
350
360
  # @return [Fixnum] Hash code
351
361
  def hash
352
- [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
362
+ [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
353
363
  end
354
364
 
355
365
  # Builds the object from hash
@@ -14,8 +14,6 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class LibraryItemAttribute
17
- attr_accessor :library_item_oid
18
-
19
17
  attr_accessor :name
20
18
 
21
19
  attr_accessor :value
@@ -23,7 +21,6 @@ module UltracartClient
23
21
  # Attribute mapping from ruby-style variable name to JSON key.
24
22
  def self.attribute_map
25
23
  {
26
- :'library_item_oid' => :'libraryItemOid',
27
24
  :'name' => :'name',
28
25
  :'value' => :'value'
29
26
  }
@@ -32,7 +29,6 @@ module UltracartClient
32
29
  # Attribute type mapping.
33
30
  def self.swagger_types
34
31
  {
35
- :'library_item_oid' => :'Integer',
36
32
  :'name' => :'String',
37
33
  :'value' => :'String'
38
34
  }
@@ -46,10 +42,6 @@ module UltracartClient
46
42
  # convert string to symbol for hash key
47
43
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
44
 
49
- if attributes.has_key?(:'libraryItemOid')
50
- self.library_item_oid = attributes[:'libraryItemOid']
51
- end
52
-
53
45
  if attributes.has_key?(:'name')
54
46
  self.name = attributes[:'name']
55
47
  end
@@ -77,7 +69,6 @@ module UltracartClient
77
69
  def ==(o)
78
70
  return true if self.equal?(o)
79
71
  self.class == o.class &&
80
- library_item_oid == o.library_item_oid &&
81
72
  name == o.name &&
82
73
  value == o.value
83
74
  end
@@ -91,7 +82,7 @@ module UltracartClient
91
82
  # Calculates hash code according to all attributes.
92
83
  # @return [Fixnum] Hash code
93
84
  def hash
94
- [library_item_oid, name, value].hash
85
+ [name, value].hash
95
86
  end
96
87
 
97
88
  # Builds the object from hash
@@ -14,12 +14,16 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class OrderProcessPaymentRequest
17
+ # Specific amount to bill (optional). If not specified the total of the order is billed.
18
+ attr_accessor :amount
19
+
17
20
  # Card verification number token from hosted fields used during credit card transaction processing (optional)
18
21
  attr_accessor :card_verification_number_token
19
22
 
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
21
24
  def self.attribute_map
22
25
  {
26
+ :'amount' => :'amount',
23
27
  :'card_verification_number_token' => :'card_verification_number_token'
24
28
  }
25
29
  end
@@ -27,6 +31,7 @@ module UltracartClient
27
31
  # Attribute type mapping.
28
32
  def self.swagger_types
29
33
  {
34
+ :'amount' => :'Float',
30
35
  :'card_verification_number_token' => :'String'
31
36
  }
32
37
  end
@@ -39,6 +44,10 @@ module UltracartClient
39
44
  # convert string to symbol for hash key
40
45
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
41
46
 
47
+ if attributes.has_key?(:'amount')
48
+ self.amount = attributes[:'amount']
49
+ end
50
+
42
51
  if attributes.has_key?(:'card_verification_number_token')
43
52
  self.card_verification_number_token = attributes[:'card_verification_number_token']
44
53
  end
@@ -62,6 +71,7 @@ module UltracartClient
62
71
  def ==(o)
63
72
  return true if self.equal?(o)
64
73
  self.class == o.class &&
74
+ amount == o.amount &&
65
75
  card_verification_number_token == o.card_verification_number_token
66
76
  end
67
77
 
@@ -74,7 +84,7 @@ module UltracartClient
74
84
  # Calculates hash code according to all attributes.
75
85
  # @return [Fixnum] Hash code
76
86
  def hash
77
- [card_verification_number_token].hash
87
+ [amount, card_verification_number_token].hash
78
88
  end
79
89
 
80
90
  # Builds the object from hash
@@ -110,12 +110,18 @@ module UltracartClient
110
110
  # Screen branding theme code associated with the order (legacy checkout)
111
111
  attr_accessor :screen_branding_theme_code
112
112
 
113
- # Date/time that the order was shipping
113
+ # Date/time that the order was shipped
114
114
  attr_accessor :shipment_date_begin
115
115
 
116
116
  # Date/time that the order was shipped
117
117
  attr_accessor :shipment_date_end
118
118
 
119
+ # Date/time that the order should ship on
120
+ attr_accessor :shipped_on_date_begin
121
+
122
+ # Date/time that the order should ship on
123
+ attr_accessor :shipped_on_date_end
124
+
119
125
  # State for United States otherwise region or province for other countries
120
126
  attr_accessor :state_region
121
127
 
@@ -184,6 +190,8 @@ module UltracartClient
184
190
  :'screen_branding_theme_code' => :'screen_branding_theme_code',
185
191
  :'shipment_date_begin' => :'shipment_date_begin',
186
192
  :'shipment_date_end' => :'shipment_date_end',
193
+ :'shipped_on_date_begin' => :'shipped_on_date_begin',
194
+ :'shipped_on_date_end' => :'shipped_on_date_end',
187
195
  :'state_region' => :'state_region',
188
196
  :'storefront_host_name' => :'storefront_host_name',
189
197
  :'total' => :'total'
@@ -227,6 +235,8 @@ module UltracartClient
227
235
  :'screen_branding_theme_code' => :'String',
228
236
  :'shipment_date_begin' => :'String',
229
237
  :'shipment_date_end' => :'String',
238
+ :'shipped_on_date_begin' => :'String',
239
+ :'shipped_on_date_end' => :'String',
230
240
  :'state_region' => :'String',
231
241
  :'storefront_host_name' => :'String',
232
242
  :'total' => :'Float'
@@ -377,6 +387,14 @@ module UltracartClient
377
387
  self.shipment_date_end = attributes[:'shipment_date_end']
378
388
  end
379
389
 
390
+ if attributes.has_key?(:'shipped_on_date_begin')
391
+ self.shipped_on_date_begin = attributes[:'shipped_on_date_begin']
392
+ end
393
+
394
+ if attributes.has_key?(:'shipped_on_date_end')
395
+ self.shipped_on_date_end = attributes[:'shipped_on_date_end']
396
+ end
397
+
380
398
  if attributes.has_key?(:'state_region')
381
399
  self.state_region = attributes[:'state_region']
382
400
  end
@@ -646,6 +664,8 @@ module UltracartClient
646
664
  screen_branding_theme_code == o.screen_branding_theme_code &&
647
665
  shipment_date_begin == o.shipment_date_begin &&
648
666
  shipment_date_end == o.shipment_date_end &&
667
+ shipped_on_date_begin == o.shipped_on_date_begin &&
668
+ shipped_on_date_end == o.shipped_on_date_end &&
649
669
  state_region == o.state_region &&
650
670
  storefront_host_name == o.storefront_host_name &&
651
671
  total == o.total
@@ -660,7 +680,7 @@ module UltracartClient
660
680
  # Calculates hash code according to all attributes.
661
681
  # @return [Fixnum] Hash code
662
682
  def hash
663
- [cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, state_region, storefront_host_name, total].hash
683
+ [cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
664
684
  end
665
685
 
666
686
  # Builds the object from hash
@@ -16,6 +16,8 @@ module UltracartClient
16
16
  class OrderSummary
17
17
  attr_accessor :actual_fulfillment
18
18
 
19
+ attr_accessor :actual_payment_processing
20
+
19
21
  attr_accessor :actual_shipping
20
22
 
21
23
  attr_accessor :arbitrary_shipping_handling_total
@@ -52,6 +54,7 @@ module UltracartClient
52
54
  def self.attribute_map
53
55
  {
54
56
  :'actual_fulfillment' => :'actual_fulfillment',
57
+ :'actual_payment_processing' => :'actual_payment_processing',
55
58
  :'actual_shipping' => :'actual_shipping',
56
59
  :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
57
60
  :'other_refunded' => :'other_refunded',
@@ -75,6 +78,7 @@ module UltracartClient
75
78
  def self.swagger_types
76
79
  {
77
80
  :'actual_fulfillment' => :'Currency',
81
+ :'actual_payment_processing' => :'Currency',
78
82
  :'actual_shipping' => :'Currency',
79
83
  :'arbitrary_shipping_handling_total' => :'Currency',
80
84
  :'other_refunded' => :'Currency',
@@ -106,6 +110,10 @@ module UltracartClient
106
110
  self.actual_fulfillment = attributes[:'actual_fulfillment']
107
111
  end
108
112
 
113
+ if attributes.has_key?(:'actual_payment_processing')
114
+ self.actual_payment_processing = attributes[:'actual_payment_processing']
115
+ end
116
+
109
117
  if attributes.has_key?(:'actual_shipping')
110
118
  self.actual_shipping = attributes[:'actual_shipping']
111
119
  end
@@ -190,6 +198,7 @@ module UltracartClient
190
198
  return true if self.equal?(o)
191
199
  self.class == o.class &&
192
200
  actual_fulfillment == o.actual_fulfillment &&
201
+ actual_payment_processing == o.actual_payment_processing &&
193
202
  actual_shipping == o.actual_shipping &&
194
203
  arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
195
204
  other_refunded == o.other_refunded &&
@@ -217,7 +226,7 @@ module UltracartClient
217
226
  # Calculates hash code according to all attributes.
218
227
  # @return [Fixnum] Hash code
219
228
  def hash
220
- [actual_fulfillment, actual_shipping, arbitrary_shipping_handling_total, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
229
+ [actual_fulfillment, actual_payment_processing, actual_shipping, arbitrary_shipping_handling_total, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
221
230
  end
222
231
 
223
232
  # Builds the object from hash
@@ -14,14 +14,36 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ScreenRecording
17
+ attr_accessor :ad_platform
18
+
17
19
  attr_accessor :analytics_client_oid
18
20
 
19
21
  attr_accessor :analytics_session_dts
20
22
 
21
23
  attr_accessor :analytics_session_oid
22
24
 
25
+ # Campaign Name
26
+ attr_accessor :communications_campaign_name
27
+
28
+ # Campaign UUID
29
+ attr_accessor :communications_campaign_uuid
30
+
31
+ # Email subject
32
+ attr_accessor :communications_email_subject
33
+
34
+ # Email UUID
35
+ attr_accessor :communications_email_uuid
36
+
37
+ # Flow Name
38
+ attr_accessor :communications_flow_name
39
+
40
+ # Flow UUID
41
+ attr_accessor :communications_flow_uuid
42
+
23
43
  attr_accessor :email
24
44
 
45
+ attr_accessor :email_domain
46
+
25
47
  # Ending timestamp
26
48
  attr_accessor :end_timestamp
27
49
 
@@ -43,6 +65,9 @@ module UltracartClient
43
65
 
44
66
  attr_accessor :geolocation_state
45
67
 
68
+ # Language ISO code
69
+ attr_accessor :language_iso_code
70
+
46
71
  attr_accessor :merchant_id
47
72
 
48
73
  attr_accessor :merchant_notes
@@ -53,6 +78,11 @@ module UltracartClient
53
78
 
54
79
  attr_accessor :page_views
55
80
 
81
+ # ISO 3 Letter language code that the customer would prefer
82
+ attr_accessor :preferred_language
83
+
84
+ attr_accessor :referrer_domain
85
+
56
86
  attr_accessor :rrweb_version
57
87
 
58
88
  attr_accessor :screen_recording_uuid
@@ -80,6 +110,12 @@ module UltracartClient
80
110
 
81
111
  attr_accessor :user_properties
82
112
 
113
+ # UTM Campaign
114
+ attr_accessor :utm_campaign
115
+
116
+ # UTM Source
117
+ attr_accessor :utm_source
118
+
83
119
  # Timestamp this visitor was first seen
84
120
  attr_accessor :visitor_first_seen
85
121
 
@@ -94,10 +130,18 @@ module UltracartClient
94
130
  # Attribute mapping from ruby-style variable name to JSON key.
95
131
  def self.attribute_map
96
132
  {
133
+ :'ad_platform' => :'ad_platform',
97
134
  :'analytics_client_oid' => :'analytics_client_oid',
98
135
  :'analytics_session_dts' => :'analytics_session_dts',
99
136
  :'analytics_session_oid' => :'analytics_session_oid',
137
+ :'communications_campaign_name' => :'communications_campaign_name',
138
+ :'communications_campaign_uuid' => :'communications_campaign_uuid',
139
+ :'communications_email_subject' => :'communications_email_subject',
140
+ :'communications_email_uuid' => :'communications_email_uuid',
141
+ :'communications_flow_name' => :'communications_flow_name',
142
+ :'communications_flow_uuid' => :'communications_flow_uuid',
100
143
  :'email' => :'email',
144
+ :'email_domain' => :'email_domain',
101
145
  :'end_timestamp' => :'end_timestamp',
102
146
  :'esp_customer_uuid' => :'esp_customer_uuid',
103
147
  :'events_gz_size' => :'events_gz_size',
@@ -107,11 +151,14 @@ module UltracartClient
107
151
  :'geolocation' => :'geolocation',
108
152
  :'geolocation_country' => :'geolocation_country',
109
153
  :'geolocation_state' => :'geolocation_state',
154
+ :'language_iso_code' => :'language_iso_code',
110
155
  :'merchant_id' => :'merchant_id',
111
156
  :'merchant_notes' => :'merchant_notes',
112
157
  :'order_id' => :'order_id',
113
158
  :'page_view_count' => :'page_view_count',
114
159
  :'page_views' => :'page_views',
160
+ :'preferred_language' => :'preferred_language',
161
+ :'referrer_domain' => :'referrer_domain',
115
162
  :'rrweb_version' => :'rrweb_version',
116
163
  :'screen_recording_uuid' => :'screen_recording_uuid',
117
164
  :'signed_download_url' => :'signed_download_url',
@@ -125,6 +172,8 @@ module UltracartClient
125
172
  :'user_agent_raw' => :'user_agent_raw',
126
173
  :'user_ip' => :'user_ip',
127
174
  :'user_properties' => :'user_properties',
175
+ :'utm_campaign' => :'utm_campaign',
176
+ :'utm_source' => :'utm_source',
128
177
  :'visitor_first_seen' => :'visitor_first_seen',
129
178
  :'visitor_number' => :'visitor_number',
130
179
  :'watched' => :'watched',
@@ -136,10 +185,18 @@ module UltracartClient
136
185
  # Attribute type mapping.
137
186
  def self.swagger_types
138
187
  {
188
+ :'ad_platform' => :'ScreenRecordingAdPlatform',
139
189
  :'analytics_client_oid' => :'Integer',
140
190
  :'analytics_session_dts' => :'Integer',
141
191
  :'analytics_session_oid' => :'Integer',
192
+ :'communications_campaign_name' => :'String',
193
+ :'communications_campaign_uuid' => :'String',
194
+ :'communications_email_subject' => :'String',
195
+ :'communications_email_uuid' => :'String',
196
+ :'communications_flow_name' => :'String',
197
+ :'communications_flow_uuid' => :'String',
142
198
  :'email' => :'String',
199
+ :'email_domain' => :'String',
143
200
  :'end_timestamp' => :'String',
144
201
  :'esp_customer_uuid' => :'String',
145
202
  :'events_gz_size' => :'Integer',
@@ -149,11 +206,14 @@ module UltracartClient
149
206
  :'geolocation' => :'GeoPoint',
150
207
  :'geolocation_country' => :'String',
151
208
  :'geolocation_state' => :'String',
209
+ :'language_iso_code' => :'String',
152
210
  :'merchant_id' => :'String',
153
211
  :'merchant_notes' => :'String',
154
212
  :'order_id' => :'String',
155
213
  :'page_view_count' => :'Integer',
156
214
  :'page_views' => :'Array<ScreenRecordingPageView>',
215
+ :'preferred_language' => :'String',
216
+ :'referrer_domain' => :'String',
157
217
  :'rrweb_version' => :'String',
158
218
  :'screen_recording_uuid' => :'String',
159
219
  :'signed_download_url' => :'String',
@@ -167,6 +227,8 @@ module UltracartClient
167
227
  :'user_agent_raw' => :'String',
168
228
  :'user_ip' => :'String',
169
229
  :'user_properties' => :'Array<ScreenRecordingUserProperty>',
230
+ :'utm_campaign' => :'String',
231
+ :'utm_source' => :'String',
170
232
  :'visitor_first_seen' => :'String',
171
233
  :'visitor_number' => :'Integer',
172
234
  :'watched' => :'BOOLEAN',
@@ -183,6 +245,10 @@ module UltracartClient
183
245
  # convert string to symbol for hash key
184
246
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
185
247
 
248
+ if attributes.has_key?(:'ad_platform')
249
+ self.ad_platform = attributes[:'ad_platform']
250
+ end
251
+
186
252
  if attributes.has_key?(:'analytics_client_oid')
187
253
  self.analytics_client_oid = attributes[:'analytics_client_oid']
188
254
  end
@@ -195,10 +261,38 @@ module UltracartClient
195
261
  self.analytics_session_oid = attributes[:'analytics_session_oid']
196
262
  end
197
263
 
264
+ if attributes.has_key?(:'communications_campaign_name')
265
+ self.communications_campaign_name = attributes[:'communications_campaign_name']
266
+ end
267
+
268
+ if attributes.has_key?(:'communications_campaign_uuid')
269
+ self.communications_campaign_uuid = attributes[:'communications_campaign_uuid']
270
+ end
271
+
272
+ if attributes.has_key?(:'communications_email_subject')
273
+ self.communications_email_subject = attributes[:'communications_email_subject']
274
+ end
275
+
276
+ if attributes.has_key?(:'communications_email_uuid')
277
+ self.communications_email_uuid = attributes[:'communications_email_uuid']
278
+ end
279
+
280
+ if attributes.has_key?(:'communications_flow_name')
281
+ self.communications_flow_name = attributes[:'communications_flow_name']
282
+ end
283
+
284
+ if attributes.has_key?(:'communications_flow_uuid')
285
+ self.communications_flow_uuid = attributes[:'communications_flow_uuid']
286
+ end
287
+
198
288
  if attributes.has_key?(:'email')
199
289
  self.email = attributes[:'email']
200
290
  end
201
291
 
292
+ if attributes.has_key?(:'email_domain')
293
+ self.email_domain = attributes[:'email_domain']
294
+ end
295
+
202
296
  if attributes.has_key?(:'end_timestamp')
203
297
  self.end_timestamp = attributes[:'end_timestamp']
204
298
  end
@@ -237,6 +331,10 @@ module UltracartClient
237
331
  self.geolocation_state = attributes[:'geolocation_state']
238
332
  end
239
333
 
334
+ if attributes.has_key?(:'language_iso_code')
335
+ self.language_iso_code = attributes[:'language_iso_code']
336
+ end
337
+
240
338
  if attributes.has_key?(:'merchant_id')
241
339
  self.merchant_id = attributes[:'merchant_id']
242
340
  end
@@ -259,6 +357,14 @@ module UltracartClient
259
357
  end
260
358
  end
261
359
 
360
+ if attributes.has_key?(:'preferred_language')
361
+ self.preferred_language = attributes[:'preferred_language']
362
+ end
363
+
364
+ if attributes.has_key?(:'referrer_domain')
365
+ self.referrer_domain = attributes[:'referrer_domain']
366
+ end
367
+
262
368
  if attributes.has_key?(:'rrweb_version')
263
369
  self.rrweb_version = attributes[:'rrweb_version']
264
370
  end
@@ -319,6 +425,14 @@ module UltracartClient
319
425
  end
320
426
  end
321
427
 
428
+ if attributes.has_key?(:'utm_campaign')
429
+ self.utm_campaign = attributes[:'utm_campaign']
430
+ end
431
+
432
+ if attributes.has_key?(:'utm_source')
433
+ self.utm_source = attributes[:'utm_source']
434
+ end
435
+
322
436
  if attributes.has_key?(:'visitor_first_seen')
323
437
  self.visitor_first_seen = attributes[:'visitor_first_seen']
324
438
  end
@@ -358,10 +472,18 @@ module UltracartClient
358
472
  def ==(o)
359
473
  return true if self.equal?(o)
360
474
  self.class == o.class &&
475
+ ad_platform == o.ad_platform &&
361
476
  analytics_client_oid == o.analytics_client_oid &&
362
477
  analytics_session_dts == o.analytics_session_dts &&
363
478
  analytics_session_oid == o.analytics_session_oid &&
479
+ communications_campaign_name == o.communications_campaign_name &&
480
+ communications_campaign_uuid == o.communications_campaign_uuid &&
481
+ communications_email_subject == o.communications_email_subject &&
482
+ communications_email_uuid == o.communications_email_uuid &&
483
+ communications_flow_name == o.communications_flow_name &&
484
+ communications_flow_uuid == o.communications_flow_uuid &&
364
485
  email == o.email &&
486
+ email_domain == o.email_domain &&
365
487
  end_timestamp == o.end_timestamp &&
366
488
  esp_customer_uuid == o.esp_customer_uuid &&
367
489
  events_gz_size == o.events_gz_size &&
@@ -371,11 +493,14 @@ module UltracartClient
371
493
  geolocation == o.geolocation &&
372
494
  geolocation_country == o.geolocation_country &&
373
495
  geolocation_state == o.geolocation_state &&
496
+ language_iso_code == o.language_iso_code &&
374
497
  merchant_id == o.merchant_id &&
375
498
  merchant_notes == o.merchant_notes &&
376
499
  order_id == o.order_id &&
377
500
  page_view_count == o.page_view_count &&
378
501
  page_views == o.page_views &&
502
+ preferred_language == o.preferred_language &&
503
+ referrer_domain == o.referrer_domain &&
379
504
  rrweb_version == o.rrweb_version &&
380
505
  screen_recording_uuid == o.screen_recording_uuid &&
381
506
  signed_download_url == o.signed_download_url &&
@@ -389,6 +514,8 @@ module UltracartClient
389
514
  user_agent_raw == o.user_agent_raw &&
390
515
  user_ip == o.user_ip &&
391
516
  user_properties == o.user_properties &&
517
+ utm_campaign == o.utm_campaign &&
518
+ utm_source == o.utm_source &&
392
519
  visitor_first_seen == o.visitor_first_seen &&
393
520
  visitor_number == o.visitor_number &&
394
521
  watched == o.watched &&
@@ -405,7 +532,7 @@ module UltracartClient
405
532
  # Calculates hash code according to all attributes.
406
533
  # @return [Fixnum] Hash code
407
534
  def hash
408
- [analytics_client_oid, analytics_session_dts, analytics_session_oid, email, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, merchant_id, merchant_notes, order_id, page_view_count, page_views, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, visitor_first_seen, visitor_number, watched, window_height, window_width].hash
535
+ [ad_platform, analytics_client_oid, analytics_session_dts, analytics_session_oid, communications_campaign_name, communications_campaign_uuid, communications_email_subject, communications_email_uuid, communications_flow_name, communications_flow_uuid, email, email_domain, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, language_iso_code, merchant_id, merchant_notes, order_id, page_view_count, page_views, preferred_language, referrer_domain, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, utm_campaign, utm_source, visitor_first_seen, visitor_number, watched, window_height, window_width].hash
409
536
  end
410
537
 
411
538
  # Builds the object from hash