ultracart_api 4.0.224 → 4.0.225
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f648152f0c9f7594b722e3fa59baff17ea85ad19e7cd62d5418163e8941dd1c
|
|
4
|
+
data.tar.gz: 8b0198d93e3fbb463f2e0c4927cdc75c1a8a475da05622f774aedb066e25ad82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc82dcdf2c098e1191709aa24ad86ce2a6e452c0f558a8b6c7320a3707466c1dbf51de76f0a000959bdb7c37f34d5520f7265177ced61777f4130089f2894ad6
|
|
7
|
+
data.tar.gz: 27a5b9ca9a920080cc1c1630d2c04457a362b5e7b1e565ff069fc8b96302566d1278767eb7a7d52a5260f47f188cd027e9ed53748ff9b373971ae6292d10597d
|
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.225
|
|
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.225.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.225.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.225'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1513,6 +1513,7 @@ Not every change is committed to every SDK.
|
|
|
1513
1513
|
|
|
1514
1514
|
| Version | Date | Comments |
|
|
1515
1515
|
| --: | :-: | --- |
|
|
1516
|
+
| 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
|
1516
1517
|
| 4.0.224 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
|
|
1517
1518
|
| 4.0.223 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
|
|
1518
1519
|
| 4.0.222 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **adult_signature_required** | **Boolean** | Adult Signature Required (only updated if not-null value provided) | [optional] |
|
|
7
8
|
| **country_code** | **String** | Country code (ISO-3166 two letter) | [optional] |
|
|
8
9
|
| **flat_fee** | **Float** | Flat fee | [optional] |
|
|
9
10
|
| **per_item** | **Float** | Per item | [optional] |
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
require 'ultracart_api'
|
|
18
19
|
|
|
19
20
|
instance = UltracartClient::ItemShippingDestinationMarkup.new(
|
|
21
|
+
adult_signature_required: null,
|
|
20
22
|
country_code: null,
|
|
21
23
|
flat_fee: null,
|
|
22
24
|
per_item: null,
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class ItemShippingDestinationMarkup
|
|
18
|
+
# Adult Signature Required (only updated if not-null value provided)
|
|
19
|
+
attr_accessor :adult_signature_required
|
|
20
|
+
|
|
18
21
|
# Country code (ISO-3166 two letter)
|
|
19
22
|
attr_accessor :country_code
|
|
20
23
|
|
|
@@ -36,6 +39,7 @@ module UltracartClient
|
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
42
|
+
:'adult_signature_required' => :'adult_signature_required',
|
|
39
43
|
:'country_code' => :'country_code',
|
|
40
44
|
:'flat_fee' => :'flat_fee',
|
|
41
45
|
:'per_item' => :'per_item',
|
|
@@ -53,6 +57,7 @@ module UltracartClient
|
|
|
53
57
|
# Attribute type mapping.
|
|
54
58
|
def self.openapi_types
|
|
55
59
|
{
|
|
60
|
+
:'adult_signature_required' => :'Boolean',
|
|
56
61
|
:'country_code' => :'String',
|
|
57
62
|
:'flat_fee' => :'Float',
|
|
58
63
|
:'per_item' => :'Float',
|
|
@@ -83,6 +88,10 @@ module UltracartClient
|
|
|
83
88
|
h[k.to_sym] = v
|
|
84
89
|
}
|
|
85
90
|
|
|
91
|
+
if attributes.key?(:'adult_signature_required')
|
|
92
|
+
self.adult_signature_required = attributes[:'adult_signature_required']
|
|
93
|
+
end
|
|
94
|
+
|
|
86
95
|
if attributes.key?(:'country_code')
|
|
87
96
|
self.country_code = attributes[:'country_code']
|
|
88
97
|
end
|
|
@@ -171,6 +180,7 @@ module UltracartClient
|
|
|
171
180
|
def ==(o)
|
|
172
181
|
return true if self.equal?(o)
|
|
173
182
|
self.class == o.class &&
|
|
183
|
+
adult_signature_required == o.adult_signature_required &&
|
|
174
184
|
country_code == o.country_code &&
|
|
175
185
|
flat_fee == o.flat_fee &&
|
|
176
186
|
per_item == o.per_item &&
|
|
@@ -188,7 +198,7 @@ module UltracartClient
|
|
|
188
198
|
# Calculates hash code according to all attributes.
|
|
189
199
|
# @return [Integer] Hash code
|
|
190
200
|
def hash
|
|
191
|
-
[country_code, flat_fee, per_item, postal_code, shipping_method, state].hash
|
|
201
|
+
[adult_signature_required, country_code, flat_fee, per_item, postal_code, shipping_method, state].hash
|
|
192
202
|
end
|
|
193
203
|
|
|
194
204
|
# 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.225
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|