ultracart_api 4.0.178 → 4.0.180
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 +2 -0
- data/docs/ExperimentVariationStat.md +2 -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: 39c4cbaacb99003a56d90f6737e6426864fc58425a2d73d4fe21d5ae1d1ea862
|
4
|
+
data.tar.gz: '09b01607d00a1c5b5c73f3807c9b7c0d7567050e8016a07a74a2f917b306a813'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6134c3492a3fab18ee243ebe4528b07abee4d1f96d0443fdd72ecf464190f36f38c7979495219eb4c75afe1423521b009b48db74caf7f0ced7a1b444b0ca626a
|
7
|
+
data.tar.gz: 9dd33939d18ed9d5e67138d9c2f3898b23164b1b9b4f6a222279574d61459a8ca92d28b467f7d32a9f98737c0f3d02f97faf2d673c8beadccba473843e8fe6af
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.180
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.180.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.180.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.180'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1371,6 +1371,8 @@ Not every change is committed to every SDK.
|
|
1371
1371
|
|
1372
1372
|
| Version | Date | Comments |
|
1373
1373
|
| --: | :-: | --- |
|
1374
|
+
| 4.0.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
1375
|
+
| 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
|
1374
1376
|
| 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
1375
1377
|
| 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
|
1376
1378
|
| 4.0.176 | 09/12/2023 | added oids to customer properties |
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **collect_credit_card_verification_number** | **Boolean** | True if the credit card verification number should be collected | [optional] |
|
8
|
+
| **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] |
|
8
9
|
| **credit_card_types** | **Array<String>** | Available credit card types | [optional] |
|
9
10
|
| **hosted_fields_shopping_cart_token** | **String** | The shoppingCartToken needed for proper initialization of hosted fields collection | [optional] |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'ultracart_api'
|
|
15
16
|
|
16
17
|
instance = UltracartClient::CartSettingsPaymentCreditCard.new(
|
17
18
|
collect_credit_card_verification_number: null,
|
19
|
+
collect_credit_card_verification_number_minimum: null,
|
18
20
|
credit_card_types: null,
|
19
21
|
hosted_fields_shopping_cart_token: null
|
20
22
|
)
|
@@ -10,6 +10,7 @@
|
|
10
10
|
| **event_count** | **Integer** | Total event count for this variation | [optional] |
|
11
11
|
| **initiate_checkout_count** | **Integer** | Total initiate checkout count for this variation | [optional] |
|
12
12
|
| **order_count** | **Integer** | Total order count for this variation | [optional] |
|
13
|
+
| **order_ids** | **Array<String>** | Order ID thats converted on this variation | [optional] |
|
13
14
|
| **order_item_count** | **Integer** | Total order item count for this variation | [optional] |
|
14
15
|
| **page_view_count** | **Integer** | Total page view count for this variation | [optional] |
|
15
16
|
| **revenue** | **Float** | Total revenue for this variation | [optional] |
|
@@ -29,6 +30,7 @@ instance = UltracartClient::ExperimentVariationStat.new(
|
|
29
30
|
event_count: null,
|
30
31
|
initiate_checkout_count: null,
|
31
32
|
order_count: null,
|
33
|
+
order_ids: null,
|
32
34
|
order_item_count: null,
|
33
35
|
page_view_count: null,
|
34
36
|
revenue: null,
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
18
18
|
# True if the credit card verification number should be collected
|
19
19
|
attr_accessor :collect_credit_card_verification_number
|
20
20
|
|
21
|
+
# If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
22
|
+
attr_accessor :collect_credit_card_verification_number_minimum
|
23
|
+
|
21
24
|
# Available credit card types
|
22
25
|
attr_accessor :credit_card_types
|
23
26
|
|
@@ -28,6 +31,7 @@ module UltracartClient
|
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'collect_credit_card_verification_number' => :'collect_credit_card_verification_number',
|
34
|
+
:'collect_credit_card_verification_number_minimum' => :'collect_credit_card_verification_number_minimum',
|
31
35
|
:'credit_card_types' => :'credit_card_types',
|
32
36
|
:'hosted_fields_shopping_cart_token' => :'hosted_fields_shopping_cart_token'
|
33
37
|
}
|
@@ -42,6 +46,7 @@ module UltracartClient
|
|
42
46
|
def self.openapi_types
|
43
47
|
{
|
44
48
|
:'collect_credit_card_verification_number' => :'Boolean',
|
49
|
+
:'collect_credit_card_verification_number_minimum' => :'Float',
|
45
50
|
:'credit_card_types' => :'Array<String>',
|
46
51
|
:'hosted_fields_shopping_cart_token' => :'String'
|
47
52
|
}
|
@@ -72,6 +77,10 @@ module UltracartClient
|
|
72
77
|
self.collect_credit_card_verification_number = attributes[:'collect_credit_card_verification_number']
|
73
78
|
end
|
74
79
|
|
80
|
+
if attributes.key?(:'collect_credit_card_verification_number_minimum')
|
81
|
+
self.collect_credit_card_verification_number_minimum = attributes[:'collect_credit_card_verification_number_minimum']
|
82
|
+
end
|
83
|
+
|
75
84
|
if attributes.key?(:'credit_card_types')
|
76
85
|
if (value = attributes[:'credit_card_types']).is_a?(Array)
|
77
86
|
self.credit_card_types = value
|
@@ -102,6 +111,7 @@ module UltracartClient
|
|
102
111
|
return true if self.equal?(o)
|
103
112
|
self.class == o.class &&
|
104
113
|
collect_credit_card_verification_number == o.collect_credit_card_verification_number &&
|
114
|
+
collect_credit_card_verification_number_minimum == o.collect_credit_card_verification_number_minimum &&
|
105
115
|
credit_card_types == o.credit_card_types &&
|
106
116
|
hosted_fields_shopping_cart_token == o.hosted_fields_shopping_cart_token
|
107
117
|
end
|
@@ -115,7 +125,7 @@ module UltracartClient
|
|
115
125
|
# Calculates hash code according to all attributes.
|
116
126
|
# @return [Integer] Hash code
|
117
127
|
def hash
|
118
|
-
[collect_credit_card_verification_number, credit_card_types, hosted_fields_shopping_cart_token].hash
|
128
|
+
[collect_credit_card_verification_number, collect_credit_card_verification_number_minimum, credit_card_types, hosted_fields_shopping_cart_token].hash
|
119
129
|
end
|
120
130
|
|
121
131
|
# Builds the object from hash
|
@@ -33,6 +33,9 @@ module UltracartClient
|
|
33
33
|
# Total order count for this variation
|
34
34
|
attr_accessor :order_count
|
35
35
|
|
36
|
+
# Order ID thats converted on this variation
|
37
|
+
attr_accessor :order_ids
|
38
|
+
|
36
39
|
# Total order item count for this variation
|
37
40
|
attr_accessor :order_item_count
|
38
41
|
|
@@ -60,6 +63,7 @@ module UltracartClient
|
|
60
63
|
:'event_count' => :'event_count',
|
61
64
|
:'initiate_checkout_count' => :'initiate_checkout_count',
|
62
65
|
:'order_count' => :'order_count',
|
66
|
+
:'order_ids' => :'order_ids',
|
63
67
|
:'order_item_count' => :'order_item_count',
|
64
68
|
:'page_view_count' => :'page_view_count',
|
65
69
|
:'revenue' => :'revenue',
|
@@ -83,6 +87,7 @@ module UltracartClient
|
|
83
87
|
:'event_count' => :'Integer',
|
84
88
|
:'initiate_checkout_count' => :'Integer',
|
85
89
|
:'order_count' => :'Integer',
|
90
|
+
:'order_ids' => :'Array<String>',
|
86
91
|
:'order_item_count' => :'Integer',
|
87
92
|
:'page_view_count' => :'Integer',
|
88
93
|
:'revenue' => :'Float',
|
@@ -137,6 +142,12 @@ module UltracartClient
|
|
137
142
|
self.order_count = attributes[:'order_count']
|
138
143
|
end
|
139
144
|
|
145
|
+
if attributes.key?(:'order_ids')
|
146
|
+
if (value = attributes[:'order_ids']).is_a?(Array)
|
147
|
+
self.order_ids = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
140
151
|
if attributes.key?(:'order_item_count')
|
141
152
|
self.order_item_count = attributes[:'order_item_count']
|
142
153
|
end
|
@@ -186,6 +197,7 @@ module UltracartClient
|
|
186
197
|
event_count == o.event_count &&
|
187
198
|
initiate_checkout_count == o.initiate_checkout_count &&
|
188
199
|
order_count == o.order_count &&
|
200
|
+
order_ids == o.order_ids &&
|
189
201
|
order_item_count == o.order_item_count &&
|
190
202
|
page_view_count == o.page_view_count &&
|
191
203
|
revenue == o.revenue &&
|
@@ -203,7 +215,7 @@ module UltracartClient
|
|
203
215
|
# Calculates hash code according to all attributes.
|
204
216
|
# @return [Integer] Hash code
|
205
217
|
def hash
|
206
|
-
[add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
|
218
|
+
[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
|
207
219
|
end
|
208
220
|
|
209
221
|
# Builds the object from hash
|
@@ -121,7 +121,7 @@ module UltracartClient
|
|
121
121
|
# Check to see if the all the properties in the model are valid
|
122
122
|
# @return true if the model is valid
|
123
123
|
def valid?
|
124
|
-
aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg"])
|
124
|
+
aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg", "none"])
|
125
125
|
return false unless aggregation_validator.valid?(@aggregation)
|
126
126
|
true
|
127
127
|
end
|
@@ -129,7 +129,7 @@ module UltracartClient
|
|
129
129
|
# Custom attribute writer method checking allowed values (enum).
|
130
130
|
# @param [Object] aggregation Object to be assigned
|
131
131
|
def aggregation=(aggregation)
|
132
|
-
validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg"])
|
132
|
+
validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg", "none"])
|
133
133
|
unless validator.valid?(aggregation)
|
134
134
|
fail ArgumentError, "invalid value for \"aggregation\", must be one of #{validator.allowable_values}."
|
135
135
|
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: 4.0.
|
4
|
+
version: 4.0.180
|
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
|