ultracart_api 3.10.161 → 3.10.163
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/CartSettingsPaymentCreditCard.md +1 -0
- data/docs/ExperimentVariationStat.md +1 -0
- data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +11 -1
- data/lib/ultracart_api/models/experiment_variation_stat.rb +13 -1
- data/lib/ultracart_api/models/report_page_visualization_metric.rb +2 -2
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e25b0792112f96978faedf62ee6db9a1c38259244aedcc33418ab5c5f3b57978
|
4
|
+
data.tar.gz: 464c8403be01a3dacf3af4f5124c204f1e371eb271b6e4e53df76bd1792070b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 275dd1a4eea1e7775896859417a0d7b723912df172a753cdb407bfcc3bf3bc9e64499e5d6a03db50365788bde5b78147f3e211ed13a7311165aae8e396746263
|
7
|
+
data.tar.gz: fbc819a4195f6676ea5f8efea9486eb1d536ce14cc170a5cacd2a54f766662ea5709b648a9d8f8a5a16b9dd194de7397ae560ef15c062e0881968c8f22601131
|
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.
|
10
|
+
- Package version: 3.10.163
|
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.10.
|
27
|
+
gem install ./ultracart_api-3.10.163.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.163.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.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.163'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1363,6 +1363,8 @@ Not every change is committed to every SDK.
|
|
1363
1363
|
|
1364
1364
|
| Version | Date | Comments |
|
1365
1365
|
| --: | :-: | --- |
|
1366
|
+
| 3.10.163 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
1367
|
+
| 3.10.162 | 09/28/2023 | dw bi - add aggregation constant of none |
|
1366
1368
|
| 3.10.161 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
1367
1369
|
| 3.10.160 | 09/15/2023 | new item fields for additional barcodes |
|
1368
1370
|
| 3.10.159 | 09/12/2023 | added oids to customer properties |
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**collect_credit_card_verification_number** | **BOOLEAN** | True if the credit card verification number should be collected | [optional]
|
7
|
+
**collect_credit_card_verification_number_minimum** | **Float** | If this field is null or the total is greater than or equal to this value then collect the CVV2. | [optional]
|
7
8
|
**credit_card_types** | **Array<String>** | Available credit card types | [optional]
|
8
9
|
**hosted_fields_shopping_cart_token** | **String** | The shoppingCartToken needed for proper initialization of hosted fields collection | [optional]
|
9
10
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**event_count** | **Integer** | Total event count for this variation | [optional]
|
10
10
|
**initiate_checkout_count** | **Integer** | Total initiate checkout count for this variation | [optional]
|
11
11
|
**order_count** | **Integer** | Total order count for this variation | [optional]
|
12
|
+
**order_ids** | **Array<String>** | Order ID thats converted on this variation | [optional]
|
12
13
|
**order_item_count** | **Integer** | Total order item count for this variation | [optional]
|
13
14
|
**page_view_count** | **Integer** | Total page view count for this variation | [optional]
|
14
15
|
**revenue** | **Float** | Total revenue for this variation | [optional]
|
@@ -17,6 +17,9 @@ module UltracartClient
|
|
17
17
|
# True if the credit card verification number should be collected
|
18
18
|
attr_accessor :collect_credit_card_verification_number
|
19
19
|
|
20
|
+
# If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
21
|
+
attr_accessor :collect_credit_card_verification_number_minimum
|
22
|
+
|
20
23
|
# Available credit card types
|
21
24
|
attr_accessor :credit_card_types
|
22
25
|
|
@@ -27,6 +30,7 @@ module UltracartClient
|
|
27
30
|
def self.attribute_map
|
28
31
|
{
|
29
32
|
:'collect_credit_card_verification_number' => :'collect_credit_card_verification_number',
|
33
|
+
:'collect_credit_card_verification_number_minimum' => :'collect_credit_card_verification_number_minimum',
|
30
34
|
:'credit_card_types' => :'credit_card_types',
|
31
35
|
:'hosted_fields_shopping_cart_token' => :'hosted_fields_shopping_cart_token'
|
32
36
|
}
|
@@ -36,6 +40,7 @@ module UltracartClient
|
|
36
40
|
def self.swagger_types
|
37
41
|
{
|
38
42
|
:'collect_credit_card_verification_number' => :'BOOLEAN',
|
43
|
+
:'collect_credit_card_verification_number_minimum' => :'Float',
|
39
44
|
:'credit_card_types' => :'Array<String>',
|
40
45
|
:'hosted_fields_shopping_cart_token' => :'String'
|
41
46
|
}
|
@@ -53,6 +58,10 @@ module UltracartClient
|
|
53
58
|
self.collect_credit_card_verification_number = attributes[:'collect_credit_card_verification_number']
|
54
59
|
end
|
55
60
|
|
61
|
+
if attributes.has_key?(:'collect_credit_card_verification_number_minimum')
|
62
|
+
self.collect_credit_card_verification_number_minimum = attributes[:'collect_credit_card_verification_number_minimum']
|
63
|
+
end
|
64
|
+
|
56
65
|
if attributes.has_key?(:'credit_card_types')
|
57
66
|
if (value = attributes[:'credit_card_types']).is_a?(Array)
|
58
67
|
self.credit_card_types = value
|
@@ -83,6 +92,7 @@ module UltracartClient
|
|
83
92
|
return true if self.equal?(o)
|
84
93
|
self.class == o.class &&
|
85
94
|
collect_credit_card_verification_number == o.collect_credit_card_verification_number &&
|
95
|
+
collect_credit_card_verification_number_minimum == o.collect_credit_card_verification_number_minimum &&
|
86
96
|
credit_card_types == o.credit_card_types &&
|
87
97
|
hosted_fields_shopping_cart_token == o.hosted_fields_shopping_cart_token
|
88
98
|
end
|
@@ -96,7 +106,7 @@ module UltracartClient
|
|
96
106
|
# Calculates hash code according to all attributes.
|
97
107
|
# @return [Fixnum] Hash code
|
98
108
|
def hash
|
99
|
-
[collect_credit_card_verification_number, credit_card_types, hosted_fields_shopping_cart_token].hash
|
109
|
+
[collect_credit_card_verification_number, collect_credit_card_verification_number_minimum, credit_card_types, hosted_fields_shopping_cart_token].hash
|
100
110
|
end
|
101
111
|
|
102
112
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module UltracartClient
|
|
32
32
|
# Total order count for this variation
|
33
33
|
attr_accessor :order_count
|
34
34
|
|
35
|
+
# Order ID thats converted on this variation
|
36
|
+
attr_accessor :order_ids
|
37
|
+
|
35
38
|
# Total order item count for this variation
|
36
39
|
attr_accessor :order_item_count
|
37
40
|
|
@@ -59,6 +62,7 @@ module UltracartClient
|
|
59
62
|
:'event_count' => :'event_count',
|
60
63
|
:'initiate_checkout_count' => :'initiate_checkout_count',
|
61
64
|
:'order_count' => :'order_count',
|
65
|
+
:'order_ids' => :'order_ids',
|
62
66
|
:'order_item_count' => :'order_item_count',
|
63
67
|
:'page_view_count' => :'page_view_count',
|
64
68
|
:'revenue' => :'revenue',
|
@@ -77,6 +81,7 @@ module UltracartClient
|
|
77
81
|
:'event_count' => :'Integer',
|
78
82
|
:'initiate_checkout_count' => :'Integer',
|
79
83
|
:'order_count' => :'Integer',
|
84
|
+
:'order_ids' => :'Array<String>',
|
80
85
|
:'order_item_count' => :'Integer',
|
81
86
|
:'page_view_count' => :'Integer',
|
82
87
|
:'revenue' => :'Float',
|
@@ -118,6 +123,12 @@ module UltracartClient
|
|
118
123
|
self.order_count = attributes[:'order_count']
|
119
124
|
end
|
120
125
|
|
126
|
+
if attributes.has_key?(:'order_ids')
|
127
|
+
if (value = attributes[:'order_ids']).is_a?(Array)
|
128
|
+
self.order_ids = value
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
121
132
|
if attributes.has_key?(:'order_item_count')
|
122
133
|
self.order_item_count = attributes[:'order_item_count']
|
123
134
|
end
|
@@ -167,6 +178,7 @@ module UltracartClient
|
|
167
178
|
event_count == o.event_count &&
|
168
179
|
initiate_checkout_count == o.initiate_checkout_count &&
|
169
180
|
order_count == o.order_count &&
|
181
|
+
order_ids == o.order_ids &&
|
170
182
|
order_item_count == o.order_item_count &&
|
171
183
|
page_view_count == o.page_view_count &&
|
172
184
|
revenue == o.revenue &&
|
@@ -184,7 +196,7 @@ module UltracartClient
|
|
184
196
|
# Calculates hash code according to all attributes.
|
185
197
|
# @return [Fixnum] Hash code
|
186
198
|
def hash
|
187
|
-
[add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
|
199
|
+
[add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_ids, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
|
188
200
|
end
|
189
201
|
|
190
202
|
# Builds the object from hash
|
@@ -102,7 +102,7 @@ module UltracartClient
|
|
102
102
|
# Check to see if the all the properties in the model are valid
|
103
103
|
# @return true if the model is valid
|
104
104
|
def valid?
|
105
|
-
aggregation_validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg'])
|
105
|
+
aggregation_validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg', 'none'])
|
106
106
|
return false unless aggregation_validator.valid?(@aggregation)
|
107
107
|
true
|
108
108
|
end
|
@@ -110,7 +110,7 @@ module UltracartClient
|
|
110
110
|
# Custom attribute writer method checking allowed values (enum).
|
111
111
|
# @param [Object] aggregation Object to be assigned
|
112
112
|
def aggregation=(aggregation)
|
113
|
-
validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg'])
|
113
|
+
validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg', 'none'])
|
114
114
|
unless validator.valid?(aggregation)
|
115
115
|
fail ArgumentError, 'invalid value for "aggregation", must be one of #{validator.allowable_values}.'
|
116
116
|
end
|
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.10.
|
4
|
+
version: 3.10.163
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|