ultracart_api 3.4.3 → 3.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/OrderTrackingNumberDetail.md +2 -0
- data/lib/ultracart_api/models/order_tracking_number_detail.rb +21 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 030c57d9a092b07726cce3a702561c996ca7722cc1e4434f9647955fbe80fa24
|
4
|
+
data.tar.gz: 9354172fcd1a0c2be6dbe35dc6769900f8b82a9422e8a348b38dfece7e7bb491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fffcc180d93a131f3ddf22def0145233640e0884fad5af7368cce02541ba40c009dccb26937d24d98bccb95f75acc19096292dab6478a1a7ed6cf7237658b02b
|
7
|
+
data.tar.gz: 54f75010b193501bc1fe94593d98bf325bad9945e0ce2a08a7f8a97d75e76f76ae62f1839145e1f64abbee5dfb0d756101db2e22b0a257ceae9bfd96d58cf247
|
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.4.
|
10
|
+
- Package version: 3.4.4
|
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.4.
|
27
|
+
gem install ./ultracart_api-3.4.4.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.4.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.4.4.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.4.
|
35
|
+
gem 'ultracart_api', '~> 3.4.4'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -4,8 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**city** | **String** | | [optional]
|
7
|
+
**event_dts** | **String** | ISO 8601 timestamp that the event occurred | [optional]
|
7
8
|
**event_local_date** | **String** | | [optional]
|
8
9
|
**event_local_time** | **String** | | [optional]
|
10
|
+
**event_timezone_id** | **String** | Timezone the event occurred in. Use this in conjunction with event_dts to format a local date/time. | [optional]
|
9
11
|
**state** | **String** | | [optional]
|
10
12
|
**subtag** | **String** | | [optional]
|
11
13
|
**subtag_message** | **String** | | [optional]
|
@@ -16,10 +16,16 @@ module UltracartClient
|
|
16
16
|
class OrderTrackingNumberDetail
|
17
17
|
attr_accessor :city
|
18
18
|
|
19
|
+
# ISO 8601 timestamp that the event occurred
|
20
|
+
attr_accessor :event_dts
|
21
|
+
|
19
22
|
attr_accessor :event_local_date
|
20
23
|
|
21
24
|
attr_accessor :event_local_time
|
22
25
|
|
26
|
+
# Timezone the event occurred in. Use this in conjunction with event_dts to format a local date/time.
|
27
|
+
attr_accessor :event_timezone_id
|
28
|
+
|
23
29
|
attr_accessor :state
|
24
30
|
|
25
31
|
attr_accessor :subtag
|
@@ -38,8 +44,10 @@ module UltracartClient
|
|
38
44
|
def self.attribute_map
|
39
45
|
{
|
40
46
|
:'city' => :'city',
|
47
|
+
:'event_dts' => :'event_dts',
|
41
48
|
:'event_local_date' => :'event_local_date',
|
42
49
|
:'event_local_time' => :'event_local_time',
|
50
|
+
:'event_timezone_id' => :'event_timezone_id',
|
43
51
|
:'state' => :'state',
|
44
52
|
:'subtag' => :'subtag',
|
45
53
|
:'subtag_message' => :'subtag_message',
|
@@ -54,8 +62,10 @@ module UltracartClient
|
|
54
62
|
def self.swagger_types
|
55
63
|
{
|
56
64
|
:'city' => :'String',
|
65
|
+
:'event_dts' => :'String',
|
57
66
|
:'event_local_date' => :'String',
|
58
67
|
:'event_local_time' => :'String',
|
68
|
+
:'event_timezone_id' => :'String',
|
59
69
|
:'state' => :'String',
|
60
70
|
:'subtag' => :'String',
|
61
71
|
:'subtag_message' => :'String',
|
@@ -78,6 +88,10 @@ module UltracartClient
|
|
78
88
|
self.city = attributes[:'city']
|
79
89
|
end
|
80
90
|
|
91
|
+
if attributes.has_key?(:'event_dts')
|
92
|
+
self.event_dts = attributes[:'event_dts']
|
93
|
+
end
|
94
|
+
|
81
95
|
if attributes.has_key?(:'event_local_date')
|
82
96
|
self.event_local_date = attributes[:'event_local_date']
|
83
97
|
end
|
@@ -86,6 +100,10 @@ module UltracartClient
|
|
86
100
|
self.event_local_time = attributes[:'event_local_time']
|
87
101
|
end
|
88
102
|
|
103
|
+
if attributes.has_key?(:'event_timezone_id')
|
104
|
+
self.event_timezone_id = attributes[:'event_timezone_id']
|
105
|
+
end
|
106
|
+
|
89
107
|
if attributes.has_key?(:'state')
|
90
108
|
self.state = attributes[:'state']
|
91
109
|
end
|
@@ -134,8 +152,10 @@ module UltracartClient
|
|
134
152
|
return true if self.equal?(o)
|
135
153
|
self.class == o.class &&
|
136
154
|
city == o.city &&
|
155
|
+
event_dts == o.event_dts &&
|
137
156
|
event_local_date == o.event_local_date &&
|
138
157
|
event_local_time == o.event_local_time &&
|
158
|
+
event_timezone_id == o.event_timezone_id &&
|
139
159
|
state == o.state &&
|
140
160
|
subtag == o.subtag &&
|
141
161
|
subtag_message == o.subtag_message &&
|
@@ -154,7 +174,7 @@ module UltracartClient
|
|
154
174
|
# Calculates hash code according to all attributes.
|
155
175
|
# @return [Fixnum] Hash code
|
156
176
|
def hash
|
157
|
-
[city, event_local_date, event_local_time, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
|
177
|
+
[city, event_dts, event_local_date, event_local_time, event_timezone_id, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
|
158
178
|
end
|
159
179
|
|
160
180
|
# Builds the object from hash
|