ultracart_api 3.6.17 → 3.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ItemCheckout.md +1 -0
- data/lib/ultracart_api/models/item_checkout.rb +11 -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: 22ca14da1051cd678bc8895c806a3a0bc55694ac49fd821b90e16a7989eb2808
|
4
|
+
data.tar.gz: 4ba379ede2972d6b1b697f6a631a67e6733d7cea587c1fb1793f6d9fa2b1a1f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dd252ecd67c6b21b9949b7a67d6e61a6abe8cbaf05ca2e2dce72bdb6b9dd22f76476f2613ff292acec162388d2a85b67106836577f5e23f41f6d200261830f8
|
7
|
+
data.tar.gz: 4966a69b624e43a7dc33850a04c1b83cb3e60958697eacdb87a0ca2a188c129763d8689962dd0ff97a9a54d2d016cdd39d7b9b0dbc81434ab29f79556e792d77
|
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.18
|
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.18.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.18.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.18'
|
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.18 | 09/30/2021 | terms if auto order flag added |
|
1121
1122
|
| 3.6.16 | 09/30/2021 | item exclude from sitemap field |
|
1122
1123
|
| 3.6.15 | 09/28/2021 | added refund_claim_id to insurance object |
|
1123
1124
|
| 3.6.14 | 09/21/2021 | configuration api fix. the echeck test methods were attached to the paper check object |
|
data/docs/ItemCheckout.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**suppress_buysafe** | **BOOLEAN** | True to suppress buySAFE (deprecated) | [optional]
|
7
7
|
**terms** | **String** | Terms for purchasing this item | [optional]
|
8
|
+
**terms_if_auto_order** | **BOOLEAN** | Terms only apply if the item is on auto order | [optional]
|
8
9
|
**terms_translated_text_instance_oid** | **Integer** | Terms translated text instance identifier | [optional]
|
9
10
|
|
10
11
|
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
20
20
|
# Terms for purchasing this item
|
21
21
|
attr_accessor :terms
|
22
22
|
|
23
|
+
# Terms only apply if the item is on auto order
|
24
|
+
attr_accessor :terms_if_auto_order
|
25
|
+
|
23
26
|
# Terms translated text instance identifier
|
24
27
|
attr_accessor :terms_translated_text_instance_oid
|
25
28
|
|
@@ -28,6 +31,7 @@ module UltracartClient
|
|
28
31
|
{
|
29
32
|
:'suppress_buysafe' => :'suppress_buysafe',
|
30
33
|
:'terms' => :'terms',
|
34
|
+
:'terms_if_auto_order' => :'terms_if_auto_order',
|
31
35
|
:'terms_translated_text_instance_oid' => :'terms_translated_text_instance_oid'
|
32
36
|
}
|
33
37
|
end
|
@@ -37,6 +41,7 @@ module UltracartClient
|
|
37
41
|
{
|
38
42
|
:'suppress_buysafe' => :'BOOLEAN',
|
39
43
|
:'terms' => :'String',
|
44
|
+
:'terms_if_auto_order' => :'BOOLEAN',
|
40
45
|
:'terms_translated_text_instance_oid' => :'Integer'
|
41
46
|
}
|
42
47
|
end
|
@@ -57,6 +62,10 @@ module UltracartClient
|
|
57
62
|
self.terms = attributes[:'terms']
|
58
63
|
end
|
59
64
|
|
65
|
+
if attributes.has_key?(:'terms_if_auto_order')
|
66
|
+
self.terms_if_auto_order = attributes[:'terms_if_auto_order']
|
67
|
+
end
|
68
|
+
|
60
69
|
if attributes.has_key?(:'terms_translated_text_instance_oid')
|
61
70
|
self.terms_translated_text_instance_oid = attributes[:'terms_translated_text_instance_oid']
|
62
71
|
end
|
@@ -97,6 +106,7 @@ module UltracartClient
|
|
97
106
|
self.class == o.class &&
|
98
107
|
suppress_buysafe == o.suppress_buysafe &&
|
99
108
|
terms == o.terms &&
|
109
|
+
terms_if_auto_order == o.terms_if_auto_order &&
|
100
110
|
terms_translated_text_instance_oid == o.terms_translated_text_instance_oid
|
101
111
|
end
|
102
112
|
|
@@ -109,7 +119,7 @@ module UltracartClient
|
|
109
119
|
# Calculates hash code according to all attributes.
|
110
120
|
# @return [Fixnum] Hash code
|
111
121
|
def hash
|
112
|
-
[suppress_buysafe, terms, terms_translated_text_instance_oid].hash
|
122
|
+
[suppress_buysafe, terms, terms_if_auto_order, terms_translated_text_instance_oid].hash
|
113
123
|
end
|
114
124
|
|
115
125
|
# Builds the object from hash
|