ultracart_api 4.0.175 → 4.0.176
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 +5 -4
- data/docs/CustomerProperty.md +2 -0
- data/lib/ultracart_api/models/customer_property.rb +11 -1
- 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: a88bf26145ad1320dd88748fed24c30accc9b2c8d064e16deac53a68c07e41f5
|
4
|
+
data.tar.gz: f44ddbc47a17359a69c3acf9f174bb1673264f191f8688207cb760a7fbeced6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b0a1d7181d969c04bbe560d04b07b553a58ef9c204d78e8785247d2b1ca6848fd6e237c3df9920f7075adccf8f3cdc1f0431136d67853f165b84db3d7cc1203
|
7
|
+
data.tar.gz: 78045063a104365c1467be08b45124f1df354abd5f320b49111bdf22607653da9b9de526394a30f73d2b932ccfe534cfe45aad133ab7be88e89115d91bd9ad6f
|
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.176
|
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.176.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.176.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.176'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1370,6 +1370,7 @@ Not every change is committed to every SDK.
|
|
1370
1370
|
|
1371
1371
|
| Version | Date | Comments |
|
1372
1372
|
| --: | :-: | --- |
|
1373
|
+
| 4.0.176 | 09/12/2023 | added oids to customer properties |
|
1373
1374
|
| 4.0.175 | 09/06/2023 | esp condition for survey trigger |
|
1374
1375
|
| 4.0.174 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
|
1375
1376
|
| 4.0.173 | 08/31/2023 | new coupon - free item and free shipping with purchase |
|
data/docs/CustomerProperty.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **customer_profile_property_oid** | **Integer** | Customer profile property oid | [optional] |
|
7
8
|
| **expiration_dts** | **String** | The date/time that the property expires and is deleted | [optional] |
|
8
9
|
| **name** | **String** | Name | [optional] |
|
9
10
|
| **value** | **String** | Value | [optional] |
|
@@ -14,6 +15,7 @@
|
|
14
15
|
require 'ultracart_api'
|
15
16
|
|
16
17
|
instance = UltracartClient::CustomerProperty.new(
|
18
|
+
customer_profile_property_oid: null,
|
17
19
|
expiration_dts: null,
|
18
20
|
name: null,
|
19
21
|
value: null
|
@@ -15,6 +15,9 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class CustomerProperty
|
18
|
+
# Customer profile property oid
|
19
|
+
attr_accessor :customer_profile_property_oid
|
20
|
+
|
18
21
|
# The date/time that the property expires and is deleted
|
19
22
|
attr_accessor :expiration_dts
|
20
23
|
|
@@ -27,6 +30,7 @@ module UltracartClient
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
33
|
+
:'customer_profile_property_oid' => :'customer_profile_property_oid',
|
30
34
|
:'expiration_dts' => :'expiration_dts',
|
31
35
|
:'name' => :'name',
|
32
36
|
:'value' => :'value'
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
# Attribute type mapping.
|
42
46
|
def self.openapi_types
|
43
47
|
{
|
48
|
+
:'customer_profile_property_oid' => :'Integer',
|
44
49
|
:'expiration_dts' => :'String',
|
45
50
|
:'name' => :'String',
|
46
51
|
:'value' => :'String'
|
@@ -68,6 +73,10 @@ module UltracartClient
|
|
68
73
|
h[k.to_sym] = v
|
69
74
|
}
|
70
75
|
|
76
|
+
if attributes.key?(:'customer_profile_property_oid')
|
77
|
+
self.customer_profile_property_oid = attributes[:'customer_profile_property_oid']
|
78
|
+
end
|
79
|
+
|
71
80
|
if attributes.key?(:'expiration_dts')
|
72
81
|
self.expiration_dts = attributes[:'expiration_dts']
|
73
82
|
end
|
@@ -129,6 +138,7 @@ module UltracartClient
|
|
129
138
|
def ==(o)
|
130
139
|
return true if self.equal?(o)
|
131
140
|
self.class == o.class &&
|
141
|
+
customer_profile_property_oid == o.customer_profile_property_oid &&
|
132
142
|
expiration_dts == o.expiration_dts &&
|
133
143
|
name == o.name &&
|
134
144
|
value == o.value
|
@@ -143,7 +153,7 @@ module UltracartClient
|
|
143
153
|
# Calculates hash code according to all attributes.
|
144
154
|
# @return [Integer] Hash code
|
145
155
|
def hash
|
146
|
-
[expiration_dts, name, value].hash
|
156
|
+
[customer_profile_property_oid, expiration_dts, name, value].hash
|
147
157
|
end
|
148
158
|
|
149
159
|
# Builds the object from hash
|
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.176
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|