ultracart_api 3.6.35 → 3.7.38
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/AutoOrder.md +1 -0
- data/docs/AutoOrderLog.md +9 -0
- data/docs/CustomerApi.md +3 -4
- data/docs/EmailCommseqPostcardSendTestRequest.md +1 -0
- data/docs/ExperimentVariation.md +1 -0
- data/docs/OrderPaymentInsurance.md +1 -0
- data/docs/ScreenRecordingAdPlatform.md +1 -0
- data/lib/ultracart_api/api/customer_api.rb +5 -6
- data/lib/ultracart_api/models/auto_order.rb +13 -1
- data/lib/ultracart_api/models/auto_order_log.rb +195 -0
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +10 -1
- data/lib/ultracart_api/models/experiment_variation.rb +11 -1
- data/lib/ultracart_api/models/order_payment_insurance.rb +11 -1
- data/lib/ultracart_api/models/screen_recording_ad_platform.rb +14 -4
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67158a76743074e8b813d7cba7026488e7e072342a8e5a78bfcf5d7926b415c8
|
4
|
+
data.tar.gz: 368fd92091c21b7373defede99ee0db00e579f3a9f8d293a164196674202b533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '065385085d3fae43fd22175af668d00b54b103fde9fb7dfd62b05dd760b0c69969ffdaf59c5b7fee13857e0e1de6fd4ccab61b9b085605aac7e93b3eef0f2fb7'
|
7
|
+
data.tar.gz: 84b1752eca49d07935315dd0528110d00534413a12dcc7616d1f9541a2ff31717438c1dceaafcfb759e76662d77a8d8589655e162f2bf4be98ea3f807c29a2f9
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.7.38
|
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.
|
27
|
+
gem install ./ultracart_api-3.7.38.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.7.38.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.
|
35
|
+
gem 'ultracart_api', '~> 3.7.38'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -449,6 +449,7 @@ Class | Method | HTTP request | Description
|
|
449
449
|
- [UltracartClient::AutoOrderItemFutureSchedule](docs/AutoOrderItemFutureSchedule.md)
|
450
450
|
- [UltracartClient::AutoOrderItemOption](docs/AutoOrderItemOption.md)
|
451
451
|
- [UltracartClient::AutoOrderItemSimpleSchedule](docs/AutoOrderItemSimpleSchedule.md)
|
452
|
+
- [UltracartClient::AutoOrderLog](docs/AutoOrderLog.md)
|
452
453
|
- [UltracartClient::AutoOrderQuery](docs/AutoOrderQuery.md)
|
453
454
|
- [UltracartClient::AutoOrderQueryBatch](docs/AutoOrderQueryBatch.md)
|
454
455
|
- [UltracartClient::AutoOrderResponse](docs/AutoOrderResponse.md)
|
@@ -1128,6 +1129,10 @@ Not every change is committed to every SDK.
|
|
1128
1129
|
|
1129
1130
|
| Version | Date | Comments |
|
1130
1131
|
| --: | :-: | --- |
|
1132
|
+
| 3.7.38 | 02/15/2022 | gift certificate api (currently in testing) |
|
1133
|
+
| 3.6.38 | 02/07/2022 | Exposed auto order logs |
|
1134
|
+
| 3.6.37 | 02/04/2022 | insurance type for insurance payments |
|
1135
|
+
| 3.6.36 | 12/29/2021 | Mail actual post card flag added to test method |
|
1131
1136
|
| 3.6.35 | 12/14/2021 | Add cancel_auto_order option to the accounts receivable retry configuration |
|
1132
1137
|
| 3.6.34 | 12/14/2021 | add evening phone E.164 fields to order billing/shipping objects |
|
1133
1138
|
| 3.6.33 | 12/13/2021 | automation testing |
|
data/docs/AutoOrder.md
CHANGED
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**enabled** | **BOOLEAN** | True if this auto order is enabled | [optional]
|
17
17
|
**failure_reason** | **String** | The reason this auto order failed during the last rebill attempt | [optional]
|
18
18
|
**items** | [**Array<AutoOrderItem>**](AutoOrderItem.md) | The items that are setup to rebill | [optional]
|
19
|
+
**logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional]
|
19
20
|
**next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional]
|
20
21
|
**original_order** | [**Order**](Order.md) | | [optional]
|
21
22
|
**original_order_id** | **String** | The original order id that this auto order is associated with. | [optional]
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# UltracartClient::AutoOrderLog
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**log_dts** | **String** | Date/time that the log message was added | [optional]
|
7
|
+
**log_message** | **String** | Log message | [optional]
|
8
|
+
|
9
|
+
|
data/docs/CustomerApi.md
CHANGED
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
20
20
|
|
21
21
|
|
22
22
|
# **delete_customer**
|
23
|
-
>
|
23
|
+
> delete_customer(customer_profile_oid)
|
24
24
|
|
25
25
|
Delete a customer
|
26
26
|
|
@@ -41,8 +41,7 @@ customer_profile_oid = 56 # Integer | The customer_profile_oid to delete.
|
|
41
41
|
|
42
42
|
begin
|
43
43
|
#Delete a customer
|
44
|
-
|
45
|
-
p result
|
44
|
+
api_instance.delete_customer(customer_profile_oid)
|
46
45
|
rescue UltracartClient::ApiError => e
|
47
46
|
puts "Exception when calling CustomerApi->delete_customer: #{e}"
|
48
47
|
end
|
@@ -56,7 +55,7 @@ Name | Type | Description | Notes
|
|
56
55
|
|
57
56
|
### Return type
|
58
57
|
|
59
|
-
|
58
|
+
nil (empty response body)
|
60
59
|
|
61
60
|
### Authorization
|
62
61
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**esp_commseq_postcard_uuid** | **String** | | [optional]
|
12
12
|
**esp_commseq_step_uuid** | **String** | | [optional]
|
13
13
|
**esp_commseq_uuid** | **String** | | [optional]
|
14
|
+
**mail_card** | **BOOLEAN** | | [optional]
|
14
15
|
**name** | **String** | | [optional]
|
15
16
|
**order_id** | **String** | | [optional]
|
16
17
|
**postal_code** | **String** | | [optional]
|
data/docs/ExperimentVariation.md
CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
17
17
|
**order_item_count** | **Integer** | Total order item count for this variation | [optional]
|
18
18
|
**original_traffic_percentage** | **Float** | Percentage of the traffic the variation originally started out with | [optional]
|
19
19
|
**page_view_count** | **Integer** | Total page view count for this variation | [optional]
|
20
|
+
**paused** | **BOOLEAN** | True if traffic should be paused to this variation | [optional]
|
20
21
|
**revenue** | **Float** | Total revenue for this variation | [optional]
|
21
22
|
**session_count** | **Integer** | Total sessions for this variation | [optional]
|
22
23
|
**traffic_percentage** | **Float** | Percentage of the traffic this variation is currently receiving | [optional]
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**application_id** | **String** | application id | [optional]
|
7
7
|
**claim_id** | **String** | claim id | [optional]
|
8
|
+
**insurance_type** | **String** | insurance type | [optional]
|
8
9
|
**refund_claim_id** | **String** | refund claim id | [optional]
|
9
10
|
|
10
11
|
|
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**gacid** | **String** | Google Analytics CID (Cookie) | [optional]
|
10
10
|
**glcid** | **String** | Google Adwords Click Id (Parameter) | [optional]
|
11
11
|
**msclkid** | **String** | Bing Click Id (Parameter | [optional]
|
12
|
+
**ttclid** | **String** | TikTok Click Id (Parameter | [optional]
|
12
13
|
|
13
14
|
|
@@ -36,17 +36,17 @@ module UltracartClient
|
|
36
36
|
# Delete a customer on the UltraCart account.
|
37
37
|
# @param customer_profile_oid The customer_profile_oid to delete.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [
|
39
|
+
# @return [nil]
|
40
40
|
def delete_customer(customer_profile_oid, opts = {})
|
41
|
-
|
42
|
-
|
41
|
+
delete_customer_with_http_info(customer_profile_oid, opts)
|
42
|
+
nil
|
43
43
|
end
|
44
44
|
|
45
45
|
# Delete a customer
|
46
46
|
# Delete a customer on the UltraCart account.
|
47
47
|
# @param customer_profile_oid The customer_profile_oid to delete.
|
48
48
|
# @param [Hash] opts the optional parameters
|
49
|
-
# @return [Array<(
|
49
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
50
50
|
def delete_customer_with_http_info(customer_profile_oid, opts = {})
|
51
51
|
if @api_client.config.debugging
|
52
52
|
@api_client.config.logger.debug 'Calling API: CustomerApi.delete_customer ...'
|
@@ -80,8 +80,7 @@ module UltracartClient
|
|
80
80
|
:query_params => query_params,
|
81
81
|
:form_params => form_params,
|
82
82
|
:body => post_body,
|
83
|
-
:auth_names => auth_names
|
84
|
-
:return_type => 'CustomerResponse')
|
83
|
+
:auth_names => auth_names)
|
85
84
|
if @api_client.config.debugging
|
86
85
|
@api_client.config.logger.debug "API called: CustomerApi#delete_customer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
86
|
end
|
@@ -53,6 +53,9 @@ module UltracartClient
|
|
53
53
|
# The items that are setup to rebill
|
54
54
|
attr_accessor :items
|
55
55
|
|
56
|
+
# Logs associated with this auto order
|
57
|
+
attr_accessor :logs
|
58
|
+
|
56
59
|
# The next time that the auto order will be attempted for processing
|
57
60
|
attr_accessor :next_attempt
|
58
61
|
|
@@ -111,6 +114,7 @@ module UltracartClient
|
|
111
114
|
:'enabled' => :'enabled',
|
112
115
|
:'failure_reason' => :'failure_reason',
|
113
116
|
:'items' => :'items',
|
117
|
+
:'logs' => :'logs',
|
114
118
|
:'next_attempt' => :'next_attempt',
|
115
119
|
:'original_order' => :'original_order',
|
116
120
|
:'original_order_id' => :'original_order_id',
|
@@ -137,6 +141,7 @@ module UltracartClient
|
|
137
141
|
:'enabled' => :'BOOLEAN',
|
138
142
|
:'failure_reason' => :'String',
|
139
143
|
:'items' => :'Array<AutoOrderItem>',
|
144
|
+
:'logs' => :'Array<AutoOrderLog>',
|
140
145
|
:'next_attempt' => :'String',
|
141
146
|
:'original_order' => :'Order',
|
142
147
|
:'original_order_id' => :'String',
|
@@ -209,6 +214,12 @@ module UltracartClient
|
|
209
214
|
end
|
210
215
|
end
|
211
216
|
|
217
|
+
if attributes.has_key?(:'logs')
|
218
|
+
if (value = attributes[:'logs']).is_a?(Array)
|
219
|
+
self.logs = value
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
212
223
|
if attributes.has_key?(:'next_attempt')
|
213
224
|
self.next_attempt = attributes[:'next_attempt']
|
214
225
|
end
|
@@ -283,6 +294,7 @@ module UltracartClient
|
|
283
294
|
enabled == o.enabled &&
|
284
295
|
failure_reason == o.failure_reason &&
|
285
296
|
items == o.items &&
|
297
|
+
logs == o.logs &&
|
286
298
|
next_attempt == o.next_attempt &&
|
287
299
|
original_order == o.original_order &&
|
288
300
|
original_order_id == o.original_order_id &&
|
@@ -301,7 +313,7 @@ module UltracartClient
|
|
301
313
|
# Calculates hash code according to all attributes.
|
302
314
|
# @return [Fixnum] Hash code
|
303
315
|
def hash
|
304
|
-
[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, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].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
|
305
317
|
end
|
306
318
|
|
307
319
|
# Builds the object from hash
|
@@ -0,0 +1,195 @@
|
|
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 AutoOrderLog
|
17
|
+
# Date/time that the log message was added
|
18
|
+
attr_accessor :log_dts
|
19
|
+
|
20
|
+
# Log message
|
21
|
+
attr_accessor :log_message
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'log_dts' => :'log_dts',
|
27
|
+
:'log_message' => :'log_message'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'log_dts' => :'String',
|
35
|
+
:'log_message' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'log_dts')
|
48
|
+
self.log_dts = attributes[:'log_dts']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'log_message')
|
52
|
+
self.log_message = attributes[:'log_message']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
+
# @return Array for valid properties with the reasons
|
58
|
+
def list_invalid_properties
|
59
|
+
invalid_properties = Array.new
|
60
|
+
invalid_properties
|
61
|
+
end
|
62
|
+
|
63
|
+
# Check to see if the all the properties in the model are valid
|
64
|
+
# @return true if the model is valid
|
65
|
+
def valid?
|
66
|
+
true
|
67
|
+
end
|
68
|
+
|
69
|
+
# Checks equality by comparing each attribute.
|
70
|
+
# @param [Object] Object to be compared
|
71
|
+
def ==(o)
|
72
|
+
return true if self.equal?(o)
|
73
|
+
self.class == o.class &&
|
74
|
+
log_dts == o.log_dts &&
|
75
|
+
log_message == o.log_message
|
76
|
+
end
|
77
|
+
|
78
|
+
# @see the `==` method
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def eql?(o)
|
81
|
+
self == o
|
82
|
+
end
|
83
|
+
|
84
|
+
# Calculates hash code according to all attributes.
|
85
|
+
# @return [Fixnum] Hash code
|
86
|
+
def hash
|
87
|
+
[log_dts, log_message].hash
|
88
|
+
end
|
89
|
+
|
90
|
+
# Builds the object from hash
|
91
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
92
|
+
# @return [Object] Returns the model itself
|
93
|
+
def build_from_hash(attributes)
|
94
|
+
return nil unless attributes.is_a?(Hash)
|
95
|
+
self.class.swagger_types.each_pair do |key, type|
|
96
|
+
if type =~ /\AArray<(.*)>/i
|
97
|
+
# check to ensure the input is an array given that the attribute
|
98
|
+
# is documented as an array but the input is not
|
99
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
104
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
105
|
+
end
|
106
|
+
|
107
|
+
self
|
108
|
+
end
|
109
|
+
|
110
|
+
# Deserializes the data based on type
|
111
|
+
# @param string type Data type
|
112
|
+
# @param string value Value to be deserialized
|
113
|
+
# @return [Object] Deserialized data
|
114
|
+
def _deserialize(type, value)
|
115
|
+
case type.to_sym
|
116
|
+
when :DateTime
|
117
|
+
DateTime.parse(value)
|
118
|
+
when :Date
|
119
|
+
Date.parse(value)
|
120
|
+
when :String
|
121
|
+
value.to_s
|
122
|
+
when :Integer
|
123
|
+
value.to_i
|
124
|
+
when :Float
|
125
|
+
value.to_f
|
126
|
+
when :BOOLEAN
|
127
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
128
|
+
true
|
129
|
+
else
|
130
|
+
false
|
131
|
+
end
|
132
|
+
when :Object
|
133
|
+
# generic object (usually a Hash), return directly
|
134
|
+
value
|
135
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
136
|
+
inner_type = Regexp.last_match[:inner_type]
|
137
|
+
value.map { |v| _deserialize(inner_type, v) }
|
138
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
139
|
+
k_type = Regexp.last_match[:k_type]
|
140
|
+
v_type = Regexp.last_match[:v_type]
|
141
|
+
{}.tap do |hash|
|
142
|
+
value.each do |k, v|
|
143
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
else # model
|
147
|
+
temp_model = UltracartClient.const_get(type).new
|
148
|
+
temp_model.build_from_hash(value)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Returns the string representation of the object
|
153
|
+
# @return [String] String presentation of the object
|
154
|
+
def to_s
|
155
|
+
to_hash.to_s
|
156
|
+
end
|
157
|
+
|
158
|
+
# to_body is an alias to to_hash (backward compatibility)
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
160
|
+
def to_body
|
161
|
+
to_hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the object in the form of hash
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
166
|
+
def to_hash
|
167
|
+
hash = {}
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
169
|
+
value = self.send(attr)
|
170
|
+
next if value.nil?
|
171
|
+
hash[param] = _to_hash(value)
|
172
|
+
end
|
173
|
+
hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Outputs non-array value in the form of hash
|
177
|
+
# For object, use to_hash. Otherwise, just return the value
|
178
|
+
# @param [Object] value Any valid value
|
179
|
+
# @return [Hash] Returns the value in the form of hash
|
180
|
+
def _to_hash(value)
|
181
|
+
if value.is_a?(Array)
|
182
|
+
value.compact.map { |v| _to_hash(v) }
|
183
|
+
elsif value.is_a?(Hash)
|
184
|
+
{}.tap do |hash|
|
185
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
186
|
+
end
|
187
|
+
elsif value.respond_to? :to_hash
|
188
|
+
value.to_hash
|
189
|
+
else
|
190
|
+
value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
end
|
@@ -30,6 +30,8 @@ module UltracartClient
|
|
30
30
|
|
31
31
|
attr_accessor :esp_commseq_uuid
|
32
32
|
|
33
|
+
attr_accessor :mail_card
|
34
|
+
|
33
35
|
attr_accessor :name
|
34
36
|
|
35
37
|
attr_accessor :order_id
|
@@ -49,6 +51,7 @@ module UltracartClient
|
|
49
51
|
:'esp_commseq_postcard_uuid' => :'esp_commseq_postcard_uuid',
|
50
52
|
:'esp_commseq_step_uuid' => :'esp_commseq_step_uuid',
|
51
53
|
:'esp_commseq_uuid' => :'esp_commseq_uuid',
|
54
|
+
:'mail_card' => :'mail_card',
|
52
55
|
:'name' => :'name',
|
53
56
|
:'order_id' => :'order_id',
|
54
57
|
:'postal_code' => :'postal_code',
|
@@ -67,6 +70,7 @@ module UltracartClient
|
|
67
70
|
:'esp_commseq_postcard_uuid' => :'String',
|
68
71
|
:'esp_commseq_step_uuid' => :'String',
|
69
72
|
:'esp_commseq_uuid' => :'String',
|
73
|
+
:'mail_card' => :'BOOLEAN',
|
70
74
|
:'name' => :'String',
|
71
75
|
:'order_id' => :'String',
|
72
76
|
:'postal_code' => :'String',
|
@@ -116,6 +120,10 @@ module UltracartClient
|
|
116
120
|
self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
|
117
121
|
end
|
118
122
|
|
123
|
+
if attributes.has_key?(:'mail_card')
|
124
|
+
self.mail_card = attributes[:'mail_card']
|
125
|
+
end
|
126
|
+
|
119
127
|
if attributes.has_key?(:'name')
|
120
128
|
self.name = attributes[:'name']
|
121
129
|
end
|
@@ -159,6 +167,7 @@ module UltracartClient
|
|
159
167
|
esp_commseq_postcard_uuid == o.esp_commseq_postcard_uuid &&
|
160
168
|
esp_commseq_step_uuid == o.esp_commseq_step_uuid &&
|
161
169
|
esp_commseq_uuid == o.esp_commseq_uuid &&
|
170
|
+
mail_card == o.mail_card &&
|
162
171
|
name == o.name &&
|
163
172
|
order_id == o.order_id &&
|
164
173
|
postal_code == o.postal_code &&
|
@@ -174,7 +183,7 @@ module UltracartClient
|
|
174
183
|
# Calculates hash code according to all attributes.
|
175
184
|
# @return [Fixnum] Hash code
|
176
185
|
def hash
|
177
|
-
[address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, name, order_id, postal_code, state].hash
|
186
|
+
[address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, mail_card, name, order_id, postal_code, state].hash
|
178
187
|
end
|
179
188
|
|
180
189
|
# Builds the object from hash
|
@@ -56,6 +56,9 @@ module UltracartClient
|
|
56
56
|
# Total page view count for this variation
|
57
57
|
attr_accessor :page_view_count
|
58
58
|
|
59
|
+
# True if traffic should be paused to this variation
|
60
|
+
attr_accessor :paused
|
61
|
+
|
59
62
|
# Total revenue for this variation
|
60
63
|
attr_accessor :revenue
|
61
64
|
|
@@ -94,6 +97,7 @@ module UltracartClient
|
|
94
97
|
:'order_item_count' => :'order_item_count',
|
95
98
|
:'original_traffic_percentage' => :'original_traffic_percentage',
|
96
99
|
:'page_view_count' => :'page_view_count',
|
100
|
+
:'paused' => :'paused',
|
97
101
|
:'revenue' => :'revenue',
|
98
102
|
:'session_count' => :'session_count',
|
99
103
|
:'traffic_percentage' => :'traffic_percentage',
|
@@ -121,6 +125,7 @@ module UltracartClient
|
|
121
125
|
:'order_item_count' => :'Integer',
|
122
126
|
:'original_traffic_percentage' => :'Float',
|
123
127
|
:'page_view_count' => :'Integer',
|
128
|
+
:'paused' => :'BOOLEAN',
|
124
129
|
:'revenue' => :'Float',
|
125
130
|
:'session_count' => :'Integer',
|
126
131
|
:'traffic_percentage' => :'Float',
|
@@ -197,6 +202,10 @@ module UltracartClient
|
|
197
202
|
self.page_view_count = attributes[:'page_view_count']
|
198
203
|
end
|
199
204
|
|
205
|
+
if attributes.has_key?(:'paused')
|
206
|
+
self.paused = attributes[:'paused']
|
207
|
+
end
|
208
|
+
|
200
209
|
if attributes.has_key?(:'revenue')
|
201
210
|
self.revenue = attributes[:'revenue']
|
202
211
|
end
|
@@ -258,6 +267,7 @@ module UltracartClient
|
|
258
267
|
order_item_count == o.order_item_count &&
|
259
268
|
original_traffic_percentage == o.original_traffic_percentage &&
|
260
269
|
page_view_count == o.page_view_count &&
|
270
|
+
paused == o.paused &&
|
261
271
|
revenue == o.revenue &&
|
262
272
|
session_count == o.session_count &&
|
263
273
|
traffic_percentage == o.traffic_percentage &&
|
@@ -276,7 +286,7 @@ module UltracartClient
|
|
276
286
|
# Calculates hash code according to all attributes.
|
277
287
|
# @return [Fixnum] Hash code
|
278
288
|
def hash
|
279
|
-
[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, revenue, session_count, traffic_percentage, url, variation_name, variation_number, winner].hash
|
289
|
+
[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
|
280
290
|
end
|
281
291
|
|
282
292
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
20
20
|
# claim id
|
21
21
|
attr_accessor :claim_id
|
22
22
|
|
23
|
+
# insurance type
|
24
|
+
attr_accessor :insurance_type
|
25
|
+
|
23
26
|
# refund claim id
|
24
27
|
attr_accessor :refund_claim_id
|
25
28
|
|
@@ -28,6 +31,7 @@ module UltracartClient
|
|
28
31
|
{
|
29
32
|
:'application_id' => :'application_id',
|
30
33
|
:'claim_id' => :'claim_id',
|
34
|
+
:'insurance_type' => :'insurance_type',
|
31
35
|
:'refund_claim_id' => :'refund_claim_id'
|
32
36
|
}
|
33
37
|
end
|
@@ -37,6 +41,7 @@ module UltracartClient
|
|
37
41
|
{
|
38
42
|
:'application_id' => :'String',
|
39
43
|
:'claim_id' => :'String',
|
44
|
+
:'insurance_type' => :'String',
|
40
45
|
:'refund_claim_id' => :'String'
|
41
46
|
}
|
42
47
|
end
|
@@ -57,6 +62,10 @@ module UltracartClient
|
|
57
62
|
self.claim_id = attributes[:'claim_id']
|
58
63
|
end
|
59
64
|
|
65
|
+
if attributes.has_key?(:'insurance_type')
|
66
|
+
self.insurance_type = attributes[:'insurance_type']
|
67
|
+
end
|
68
|
+
|
60
69
|
if attributes.has_key?(:'refund_claim_id')
|
61
70
|
self.refund_claim_id = attributes[:'refund_claim_id']
|
62
71
|
end
|
@@ -82,6 +91,7 @@ module UltracartClient
|
|
82
91
|
self.class == o.class &&
|
83
92
|
application_id == o.application_id &&
|
84
93
|
claim_id == o.claim_id &&
|
94
|
+
insurance_type == o.insurance_type &&
|
85
95
|
refund_claim_id == o.refund_claim_id
|
86
96
|
end
|
87
97
|
|
@@ -94,7 +104,7 @@ module UltracartClient
|
|
94
104
|
# Calculates hash code according to all attributes.
|
95
105
|
# @return [Fixnum] Hash code
|
96
106
|
def hash
|
97
|
-
[application_id, claim_id, refund_claim_id].hash
|
107
|
+
[application_id, claim_id, insurance_type, refund_claim_id].hash
|
98
108
|
end
|
99
109
|
|
100
110
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module UltracartClient
|
|
32
32
|
# Bing Click Id (Parameter
|
33
33
|
attr_accessor :msclkid
|
34
34
|
|
35
|
+
# TikTok Click Id (Parameter
|
36
|
+
attr_accessor :ttclid
|
37
|
+
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
@@ -40,7 +43,8 @@ module UltracartClient
|
|
40
43
|
:'fbp' => :'fbp',
|
41
44
|
:'gacid' => :'gacid',
|
42
45
|
:'glcid' => :'glcid',
|
43
|
-
:'msclkid' => :'msclkid'
|
46
|
+
:'msclkid' => :'msclkid',
|
47
|
+
:'ttclid' => :'ttclid'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -52,7 +56,8 @@ module UltracartClient
|
|
52
56
|
:'fbp' => :'String',
|
53
57
|
:'gacid' => :'String',
|
54
58
|
:'glcid' => :'String',
|
55
|
-
:'msclkid' => :'String'
|
59
|
+
:'msclkid' => :'String',
|
60
|
+
:'ttclid' => :'String'
|
56
61
|
}
|
57
62
|
end
|
58
63
|
|
@@ -87,6 +92,10 @@ module UltracartClient
|
|
87
92
|
if attributes.has_key?(:'msclkid')
|
88
93
|
self.msclkid = attributes[:'msclkid']
|
89
94
|
end
|
95
|
+
|
96
|
+
if attributes.has_key?(:'ttclid')
|
97
|
+
self.ttclid = attributes[:'ttclid']
|
98
|
+
end
|
90
99
|
end
|
91
100
|
|
92
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -112,7 +121,8 @@ module UltracartClient
|
|
112
121
|
fbp == o.fbp &&
|
113
122
|
gacid == o.gacid &&
|
114
123
|
glcid == o.glcid &&
|
115
|
-
msclkid == o.msclkid
|
124
|
+
msclkid == o.msclkid &&
|
125
|
+
ttclid == o.ttclid
|
116
126
|
end
|
117
127
|
|
118
128
|
# @see the `==` method
|
@@ -124,7 +134,7 @@ module UltracartClient
|
|
124
134
|
# Calculates hash code according to all attributes.
|
125
135
|
# @return [Fixnum] Hash code
|
126
136
|
def hash
|
127
|
-
[fbc, fbclid, fbp, gacid, glcid, msclkid].hash
|
137
|
+
[fbc, fbclid, fbp, gacid, glcid, msclkid, ttclid].hash
|
128
138
|
end
|
129
139
|
|
130
140
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -41,6 +41,7 @@ require 'ultracart_api/models/auto_order_item'
|
|
41
41
|
require 'ultracart_api/models/auto_order_item_future_schedule'
|
42
42
|
require 'ultracart_api/models/auto_order_item_option'
|
43
43
|
require 'ultracart_api/models/auto_order_item_simple_schedule'
|
44
|
+
require 'ultracart_api/models/auto_order_log'
|
44
45
|
require 'ultracart_api/models/auto_order_query'
|
45
46
|
require 'ultracart_api/models/auto_order_query_batch'
|
46
47
|
require 'ultracart_api/models/auto_order_response'
|
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.
|
4
|
+
version: 3.7.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -227,6 +227,7 @@ files:
|
|
227
227
|
- docs/AutoOrderItemFutureSchedule.md
|
228
228
|
- docs/AutoOrderItemOption.md
|
229
229
|
- docs/AutoOrderItemSimpleSchedule.md
|
230
|
+
- docs/AutoOrderLog.md
|
230
231
|
- docs/AutoOrderQuery.md
|
231
232
|
- docs/AutoOrderQueryBatch.md
|
232
233
|
- docs/AutoOrderResponse.md
|
@@ -903,6 +904,7 @@ files:
|
|
903
904
|
- lib/ultracart_api/models/auto_order_item_future_schedule.rb
|
904
905
|
- lib/ultracart_api/models/auto_order_item_option.rb
|
905
906
|
- lib/ultracart_api/models/auto_order_item_simple_schedule.rb
|
907
|
+
- lib/ultracart_api/models/auto_order_log.rb
|
906
908
|
- lib/ultracart_api/models/auto_order_query.rb
|
907
909
|
- lib/ultracart_api/models/auto_order_query_batch.rb
|
908
910
|
- lib/ultracart_api/models/auto_order_response.rb
|