ultracart_api 4.0.89.rc → 4.0.90.rc
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33716e5c02b452d1bc9b8d2972d7959dcbb6f1d9c98cefbb25fdea95876715c6
|
4
|
+
data.tar.gz: 9e8c56875abfccb19e1cc52cab7b22ce005ca061d8cd795afa337efa853f7cd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ee903116eba65e05721cdde09a1e1a1bd302eae5cf5706d1d5605004590cf3899e7dd0664cb33615170d2b54dc03d0bfa9fa4081ce019cea884f291a448ab29
|
7
|
+
data.tar.gz: ba2723a88627e54139b9ee1478a6c7a8b5331d7b7b337408b8bc6a136fdcf3c34db1acc5ab1338fd62fbd9892f8ee8089039af6f42b561437b121e08a2d09b00
|
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.90.rc
|
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.90.rc.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.90.rc.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.90.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1234,6 +1234,7 @@ Not every change is committed to every SDK.
|
|
1234
1234
|
|
1235
1235
|
| Version | Date | Comments |
|
1236
1236
|
| --: | :-: | --- |
|
1237
|
+
| 4.0.90-RC | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
1237
1238
|
| 4.0.89-RC | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
1238
1239
|
| 4.0.88-RC | 11/29/2022 | converstation marked convo read method |
|
1239
1240
|
| 4.0.87-RC | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
|
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **auto_orders** | [**Array<AutoOrder>**](AutoOrder.md) | | [optional] |
|
7
8
|
| **cart** | [**Cart**](Cart.md) | | [optional] |
|
8
9
|
| **current_url** | **String** | | [optional] |
|
10
|
+
| **orders** | [**Array<Order>**](Order.md) | | [optional] |
|
9
11
|
| **page_view** | [**Array<HitPageView>**](HitPageView.md) | | [optional] |
|
10
12
|
| **session_start** | [**HitSessionStart**](HitSessionStart.md) | | [optional] |
|
11
13
|
| **session_utm** | [**HitSessionUtm**](HitSessionUtm.md) | | [optional] |
|
@@ -16,8 +18,10 @@
|
|
16
18
|
require 'ultracart_api'
|
17
19
|
|
18
20
|
instance = UltracartClient::ConversationWebchatContext.new(
|
21
|
+
auto_orders: null,
|
19
22
|
cart: null,
|
20
23
|
current_url: null,
|
24
|
+
orders: null,
|
21
25
|
page_view: null,
|
22
26
|
session_start: null,
|
23
27
|
session_utm: null
|
@@ -15,10 +15,14 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ConversationWebchatContext
|
18
|
+
attr_accessor :auto_orders
|
19
|
+
|
18
20
|
attr_accessor :cart
|
19
21
|
|
20
22
|
attr_accessor :current_url
|
21
23
|
|
24
|
+
attr_accessor :orders
|
25
|
+
|
22
26
|
attr_accessor :page_view
|
23
27
|
|
24
28
|
attr_accessor :session_start
|
@@ -28,8 +32,10 @@ module UltracartClient
|
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
35
|
+
:'auto_orders' => :'auto_orders',
|
31
36
|
:'cart' => :'cart',
|
32
37
|
:'current_url' => :'current_url',
|
38
|
+
:'orders' => :'orders',
|
33
39
|
:'page_view' => :'page_view',
|
34
40
|
:'session_start' => :'session_start',
|
35
41
|
:'session_utm' => :'session_utm'
|
@@ -44,8 +50,10 @@ module UltracartClient
|
|
44
50
|
# Attribute type mapping.
|
45
51
|
def self.openapi_types
|
46
52
|
{
|
53
|
+
:'auto_orders' => :'Array<AutoOrder>',
|
47
54
|
:'cart' => :'Cart',
|
48
55
|
:'current_url' => :'String',
|
56
|
+
:'orders' => :'Array<Order>',
|
49
57
|
:'page_view' => :'Array<HitPageView>',
|
50
58
|
:'session_start' => :'HitSessionStart',
|
51
59
|
:'session_utm' => :'HitSessionUtm'
|
@@ -73,6 +81,12 @@ module UltracartClient
|
|
73
81
|
h[k.to_sym] = v
|
74
82
|
}
|
75
83
|
|
84
|
+
if attributes.key?(:'auto_orders')
|
85
|
+
if (value = attributes[:'auto_orders']).is_a?(Array)
|
86
|
+
self.auto_orders = value
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
76
90
|
if attributes.key?(:'cart')
|
77
91
|
self.cart = attributes[:'cart']
|
78
92
|
end
|
@@ -81,6 +95,12 @@ module UltracartClient
|
|
81
95
|
self.current_url = attributes[:'current_url']
|
82
96
|
end
|
83
97
|
|
98
|
+
if attributes.key?(:'orders')
|
99
|
+
if (value = attributes[:'orders']).is_a?(Array)
|
100
|
+
self.orders = value
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
84
104
|
if attributes.key?(:'page_view')
|
85
105
|
if (value = attributes[:'page_view']).is_a?(Array)
|
86
106
|
self.page_view = value
|
@@ -114,8 +134,10 @@ module UltracartClient
|
|
114
134
|
def ==(o)
|
115
135
|
return true if self.equal?(o)
|
116
136
|
self.class == o.class &&
|
137
|
+
auto_orders == o.auto_orders &&
|
117
138
|
cart == o.cart &&
|
118
139
|
current_url == o.current_url &&
|
140
|
+
orders == o.orders &&
|
119
141
|
page_view == o.page_view &&
|
120
142
|
session_start == o.session_start &&
|
121
143
|
session_utm == o.session_utm
|
@@ -130,7 +152,7 @@ module UltracartClient
|
|
130
152
|
# Calculates hash code according to all attributes.
|
131
153
|
# @return [Integer] Hash code
|
132
154
|
def hash
|
133
|
-
[cart, current_url, page_view, session_start, session_utm].hash
|
155
|
+
[auto_orders, cart, current_url, orders, page_view, session_start, session_utm].hash
|
134
156
|
end
|
135
157
|
|
136
158
|
# Builds the object from hash
|