ultracart_api 3.6.6 → 3.6.7
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/CustomerAffiliate.md +2 -0
- data/lib/ultracart_api/models/customer_affiliate.rb +24 -4
- 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: 596b9994f6c76636c945538757c6cf15abc29dcadd930a7e19bb89dbed8e008e
|
4
|
+
data.tar.gz: 76c3e8dfdea60bf4be28bac8f09158d9f7ff843aa0dfe068ae12537d677468b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75a0492dcb1b4a9bc4917d5697ed4332f55cbfb8ece6f32b0d3f074e205a573ead1cc34a46f51f70009cb9887ce1249bd8c0c50ea04cc10ada06d366976a1df2
|
7
|
+
data.tar.gz: 25a0895dfedadf42144f1734a7d0f2c9b1e34d517a393ccb47049e4bfb4abe978a4c8f95b4f3c34955b2f48f009df296b512f035e7509c8379aa4e5dac90893b
|
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.6.
|
10
|
+
- Package version: 3.6.7
|
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.6.
|
27
|
+
gem install ./ultracart_api-3.6.7.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.6.7.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.6.
|
35
|
+
gem 'ultracart_api', '~> 3.6.7'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
|
|
1118
1118
|
|
1119
1119
|
| Version | Date | Comments |
|
1120
1120
|
| --: | :-: | --- |
|
1121
|
+
| 3.6.7 | 08/27/2021 | customer profile affiliate information now contains affiliate first and last name |
|
1121
1122
|
| 3.6.6 | 08/26/2021 | configuration api - more field changes for UI |
|
1122
1123
|
| 3.6.5 | 08/25/2021 | configuration api - removed some internal fields from sdk |
|
1123
1124
|
| 3.6.4 | 08/24/2021 | configuration api - new payment method named insurance |
|
data/docs/CustomerAffiliate.md
CHANGED
@@ -5,5 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**affiliate_oid** | **Integer** | Affiliate object identifier | [optional]
|
7
7
|
**email** | **String** | email | [optional]
|
8
|
+
**first_name** | **String** | First name | [optional]
|
9
|
+
**last_name** | **String** | Last name | [optional]
|
8
10
|
|
9
11
|
|
@@ -20,11 +20,19 @@ module UltracartClient
|
|
20
20
|
# email
|
21
21
|
attr_accessor :email
|
22
22
|
|
23
|
+
# First name
|
24
|
+
attr_accessor :first_name
|
25
|
+
|
26
|
+
# Last name
|
27
|
+
attr_accessor :last_name
|
28
|
+
|
23
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
30
|
def self.attribute_map
|
25
31
|
{
|
26
32
|
:'affiliate_oid' => :'affiliate_oid',
|
27
|
-
:'email' => :'email'
|
33
|
+
:'email' => :'email',
|
34
|
+
:'first_name' => :'first_name',
|
35
|
+
:'last_name' => :'last_name'
|
28
36
|
}
|
29
37
|
end
|
30
38
|
|
@@ -32,7 +40,9 @@ module UltracartClient
|
|
32
40
|
def self.swagger_types
|
33
41
|
{
|
34
42
|
:'affiliate_oid' => :'Integer',
|
35
|
-
:'email' => :'String'
|
43
|
+
:'email' => :'String',
|
44
|
+
:'first_name' => :'String',
|
45
|
+
:'last_name' => :'String'
|
36
46
|
}
|
37
47
|
end
|
38
48
|
|
@@ -51,6 +61,14 @@ module UltracartClient
|
|
51
61
|
if attributes.has_key?(:'email')
|
52
62
|
self.email = attributes[:'email']
|
53
63
|
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'first_name')
|
66
|
+
self.first_name = attributes[:'first_name']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'last_name')
|
70
|
+
self.last_name = attributes[:'last_name']
|
71
|
+
end
|
54
72
|
end
|
55
73
|
|
56
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -72,7 +90,9 @@ module UltracartClient
|
|
72
90
|
return true if self.equal?(o)
|
73
91
|
self.class == o.class &&
|
74
92
|
affiliate_oid == o.affiliate_oid &&
|
75
|
-
email == o.email
|
93
|
+
email == o.email &&
|
94
|
+
first_name == o.first_name &&
|
95
|
+
last_name == o.last_name
|
76
96
|
end
|
77
97
|
|
78
98
|
# @see the `==` method
|
@@ -84,7 +104,7 @@ module UltracartClient
|
|
84
104
|
# Calculates hash code according to all attributes.
|
85
105
|
# @return [Fixnum] Hash code
|
86
106
|
def hash
|
87
|
-
[affiliate_oid, email].hash
|
107
|
+
[affiliate_oid, email, first_name, last_name].hash
|
88
108
|
end
|
89
109
|
|
90
110
|
# 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: 3.6.
|
4
|
+
version: 3.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|