ultracart_api 3.6.0 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -4
- data/docs/OrderItem.md +1 -0
- data/docs/OrderPayment.md +1 -0
- data/docs/OrderPaymentInsurance.md +9 -0
- data/docs/PaymentsConfiguration.md +1 -2
- data/docs/PaymentsConfigurationInsurance.md +9 -0
- data/docs/PaymentsConfigurationWePay.md +0 -1
- data/docs/ScreenRecordingFilter.md +20 -0
- data/docs/ScreenRecordingFilterPageView.md +9 -0
- data/lib/ultracart_api/models/order_item.rb +11 -1
- data/lib/ultracart_api/models/order_payment.rb +12 -3
- data/lib/ultracart_api/models/order_payment_insurance.rb +195 -0
- data/lib/ultracart_api/models/payments_configuration.rb +10 -19
- data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +2 -2
- data/lib/ultracart_api/models/payments_configuration_insurance.rb +194 -0
- data/lib/ultracart_api/models/payments_configuration_we_pay.rb +1 -10
- data/lib/ultracart_api/models/screen_recording_filter.rb +181 -1
- data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +85 -4
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +2 -0
- metadata +6 -2
@@ -28,6 +28,8 @@ module UltracartClient
|
|
28
28
|
|
29
29
|
attr_accessor :echeck
|
30
30
|
|
31
|
+
attr_accessor :insurance
|
32
|
+
|
31
33
|
attr_accessor :loan_hero
|
32
34
|
|
33
35
|
attr_accessor :money_order
|
@@ -43,10 +45,6 @@ module UltracartClient
|
|
43
45
|
# Internal flag used to determine if accounting codes should be shown on the screen or not. This flag is true if the merchant has a Quickbooks integration configured.
|
44
46
|
attr_accessor :show_accounting_code
|
45
47
|
|
46
|
-
attr_accessor :switch_to_sub_tab
|
47
|
-
|
48
|
-
attr_accessor :switch_to_tab
|
49
|
-
|
50
48
|
attr_accessor :ultracart_payments_wepay
|
51
49
|
|
52
50
|
attr_accessor :wire_transfer
|
@@ -61,6 +59,7 @@ module UltracartClient
|
|
61
59
|
:'cod' => :'cod',
|
62
60
|
:'credit_card' => :'credit_card',
|
63
61
|
:'echeck' => :'echeck',
|
62
|
+
:'insurance' => :'insurance',
|
64
63
|
:'loan_hero' => :'loan_hero',
|
65
64
|
:'money_order' => :'money_order',
|
66
65
|
:'paypal' => :'paypal',
|
@@ -68,8 +67,6 @@ module UltracartClient
|
|
68
67
|
:'quote_request' => :'quote_request',
|
69
68
|
:'sezzle' => :'sezzle',
|
70
69
|
:'show_accounting_code' => :'show_accounting_code',
|
71
|
-
:'switch_to_sub_tab' => :'switchToSubTab',
|
72
|
-
:'switch_to_tab' => :'switchToTab',
|
73
70
|
:'ultracart_payments_wepay' => :'ultracart_payments_wepay',
|
74
71
|
:'wire_transfer' => :'wire_transfer'
|
75
72
|
}
|
@@ -85,6 +82,7 @@ module UltracartClient
|
|
85
82
|
:'cod' => :'PaymentsConfigurationCOD',
|
86
83
|
:'credit_card' => :'PaymentsConfigurationCreditCard',
|
87
84
|
:'echeck' => :'PaymentsConfigurationEcheck',
|
85
|
+
:'insurance' => :'PaymentsConfigurationInsurance',
|
88
86
|
:'loan_hero' => :'PaymentsConfigurationLoanHero',
|
89
87
|
:'money_order' => :'PaymentsConfigurationMoneyOrder',
|
90
88
|
:'paypal' => :'PaymentsConfigurationPayPal',
|
@@ -92,8 +90,6 @@ module UltracartClient
|
|
92
90
|
:'quote_request' => :'PaymentsConfigurationQuoteRequest',
|
93
91
|
:'sezzle' => :'PaymentsConfigurationSezzle',
|
94
92
|
:'show_accounting_code' => :'BOOLEAN',
|
95
|
-
:'switch_to_sub_tab' => :'String',
|
96
|
-
:'switch_to_tab' => :'String',
|
97
93
|
:'ultracart_payments_wepay' => :'PaymentsConfigurationWePay',
|
98
94
|
:'wire_transfer' => :'PaymentsConfigurationWireTransfer'
|
99
95
|
}
|
@@ -135,6 +131,10 @@ module UltracartClient
|
|
135
131
|
self.echeck = attributes[:'echeck']
|
136
132
|
end
|
137
133
|
|
134
|
+
if attributes.has_key?(:'insurance')
|
135
|
+
self.insurance = attributes[:'insurance']
|
136
|
+
end
|
137
|
+
|
138
138
|
if attributes.has_key?(:'loan_hero')
|
139
139
|
self.loan_hero = attributes[:'loan_hero']
|
140
140
|
end
|
@@ -163,14 +163,6 @@ module UltracartClient
|
|
163
163
|
self.show_accounting_code = attributes[:'show_accounting_code']
|
164
164
|
end
|
165
165
|
|
166
|
-
if attributes.has_key?(:'switchToSubTab')
|
167
|
-
self.switch_to_sub_tab = attributes[:'switchToSubTab']
|
168
|
-
end
|
169
|
-
|
170
|
-
if attributes.has_key?(:'switchToTab')
|
171
|
-
self.switch_to_tab = attributes[:'switchToTab']
|
172
|
-
end
|
173
|
-
|
174
166
|
if attributes.has_key?(:'ultracart_payments_wepay')
|
175
167
|
self.ultracart_payments_wepay = attributes[:'ultracart_payments_wepay']
|
176
168
|
end
|
@@ -205,6 +197,7 @@ module UltracartClient
|
|
205
197
|
cod == o.cod &&
|
206
198
|
credit_card == o.credit_card &&
|
207
199
|
echeck == o.echeck &&
|
200
|
+
insurance == o.insurance &&
|
208
201
|
loan_hero == o.loan_hero &&
|
209
202
|
money_order == o.money_order &&
|
210
203
|
paypal == o.paypal &&
|
@@ -212,8 +205,6 @@ module UltracartClient
|
|
212
205
|
quote_request == o.quote_request &&
|
213
206
|
sezzle == o.sezzle &&
|
214
207
|
show_accounting_code == o.show_accounting_code &&
|
215
|
-
switch_to_sub_tab == o.switch_to_sub_tab &&
|
216
|
-
switch_to_tab == o.switch_to_tab &&
|
217
208
|
ultracart_payments_wepay == o.ultracart_payments_wepay &&
|
218
209
|
wire_transfer == o.wire_transfer
|
219
210
|
end
|
@@ -227,7 +218,7 @@ module UltracartClient
|
|
227
218
|
# Calculates hash code according to all attributes.
|
228
219
|
# @return [Fixnum] Hash code
|
229
220
|
def hash
|
230
|
-
[affirm, amazon, cash, check, cod, credit_card, echeck, loan_hero, money_order, paypal, purchase_order, quote_request, sezzle, show_accounting_code,
|
221
|
+
[affirm, amazon, cash, check, cod, credit_card, echeck, insurance, loan_hero, money_order, paypal, purchase_order, quote_request, sezzle, show_accounting_code, ultracart_payments_wepay, wire_transfer].hash
|
231
222
|
end
|
232
223
|
|
233
224
|
# Builds the object from hash
|
@@ -165,7 +165,7 @@ module UltracartClient
|
|
165
165
|
# Check to see if the all the properties in the model are valid
|
166
166
|
# @return true if the model is valid
|
167
167
|
def valid?
|
168
|
-
credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', '
|
168
|
+
credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
|
169
169
|
return false unless credit_card_validator.valid?(@credit_card)
|
170
170
|
true
|
171
171
|
end
|
@@ -173,7 +173,7 @@ module UltracartClient
|
|
173
173
|
# Custom attribute writer method checking allowed values (enum).
|
174
174
|
# @param [Object] credit_card Object to be assigned
|
175
175
|
def credit_card=(credit_card)
|
176
|
-
validator = EnumAttributeValidator.new('String', ['AMEX', '
|
176
|
+
validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
|
177
177
|
unless validator.valid?(credit_card)
|
178
178
|
fail ArgumentError, 'invalid value for "credit_card", must be one of #{validator.allowable_values}.'
|
179
179
|
end
|
@@ -0,0 +1,194 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class PaymentsConfigurationInsurance
|
17
|
+
# Master flag indicating this merchant accepts insurance
|
18
|
+
attr_accessor :accept_insurance
|
19
|
+
|
20
|
+
attr_accessor :restrictions
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'accept_insurance' => :'accept_insurance',
|
26
|
+
:'restrictions' => :'restrictions'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
:'accept_insurance' => :'BOOLEAN',
|
34
|
+
:'restrictions' => :'PaymentsConfigurationRestrictions'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Initializes the object
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
+
def initialize(attributes = {})
|
41
|
+
return unless attributes.is_a?(Hash)
|
42
|
+
|
43
|
+
# convert string to symbol for hash key
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
|
+
|
46
|
+
if attributes.has_key?(:'accept_insurance')
|
47
|
+
self.accept_insurance = attributes[:'accept_insurance']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'restrictions')
|
51
|
+
self.restrictions = attributes[:'restrictions']
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
56
|
+
# @return Array for valid properties with the reasons
|
57
|
+
def list_invalid_properties
|
58
|
+
invalid_properties = Array.new
|
59
|
+
invalid_properties
|
60
|
+
end
|
61
|
+
|
62
|
+
# Check to see if the all the properties in the model are valid
|
63
|
+
# @return true if the model is valid
|
64
|
+
def valid?
|
65
|
+
true
|
66
|
+
end
|
67
|
+
|
68
|
+
# Checks equality by comparing each attribute.
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def ==(o)
|
71
|
+
return true if self.equal?(o)
|
72
|
+
self.class == o.class &&
|
73
|
+
accept_insurance == o.accept_insurance &&
|
74
|
+
restrictions == o.restrictions
|
75
|
+
end
|
76
|
+
|
77
|
+
# @see the `==` method
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def eql?(o)
|
80
|
+
self == o
|
81
|
+
end
|
82
|
+
|
83
|
+
# Calculates hash code according to all attributes.
|
84
|
+
# @return [Fixnum] Hash code
|
85
|
+
def hash
|
86
|
+
[accept_insurance, restrictions].hash
|
87
|
+
end
|
88
|
+
|
89
|
+
# Builds the object from hash
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
# @return [Object] Returns the model itself
|
92
|
+
def build_from_hash(attributes)
|
93
|
+
return nil unless attributes.is_a?(Hash)
|
94
|
+
self.class.swagger_types.each_pair do |key, type|
|
95
|
+
if type =~ /\AArray<(.*)>/i
|
96
|
+
# check to ensure the input is an array given that the attribute
|
97
|
+
# is documented as an array but the input is not
|
98
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
99
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
100
|
+
end
|
101
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
102
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
103
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
104
|
+
end
|
105
|
+
|
106
|
+
self
|
107
|
+
end
|
108
|
+
|
109
|
+
# Deserializes the data based on type
|
110
|
+
# @param string type Data type
|
111
|
+
# @param string value Value to be deserialized
|
112
|
+
# @return [Object] Deserialized data
|
113
|
+
def _deserialize(type, value)
|
114
|
+
case type.to_sym
|
115
|
+
when :DateTime
|
116
|
+
DateTime.parse(value)
|
117
|
+
when :Date
|
118
|
+
Date.parse(value)
|
119
|
+
when :String
|
120
|
+
value.to_s
|
121
|
+
when :Integer
|
122
|
+
value.to_i
|
123
|
+
when :Float
|
124
|
+
value.to_f
|
125
|
+
when :BOOLEAN
|
126
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
127
|
+
true
|
128
|
+
else
|
129
|
+
false
|
130
|
+
end
|
131
|
+
when :Object
|
132
|
+
# generic object (usually a Hash), return directly
|
133
|
+
value
|
134
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
135
|
+
inner_type = Regexp.last_match[:inner_type]
|
136
|
+
value.map { |v| _deserialize(inner_type, v) }
|
137
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
138
|
+
k_type = Regexp.last_match[:k_type]
|
139
|
+
v_type = Regexp.last_match[:v_type]
|
140
|
+
{}.tap do |hash|
|
141
|
+
value.each do |k, v|
|
142
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
else # model
|
146
|
+
temp_model = UltracartClient.const_get(type).new
|
147
|
+
temp_model.build_from_hash(value)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# Returns the string representation of the object
|
152
|
+
# @return [String] String presentation of the object
|
153
|
+
def to_s
|
154
|
+
to_hash.to_s
|
155
|
+
end
|
156
|
+
|
157
|
+
# to_body is an alias to to_hash (backward compatibility)
|
158
|
+
# @return [Hash] Returns the object in the form of hash
|
159
|
+
def to_body
|
160
|
+
to_hash
|
161
|
+
end
|
162
|
+
|
163
|
+
# Returns the object in the form of hash
|
164
|
+
# @return [Hash] Returns the object in the form of hash
|
165
|
+
def to_hash
|
166
|
+
hash = {}
|
167
|
+
self.class.attribute_map.each_pair do |attr, param|
|
168
|
+
value = self.send(attr)
|
169
|
+
next if value.nil?
|
170
|
+
hash[param] = _to_hash(value)
|
171
|
+
end
|
172
|
+
hash
|
173
|
+
end
|
174
|
+
|
175
|
+
# Outputs non-array value in the form of hash
|
176
|
+
# For object, use to_hash. Otherwise, just return the value
|
177
|
+
# @param [Object] value Any valid value
|
178
|
+
# @return [Hash] Returns the value in the form of hash
|
179
|
+
def _to_hash(value)
|
180
|
+
if value.is_a?(Array)
|
181
|
+
value.compact.map { |v| _to_hash(v) }
|
182
|
+
elsif value.is_a?(Hash)
|
183
|
+
{}.tap do |hash|
|
184
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
185
|
+
end
|
186
|
+
elsif value.respond_to? :to_hash
|
187
|
+
value.to_hash
|
188
|
+
else
|
189
|
+
value
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
end
|
194
|
+
end
|
@@ -74,8 +74,6 @@ module UltracartClient
|
|
74
74
|
# Postal code
|
75
75
|
attr_accessor :postal_code
|
76
76
|
|
77
|
-
attr_accessor :remove_pay_pal_pro
|
78
|
-
|
79
77
|
attr_accessor :restrictions
|
80
78
|
|
81
79
|
# Internal UI aid
|
@@ -122,7 +120,6 @@ module UltracartClient
|
|
122
120
|
:'owner_name' => :'owner_name',
|
123
121
|
:'owner_phone' => :'owner_phone',
|
124
122
|
:'postal_code' => :'postal_code',
|
125
|
-
:'remove_pay_pal_pro' => :'removePayPalPro',
|
126
123
|
:'restrictions' => :'restrictions',
|
127
124
|
:'short_paypal_marketing_text' => :'short_paypal_marketing_text',
|
128
125
|
:'show_ultracart_payments_disabled' => :'show_ultracart_payments_disabled',
|
@@ -157,7 +154,6 @@ module UltracartClient
|
|
157
154
|
:'owner_name' => :'String',
|
158
155
|
:'owner_phone' => :'String',
|
159
156
|
:'postal_code' => :'String',
|
160
|
-
:'remove_pay_pal_pro' => :'BOOLEAN',
|
161
157
|
:'restrictions' => :'PaymentsConfigurationRestrictions',
|
162
158
|
:'short_paypal_marketing_text' => :'BOOLEAN',
|
163
159
|
:'show_ultracart_payments_disabled' => :'BOOLEAN',
|
@@ -257,10 +253,6 @@ module UltracartClient
|
|
257
253
|
self.postal_code = attributes[:'postal_code']
|
258
254
|
end
|
259
255
|
|
260
|
-
if attributes.has_key?(:'removePayPalPro')
|
261
|
-
self.remove_pay_pal_pro = attributes[:'removePayPalPro']
|
262
|
-
end
|
263
|
-
|
264
256
|
if attributes.has_key?(:'restrictions')
|
265
257
|
self.restrictions = attributes[:'restrictions']
|
266
258
|
end
|
@@ -332,7 +324,6 @@ module UltracartClient
|
|
332
324
|
owner_name == o.owner_name &&
|
333
325
|
owner_phone == o.owner_phone &&
|
334
326
|
postal_code == o.postal_code &&
|
335
|
-
remove_pay_pal_pro == o.remove_pay_pal_pro &&
|
336
327
|
restrictions == o.restrictions &&
|
337
328
|
short_paypal_marketing_text == o.short_paypal_marketing_text &&
|
338
329
|
show_ultracart_payments_disabled == o.show_ultracart_payments_disabled &&
|
@@ -352,7 +343,7 @@ module UltracartClient
|
|
352
343
|
# Calculates hash code according to all attributes.
|
353
344
|
# @return [Fixnum] Hash code
|
354
345
|
def hash
|
355
|
-
[accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, credit_card_rate, currency, expected_revenue, hide_credit_card_non_ultracart_payments, hide_surcharge_amount, industry, owner_email, owner_name, owner_phone, postal_code,
|
346
|
+
[accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, credit_card_rate, currency, expected_revenue, hide_credit_card_non_ultracart_payments, hide_surcharge_amount, industry, owner_email, owner_name, owner_phone, postal_code, restrictions, short_paypal_marketing_text, show_ultracart_payments_disabled, show_ultracart_payments_intro, show_ultracart_payments_verification, show_ultracart_payments_verified, state, website_url].hash
|
356
347
|
end
|
357
348
|
|
358
349
|
# Builds the object from hash
|
@@ -20,14 +20,22 @@ module UltracartClient
|
|
20
20
|
|
21
21
|
attr_accessor :communications_campaign_name
|
22
22
|
|
23
|
+
attr_accessor :communications_campaign_name_filter
|
24
|
+
|
23
25
|
attr_accessor :communications_email_subject
|
24
26
|
|
27
|
+
attr_accessor :communications_email_subject_filter
|
28
|
+
|
25
29
|
attr_accessor :communications_flow_name
|
26
30
|
|
31
|
+
attr_accessor :communications_flow_name_filter
|
32
|
+
|
27
33
|
attr_accessor :email
|
28
34
|
|
29
35
|
attr_accessor :email_domain
|
30
36
|
|
37
|
+
attr_accessor :email_domain_filter
|
38
|
+
|
31
39
|
attr_accessor :email_identified
|
32
40
|
|
33
41
|
attr_accessor :end_timestamp
|
@@ -40,10 +48,16 @@ module UltracartClient
|
|
40
48
|
|
41
49
|
attr_accessor :geolocation_country
|
42
50
|
|
51
|
+
attr_accessor :geolocation_country_filter
|
52
|
+
|
43
53
|
attr_accessor :geolocation_state
|
44
54
|
|
55
|
+
attr_accessor :geolocation_state_filter
|
56
|
+
|
45
57
|
attr_accessor :language_iso_code
|
46
58
|
|
59
|
+
attr_accessor :language_iso_code_filter
|
60
|
+
|
47
61
|
attr_accessor :last_x_days
|
48
62
|
|
49
63
|
attr_accessor :max_filter_values
|
@@ -58,14 +72,20 @@ module UltracartClient
|
|
58
72
|
|
59
73
|
attr_accessor :preferred_language
|
60
74
|
|
75
|
+
attr_accessor :preferred_language_filter
|
76
|
+
|
61
77
|
attr_accessor :referrer_domain
|
62
78
|
|
79
|
+
attr_accessor :referrer_domain_filter
|
80
|
+
|
63
81
|
attr_accessor :screen_recording_uuids
|
64
82
|
|
65
83
|
attr_accessor :screen_sizes
|
66
84
|
|
67
85
|
attr_accessor :skip_filter_values
|
68
86
|
|
87
|
+
attr_accessor :skip_histogram
|
88
|
+
|
69
89
|
attr_accessor :skip_hits
|
70
90
|
|
71
91
|
attr_accessor :start_timestamp
|
@@ -74,12 +94,28 @@ module UltracartClient
|
|
74
94
|
|
75
95
|
attr_accessor :time_on_site
|
76
96
|
|
97
|
+
attr_accessor :time_on_site_max_filter
|
98
|
+
|
99
|
+
attr_accessor :time_on_site_min_filter
|
100
|
+
|
101
|
+
attr_accessor :url_filter
|
102
|
+
|
77
103
|
attr_accessor :user_agent_device_name
|
78
104
|
|
105
|
+
attr_accessor :user_agent_device_name_filter
|
106
|
+
|
107
|
+
attr_accessor :user_agent_device_os_name_filter
|
108
|
+
|
109
|
+
attr_accessor :user_agent_device_os_version_filter
|
110
|
+
|
79
111
|
attr_accessor :user_agent_name
|
80
112
|
|
113
|
+
attr_accessor :user_agent_name_filter
|
114
|
+
|
81
115
|
attr_accessor :user_agent_original
|
82
116
|
|
117
|
+
attr_accessor :user_agent_original_filter
|
118
|
+
|
83
119
|
attr_accessor :user_agent_os_name
|
84
120
|
|
85
121
|
attr_accessor :user_agent_os_version
|
@@ -88,8 +124,12 @@ module UltracartClient
|
|
88
124
|
|
89
125
|
attr_accessor :utm_campaign
|
90
126
|
|
127
|
+
attr_accessor :utm_campaign_filter
|
128
|
+
|
91
129
|
attr_accessor :utm_source
|
92
130
|
|
131
|
+
attr_accessor :utm_source_filter
|
132
|
+
|
93
133
|
attr_accessor :visitor_number
|
94
134
|
|
95
135
|
attr_accessor :watched
|
@@ -100,18 +140,25 @@ module UltracartClient
|
|
100
140
|
:'affiliate_email' => :'affiliate_email',
|
101
141
|
:'affiliate_id' => :'affiliate_id',
|
102
142
|
:'communications_campaign_name' => :'communications_campaign_name',
|
143
|
+
:'communications_campaign_name_filter' => :'communications_campaign_name_filter',
|
103
144
|
:'communications_email_subject' => :'communications_email_subject',
|
145
|
+
:'communications_email_subject_filter' => :'communications_email_subject_filter',
|
104
146
|
:'communications_flow_name' => :'communications_flow_name',
|
147
|
+
:'communications_flow_name_filter' => :'communications_flow_name_filter',
|
105
148
|
:'email' => :'email',
|
106
149
|
:'email_domain' => :'email_domain',
|
150
|
+
:'email_domain_filter' => :'email_domain_filter',
|
107
151
|
:'email_identified' => :'email_identified',
|
108
152
|
:'end_timestamp' => :'end_timestamp',
|
109
153
|
:'esp_customer_uuid' => :'esp_customer_uuid',
|
110
154
|
:'favorite' => :'favorite',
|
111
155
|
:'geolocation' => :'geolocation',
|
112
156
|
:'geolocation_country' => :'geolocation_country',
|
157
|
+
:'geolocation_country_filter' => :'geolocation_country_filter',
|
113
158
|
:'geolocation_state' => :'geolocation_state',
|
159
|
+
:'geolocation_state_filter' => :'geolocation_state_filter',
|
114
160
|
:'language_iso_code' => :'language_iso_code',
|
161
|
+
:'language_iso_code_filter' => :'language_iso_code_filter',
|
115
162
|
:'last_x_days' => :'last_x_days',
|
116
163
|
:'max_filter_values' => :'max_filter_values',
|
117
164
|
:'order_id' => :'order_id',
|
@@ -119,22 +166,35 @@ module UltracartClient
|
|
119
166
|
:'page_views' => :'page_views',
|
120
167
|
:'placed_order' => :'placed_order',
|
121
168
|
:'preferred_language' => :'preferred_language',
|
169
|
+
:'preferred_language_filter' => :'preferred_language_filter',
|
122
170
|
:'referrer_domain' => :'referrer_domain',
|
171
|
+
:'referrer_domain_filter' => :'referrer_domain_filter',
|
123
172
|
:'screen_recording_uuids' => :'screen_recording_uuids',
|
124
173
|
:'screen_sizes' => :'screen_sizes',
|
125
174
|
:'skip_filter_values' => :'skip_filter_values',
|
175
|
+
:'skip_histogram' => :'skip_histogram',
|
126
176
|
:'skip_hits' => :'skip_hits',
|
127
177
|
:'start_timestamp' => :'start_timestamp',
|
128
178
|
:'tags' => :'tags',
|
129
179
|
:'time_on_site' => :'time_on_site',
|
180
|
+
:'time_on_site_max_filter' => :'time_on_site_max_filter',
|
181
|
+
:'time_on_site_min_filter' => :'time_on_site_min_filter',
|
182
|
+
:'url_filter' => :'url_filter',
|
130
183
|
:'user_agent_device_name' => :'user_agent_device_name',
|
184
|
+
:'user_agent_device_name_filter' => :'user_agent_device_name_filter',
|
185
|
+
:'user_agent_device_os_name_filter' => :'user_agent_device_os_name_filter',
|
186
|
+
:'user_agent_device_os_version_filter' => :'user_agent_device_os_version_filter',
|
131
187
|
:'user_agent_name' => :'user_agent_name',
|
188
|
+
:'user_agent_name_filter' => :'user_agent_name_filter',
|
132
189
|
:'user_agent_original' => :'user_agent_original',
|
190
|
+
:'user_agent_original_filter' => :'user_agent_original_filter',
|
133
191
|
:'user_agent_os_name' => :'user_agent_os_name',
|
134
192
|
:'user_agent_os_version' => :'user_agent_os_version',
|
135
193
|
:'user_ip' => :'user_ip',
|
136
194
|
:'utm_campaign' => :'utm_campaign',
|
195
|
+
:'utm_campaign_filter' => :'utm_campaign_filter',
|
137
196
|
:'utm_source' => :'utm_source',
|
197
|
+
:'utm_source_filter' => :'utm_source_filter',
|
138
198
|
:'visitor_number' => :'visitor_number',
|
139
199
|
:'watched' => :'watched'
|
140
200
|
}
|
@@ -146,18 +206,25 @@ module UltracartClient
|
|
146
206
|
:'affiliate_email' => :'String',
|
147
207
|
:'affiliate_id' => :'Integer',
|
148
208
|
:'communications_campaign_name' => :'String',
|
209
|
+
:'communications_campaign_name_filter' => :'BOOLEAN',
|
149
210
|
:'communications_email_subject' => :'String',
|
211
|
+
:'communications_email_subject_filter' => :'BOOLEAN',
|
150
212
|
:'communications_flow_name' => :'String',
|
213
|
+
:'communications_flow_name_filter' => :'BOOLEAN',
|
151
214
|
:'email' => :'ScreenRecordingFilterStringSearch',
|
152
215
|
:'email_domain' => :'String',
|
216
|
+
:'email_domain_filter' => :'BOOLEAN',
|
153
217
|
:'email_identified' => :'BOOLEAN',
|
154
218
|
:'end_timestamp' => :'ScreenRecordingFilterRangeDate',
|
155
219
|
:'esp_customer_uuid' => :'String',
|
156
220
|
:'favorite' => :'BOOLEAN',
|
157
221
|
:'geolocation' => :'ScreenRecordingFilterGeoDistance',
|
158
222
|
:'geolocation_country' => :'ScreenRecordingFilterStringSearch',
|
223
|
+
:'geolocation_country_filter' => :'BOOLEAN',
|
159
224
|
:'geolocation_state' => :'ScreenRecordingFilterStringSearch',
|
225
|
+
:'geolocation_state_filter' => :'BOOLEAN',
|
160
226
|
:'language_iso_code' => :'ScreenRecordingFilterStringSearch',
|
227
|
+
:'language_iso_code_filter' => :'BOOLEAN',
|
161
228
|
:'last_x_days' => :'Integer',
|
162
229
|
:'max_filter_values' => :'Integer',
|
163
230
|
:'order_id' => :'ScreenRecordingFilterStringSearch',
|
@@ -165,22 +232,35 @@ module UltracartClient
|
|
165
232
|
:'page_views' => :'Array<ScreenRecordingFilterPageView>',
|
166
233
|
:'placed_order' => :'BOOLEAN',
|
167
234
|
:'preferred_language' => :'ScreenRecordingFilterStringSearch',
|
235
|
+
:'preferred_language_filter' => :'BOOLEAN',
|
168
236
|
:'referrer_domain' => :'String',
|
237
|
+
:'referrer_domain_filter' => :'BOOLEAN',
|
169
238
|
:'screen_recording_uuids' => :'Array<String>',
|
170
239
|
:'screen_sizes' => :'Array<String>',
|
171
240
|
:'skip_filter_values' => :'BOOLEAN',
|
241
|
+
:'skip_histogram' => :'BOOLEAN',
|
172
242
|
:'skip_hits' => :'BOOLEAN',
|
173
243
|
:'start_timestamp' => :'ScreenRecordingFilterRangeDate',
|
174
244
|
:'tags' => :'Array<String>',
|
175
245
|
:'time_on_site' => :'ScreenRecordingFilterRangeInteger',
|
246
|
+
:'time_on_site_max_filter' => :'BOOLEAN',
|
247
|
+
:'time_on_site_min_filter' => :'BOOLEAN',
|
248
|
+
:'url_filter' => :'BOOLEAN',
|
176
249
|
:'user_agent_device_name' => :'String',
|
250
|
+
:'user_agent_device_name_filter' => :'BOOLEAN',
|
251
|
+
:'user_agent_device_os_name_filter' => :'BOOLEAN',
|
252
|
+
:'user_agent_device_os_version_filter' => :'BOOLEAN',
|
177
253
|
:'user_agent_name' => :'String',
|
254
|
+
:'user_agent_name_filter' => :'BOOLEAN',
|
178
255
|
:'user_agent_original' => :'ScreenRecordingFilterStringSearch',
|
256
|
+
:'user_agent_original_filter' => :'BOOLEAN',
|
179
257
|
:'user_agent_os_name' => :'String',
|
180
258
|
:'user_agent_os_version' => :'String',
|
181
259
|
:'user_ip' => :'ScreenRecordingFilterIpSearch',
|
182
260
|
:'utm_campaign' => :'String',
|
261
|
+
:'utm_campaign_filter' => :'BOOLEAN',
|
183
262
|
:'utm_source' => :'String',
|
263
|
+
:'utm_source_filter' => :'BOOLEAN',
|
184
264
|
:'visitor_number' => :'Integer',
|
185
265
|
:'watched' => :'BOOLEAN'
|
186
266
|
}
|
@@ -206,14 +286,26 @@ module UltracartClient
|
|
206
286
|
self.communications_campaign_name = attributes[:'communications_campaign_name']
|
207
287
|
end
|
208
288
|
|
289
|
+
if attributes.has_key?(:'communications_campaign_name_filter')
|
290
|
+
self.communications_campaign_name_filter = attributes[:'communications_campaign_name_filter']
|
291
|
+
end
|
292
|
+
|
209
293
|
if attributes.has_key?(:'communications_email_subject')
|
210
294
|
self.communications_email_subject = attributes[:'communications_email_subject']
|
211
295
|
end
|
212
296
|
|
297
|
+
if attributes.has_key?(:'communications_email_subject_filter')
|
298
|
+
self.communications_email_subject_filter = attributes[:'communications_email_subject_filter']
|
299
|
+
end
|
300
|
+
|
213
301
|
if attributes.has_key?(:'communications_flow_name')
|
214
302
|
self.communications_flow_name = attributes[:'communications_flow_name']
|
215
303
|
end
|
216
304
|
|
305
|
+
if attributes.has_key?(:'communications_flow_name_filter')
|
306
|
+
self.communications_flow_name_filter = attributes[:'communications_flow_name_filter']
|
307
|
+
end
|
308
|
+
|
217
309
|
if attributes.has_key?(:'email')
|
218
310
|
self.email = attributes[:'email']
|
219
311
|
end
|
@@ -222,6 +314,10 @@ module UltracartClient
|
|
222
314
|
self.email_domain = attributes[:'email_domain']
|
223
315
|
end
|
224
316
|
|
317
|
+
if attributes.has_key?(:'email_domain_filter')
|
318
|
+
self.email_domain_filter = attributes[:'email_domain_filter']
|
319
|
+
end
|
320
|
+
|
225
321
|
if attributes.has_key?(:'email_identified')
|
226
322
|
self.email_identified = attributes[:'email_identified']
|
227
323
|
end
|
@@ -246,14 +342,26 @@ module UltracartClient
|
|
246
342
|
self.geolocation_country = attributes[:'geolocation_country']
|
247
343
|
end
|
248
344
|
|
345
|
+
if attributes.has_key?(:'geolocation_country_filter')
|
346
|
+
self.geolocation_country_filter = attributes[:'geolocation_country_filter']
|
347
|
+
end
|
348
|
+
|
249
349
|
if attributes.has_key?(:'geolocation_state')
|
250
350
|
self.geolocation_state = attributes[:'geolocation_state']
|
251
351
|
end
|
252
352
|
|
353
|
+
if attributes.has_key?(:'geolocation_state_filter')
|
354
|
+
self.geolocation_state_filter = attributes[:'geolocation_state_filter']
|
355
|
+
end
|
356
|
+
|
253
357
|
if attributes.has_key?(:'language_iso_code')
|
254
358
|
self.language_iso_code = attributes[:'language_iso_code']
|
255
359
|
end
|
256
360
|
|
361
|
+
if attributes.has_key?(:'language_iso_code_filter')
|
362
|
+
self.language_iso_code_filter = attributes[:'language_iso_code_filter']
|
363
|
+
end
|
364
|
+
|
257
365
|
if attributes.has_key?(:'last_x_days')
|
258
366
|
self.last_x_days = attributes[:'last_x_days']
|
259
367
|
end
|
@@ -284,10 +392,18 @@ module UltracartClient
|
|
284
392
|
self.preferred_language = attributes[:'preferred_language']
|
285
393
|
end
|
286
394
|
|
395
|
+
if attributes.has_key?(:'preferred_language_filter')
|
396
|
+
self.preferred_language_filter = attributes[:'preferred_language_filter']
|
397
|
+
end
|
398
|
+
|
287
399
|
if attributes.has_key?(:'referrer_domain')
|
288
400
|
self.referrer_domain = attributes[:'referrer_domain']
|
289
401
|
end
|
290
402
|
|
403
|
+
if attributes.has_key?(:'referrer_domain_filter')
|
404
|
+
self.referrer_domain_filter = attributes[:'referrer_domain_filter']
|
405
|
+
end
|
406
|
+
|
291
407
|
if attributes.has_key?(:'screen_recording_uuids')
|
292
408
|
if (value = attributes[:'screen_recording_uuids']).is_a?(Array)
|
293
409
|
self.screen_recording_uuids = value
|
@@ -304,6 +420,10 @@ module UltracartClient
|
|
304
420
|
self.skip_filter_values = attributes[:'skip_filter_values']
|
305
421
|
end
|
306
422
|
|
423
|
+
if attributes.has_key?(:'skip_histogram')
|
424
|
+
self.skip_histogram = attributes[:'skip_histogram']
|
425
|
+
end
|
426
|
+
|
307
427
|
if attributes.has_key?(:'skip_hits')
|
308
428
|
self.skip_hits = attributes[:'skip_hits']
|
309
429
|
end
|
@@ -322,18 +442,50 @@ module UltracartClient
|
|
322
442
|
self.time_on_site = attributes[:'time_on_site']
|
323
443
|
end
|
324
444
|
|
445
|
+
if attributes.has_key?(:'time_on_site_max_filter')
|
446
|
+
self.time_on_site_max_filter = attributes[:'time_on_site_max_filter']
|
447
|
+
end
|
448
|
+
|
449
|
+
if attributes.has_key?(:'time_on_site_min_filter')
|
450
|
+
self.time_on_site_min_filter = attributes[:'time_on_site_min_filter']
|
451
|
+
end
|
452
|
+
|
453
|
+
if attributes.has_key?(:'url_filter')
|
454
|
+
self.url_filter = attributes[:'url_filter']
|
455
|
+
end
|
456
|
+
|
325
457
|
if attributes.has_key?(:'user_agent_device_name')
|
326
458
|
self.user_agent_device_name = attributes[:'user_agent_device_name']
|
327
459
|
end
|
328
460
|
|
461
|
+
if attributes.has_key?(:'user_agent_device_name_filter')
|
462
|
+
self.user_agent_device_name_filter = attributes[:'user_agent_device_name_filter']
|
463
|
+
end
|
464
|
+
|
465
|
+
if attributes.has_key?(:'user_agent_device_os_name_filter')
|
466
|
+
self.user_agent_device_os_name_filter = attributes[:'user_agent_device_os_name_filter']
|
467
|
+
end
|
468
|
+
|
469
|
+
if attributes.has_key?(:'user_agent_device_os_version_filter')
|
470
|
+
self.user_agent_device_os_version_filter = attributes[:'user_agent_device_os_version_filter']
|
471
|
+
end
|
472
|
+
|
329
473
|
if attributes.has_key?(:'user_agent_name')
|
330
474
|
self.user_agent_name = attributes[:'user_agent_name']
|
331
475
|
end
|
332
476
|
|
477
|
+
if attributes.has_key?(:'user_agent_name_filter')
|
478
|
+
self.user_agent_name_filter = attributes[:'user_agent_name_filter']
|
479
|
+
end
|
480
|
+
|
333
481
|
if attributes.has_key?(:'user_agent_original')
|
334
482
|
self.user_agent_original = attributes[:'user_agent_original']
|
335
483
|
end
|
336
484
|
|
485
|
+
if attributes.has_key?(:'user_agent_original_filter')
|
486
|
+
self.user_agent_original_filter = attributes[:'user_agent_original_filter']
|
487
|
+
end
|
488
|
+
|
337
489
|
if attributes.has_key?(:'user_agent_os_name')
|
338
490
|
self.user_agent_os_name = attributes[:'user_agent_os_name']
|
339
491
|
end
|
@@ -350,10 +502,18 @@ module UltracartClient
|
|
350
502
|
self.utm_campaign = attributes[:'utm_campaign']
|
351
503
|
end
|
352
504
|
|
505
|
+
if attributes.has_key?(:'utm_campaign_filter')
|
506
|
+
self.utm_campaign_filter = attributes[:'utm_campaign_filter']
|
507
|
+
end
|
508
|
+
|
353
509
|
if attributes.has_key?(:'utm_source')
|
354
510
|
self.utm_source = attributes[:'utm_source']
|
355
511
|
end
|
356
512
|
|
513
|
+
if attributes.has_key?(:'utm_source_filter')
|
514
|
+
self.utm_source_filter = attributes[:'utm_source_filter']
|
515
|
+
end
|
516
|
+
|
357
517
|
if attributes.has_key?(:'visitor_number')
|
358
518
|
self.visitor_number = attributes[:'visitor_number']
|
359
519
|
end
|
@@ -384,18 +544,25 @@ module UltracartClient
|
|
384
544
|
affiliate_email == o.affiliate_email &&
|
385
545
|
affiliate_id == o.affiliate_id &&
|
386
546
|
communications_campaign_name == o.communications_campaign_name &&
|
547
|
+
communications_campaign_name_filter == o.communications_campaign_name_filter &&
|
387
548
|
communications_email_subject == o.communications_email_subject &&
|
549
|
+
communications_email_subject_filter == o.communications_email_subject_filter &&
|
388
550
|
communications_flow_name == o.communications_flow_name &&
|
551
|
+
communications_flow_name_filter == o.communications_flow_name_filter &&
|
389
552
|
email == o.email &&
|
390
553
|
email_domain == o.email_domain &&
|
554
|
+
email_domain_filter == o.email_domain_filter &&
|
391
555
|
email_identified == o.email_identified &&
|
392
556
|
end_timestamp == o.end_timestamp &&
|
393
557
|
esp_customer_uuid == o.esp_customer_uuid &&
|
394
558
|
favorite == o.favorite &&
|
395
559
|
geolocation == o.geolocation &&
|
396
560
|
geolocation_country == o.geolocation_country &&
|
561
|
+
geolocation_country_filter == o.geolocation_country_filter &&
|
397
562
|
geolocation_state == o.geolocation_state &&
|
563
|
+
geolocation_state_filter == o.geolocation_state_filter &&
|
398
564
|
language_iso_code == o.language_iso_code &&
|
565
|
+
language_iso_code_filter == o.language_iso_code_filter &&
|
399
566
|
last_x_days == o.last_x_days &&
|
400
567
|
max_filter_values == o.max_filter_values &&
|
401
568
|
order_id == o.order_id &&
|
@@ -403,22 +570,35 @@ module UltracartClient
|
|
403
570
|
page_views == o.page_views &&
|
404
571
|
placed_order == o.placed_order &&
|
405
572
|
preferred_language == o.preferred_language &&
|
573
|
+
preferred_language_filter == o.preferred_language_filter &&
|
406
574
|
referrer_domain == o.referrer_domain &&
|
575
|
+
referrer_domain_filter == o.referrer_domain_filter &&
|
407
576
|
screen_recording_uuids == o.screen_recording_uuids &&
|
408
577
|
screen_sizes == o.screen_sizes &&
|
409
578
|
skip_filter_values == o.skip_filter_values &&
|
579
|
+
skip_histogram == o.skip_histogram &&
|
410
580
|
skip_hits == o.skip_hits &&
|
411
581
|
start_timestamp == o.start_timestamp &&
|
412
582
|
tags == o.tags &&
|
413
583
|
time_on_site == o.time_on_site &&
|
584
|
+
time_on_site_max_filter == o.time_on_site_max_filter &&
|
585
|
+
time_on_site_min_filter == o.time_on_site_min_filter &&
|
586
|
+
url_filter == o.url_filter &&
|
414
587
|
user_agent_device_name == o.user_agent_device_name &&
|
588
|
+
user_agent_device_name_filter == o.user_agent_device_name_filter &&
|
589
|
+
user_agent_device_os_name_filter == o.user_agent_device_os_name_filter &&
|
590
|
+
user_agent_device_os_version_filter == o.user_agent_device_os_version_filter &&
|
415
591
|
user_agent_name == o.user_agent_name &&
|
592
|
+
user_agent_name_filter == o.user_agent_name_filter &&
|
416
593
|
user_agent_original == o.user_agent_original &&
|
594
|
+
user_agent_original_filter == o.user_agent_original_filter &&
|
417
595
|
user_agent_os_name == o.user_agent_os_name &&
|
418
596
|
user_agent_os_version == o.user_agent_os_version &&
|
419
597
|
user_ip == o.user_ip &&
|
420
598
|
utm_campaign == o.utm_campaign &&
|
599
|
+
utm_campaign_filter == o.utm_campaign_filter &&
|
421
600
|
utm_source == o.utm_source &&
|
601
|
+
utm_source_filter == o.utm_source_filter &&
|
422
602
|
visitor_number == o.visitor_number &&
|
423
603
|
watched == o.watched
|
424
604
|
end
|
@@ -432,7 +612,7 @@ module UltracartClient
|
|
432
612
|
# Calculates hash code according to all attributes.
|
433
613
|
# @return [Fixnum] Hash code
|
434
614
|
def hash
|
435
|
-
[affiliate_email, affiliate_id, communications_campaign_name, communications_email_subject, communications_flow_name, email, email_domain, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, language_iso_code, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, referrer_domain, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_source, visitor_number, watched].hash
|
615
|
+
[affiliate_email, affiliate_id, communications_campaign_name, communications_campaign_name_filter, communications_email_subject, communications_email_subject_filter, communications_flow_name, communications_flow_name_filter, email, email_domain, email_domain_filter, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_country_filter, geolocation_state, geolocation_state_filter, language_iso_code, language_iso_code_filter, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, preferred_language_filter, referrer_domain, referrer_domain_filter, screen_recording_uuids, screen_sizes, skip_filter_values, skip_histogram, skip_hits, start_timestamp, tags, time_on_site, time_on_site_max_filter, time_on_site_min_filter, url_filter, user_agent_device_name, user_agent_device_name_filter, user_agent_device_os_name_filter, user_agent_device_os_version_filter, user_agent_name, user_agent_name_filter, user_agent_original, user_agent_original_filter, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_campaign_filter, utm_source, utm_source_filter, visitor_number, watched].hash
|
436
616
|
end
|
437
617
|
|
438
618
|
# Builds the object from hash
|