ultracart_api 3.6.8 → 3.6.9
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/CustomerEditorValues.md +1 -0
- data/lib/ultracart_api/models/customer_editor_values.rb +13 -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: 87e2713ffc54bf9f912150b91084d19d9554990d9ff978f4099bd1fad991cd93
|
|
4
|
+
data.tar.gz: 6a5c36b1ecc16d745dd6e849b93a11807fc5d6c8d75e420d857409e64ceed7d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cb4c11b1e5fc9badeca7dd1c41c442bad73ca834961a7c7e0f744e943db4ccf612efbc5c392af8332654ba301b5db54225b6d17b500dd9e3216b5134f273b2e
|
|
7
|
+
data.tar.gz: b0b17891498d1ea56ac778880044e45ebd2e3d964c4ca1f9b04229de2f49c4047eb82221fa011eb26c0d56fb893d634c4a6e7fd82ab7dd3ee6cb24a57acab211
|
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.9
|
|
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.9.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.9.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.9'
|
|
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.9 | 09/07/2021 | customer profile editor values have new list of state optional countries |
|
|
1121
1122
|
| 3.6.8 | 08/31/2021 | coupon query field to allow merchant code and description to be searched |
|
|
1122
1123
|
| 3.6.7 | 08/27/2021 | customer profile affiliate information now contains affiliate first and last name |
|
|
1123
1124
|
| 3.6.6 | 08/26/2021 | configuration api - more field changes for UI |
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**countries** | [**Array<Country>**](Country.md) | countries | [optional]
|
|
11
11
|
**qb_classes** | **Array<String>** | qb_classes | [optional]
|
|
12
12
|
**sales_rep_codes** | **Array<String>** | sales_rep_codes | [optional]
|
|
13
|
+
**state_optional_countries** | [**Array<Country>**](Country.md) | state_optional_countries | [optional]
|
|
13
14
|
**terms** | **Array<String>** | terms | [optional]
|
|
14
15
|
|
|
15
16
|
|
|
@@ -35,6 +35,9 @@ module UltracartClient
|
|
|
35
35
|
# sales_rep_codes
|
|
36
36
|
attr_accessor :sales_rep_codes
|
|
37
37
|
|
|
38
|
+
# state_optional_countries
|
|
39
|
+
attr_accessor :state_optional_countries
|
|
40
|
+
|
|
38
41
|
# terms
|
|
39
42
|
attr_accessor :terms
|
|
40
43
|
|
|
@@ -48,6 +51,7 @@ module UltracartClient
|
|
|
48
51
|
:'countries' => :'countries',
|
|
49
52
|
:'qb_classes' => :'qb_classes',
|
|
50
53
|
:'sales_rep_codes' => :'sales_rep_codes',
|
|
54
|
+
:'state_optional_countries' => :'state_optional_countries',
|
|
51
55
|
:'terms' => :'terms'
|
|
52
56
|
}
|
|
53
57
|
end
|
|
@@ -62,6 +66,7 @@ module UltracartClient
|
|
|
62
66
|
:'countries' => :'Array<Country>',
|
|
63
67
|
:'qb_classes' => :'Array<String>',
|
|
64
68
|
:'sales_rep_codes' => :'Array<String>',
|
|
69
|
+
:'state_optional_countries' => :'Array<Country>',
|
|
65
70
|
:'terms' => :'Array<String>'
|
|
66
71
|
}
|
|
67
72
|
end
|
|
@@ -116,6 +121,12 @@ module UltracartClient
|
|
|
116
121
|
end
|
|
117
122
|
end
|
|
118
123
|
|
|
124
|
+
if attributes.has_key?(:'state_optional_countries')
|
|
125
|
+
if (value = attributes[:'state_optional_countries']).is_a?(Array)
|
|
126
|
+
self.state_optional_countries = value
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
119
130
|
if attributes.has_key?(:'terms')
|
|
120
131
|
if (value = attributes[:'terms']).is_a?(Array)
|
|
121
132
|
self.terms = value
|
|
@@ -148,6 +159,7 @@ module UltracartClient
|
|
|
148
159
|
countries == o.countries &&
|
|
149
160
|
qb_classes == o.qb_classes &&
|
|
150
161
|
sales_rep_codes == o.sales_rep_codes &&
|
|
162
|
+
state_optional_countries == o.state_optional_countries &&
|
|
151
163
|
terms == o.terms
|
|
152
164
|
end
|
|
153
165
|
|
|
@@ -160,7 +172,7 @@ module UltracartClient
|
|
|
160
172
|
# Calculates hash code according to all attributes.
|
|
161
173
|
# @return [Fixnum] Hash code
|
|
162
174
|
def hash
|
|
163
|
-
[affiliates, card_exp_months, card_exp_years, card_types, countries, qb_classes, sales_rep_codes, terms].hash
|
|
175
|
+
[affiliates, card_exp_months, card_exp_years, card_types, countries, qb_classes, sales_rep_codes, state_optional_countries, terms].hash
|
|
164
176
|
end
|
|
165
177
|
|
|
166
178
|
# 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.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|