ultracart_api 4.0.115.rc → 4.0.116.rc
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d4555afa704b016783a953bb059a498265026f368db51f6eeffe051fdeae19
|
4
|
+
data.tar.gz: 88004aadcb2723d387927b90466d572bb13f401ff8bc3cc761e4d8742d8f99a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a60c04dcf2f81b3e430477bd966011d172d8f4d061fef509780cfde38f7f62035ef52f79c3826857eb793a54c35326dfd5241bf43ff38c50af9a2c80e77551
|
7
|
+
data.tar.gz: 6995a0c539ba0af06986e1398aa4c6f811901a0ffb836604ec13d918425261db22ded508a2d9b9f1152dee4ed69e64f7e00004c1a2df4b38497e255cb81149e0
|
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.116.rc
|
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.116.rc.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.116.rc.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.116.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1290,6 +1290,7 @@ Not every change is committed to every SDK.
|
|
1290
1290
|
|
1291
1291
|
| Version | Date | Comments |
|
1292
1292
|
| --: | :-: | --- |
|
1293
|
+
| 4.0.116-RC | 01/18/2023 | channel partner ship to pref desc field |
|
1293
1294
|
| 4.0.115-RC | 01/17/2023 | changed convo webchat constant |
|
1294
1295
|
| 4.0.114-RC | 01/17/2023 | support for checkout item properties |
|
1295
1296
|
| 4.0.113-RC | 01/14/2023 | add external_id to the point of sale location object |
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **additional_kit_component_item_ids** | **Array<String>** | Additional item ids to add as kit components to the order with a zero price. | [optional] |
|
8
8
|
| **channel_partner_oid** | **Integer** | The channel partner object identifier this preference is associated with | [optional] |
|
9
9
|
| **channel_partner_ship_to_preference_oid** | **Integer** | Object identifier for the ship to preference | [optional] |
|
10
|
+
| **description** | **String** | A description that is meaningful to the merchant. | [optional] |
|
10
11
|
| **merchant_id** | **String** | The merchant id that owns the channel partner | [optional] |
|
11
12
|
| **return_policy** | **String** | Alternate return policy to print on the packing slip. | [optional] |
|
12
13
|
| **ship_to_edi_code** | **String** | The ship to EDI code that the preferences are for | [optional] |
|
@@ -20,6 +21,7 @@ instance = UltracartClient::ChannelPartnerShipToPreference.new(
|
|
20
21
|
additional_kit_component_item_ids: null,
|
21
22
|
channel_partner_oid: null,
|
22
23
|
channel_partner_ship_to_preference_oid: null,
|
24
|
+
description: null,
|
23
25
|
merchant_id: null,
|
24
26
|
return_policy: null,
|
25
27
|
ship_to_edi_code: null
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
24
24
|
# Object identifier for the ship to preference
|
25
25
|
attr_accessor :channel_partner_ship_to_preference_oid
|
26
26
|
|
27
|
+
# A description that is meaningful to the merchant.
|
28
|
+
attr_accessor :description
|
29
|
+
|
27
30
|
# The merchant id that owns the channel partner
|
28
31
|
attr_accessor :merchant_id
|
29
32
|
|
@@ -39,6 +42,7 @@ module UltracartClient
|
|
39
42
|
:'additional_kit_component_item_ids' => :'additional_kit_component_item_ids',
|
40
43
|
:'channel_partner_oid' => :'channel_partner_oid',
|
41
44
|
:'channel_partner_ship_to_preference_oid' => :'channel_partner_ship_to_preference_oid',
|
45
|
+
:'description' => :'description',
|
42
46
|
:'merchant_id' => :'merchant_id',
|
43
47
|
:'return_policy' => :'return_policy',
|
44
48
|
:'ship_to_edi_code' => :'ship_to_edi_code'
|
@@ -56,6 +60,7 @@ module UltracartClient
|
|
56
60
|
:'additional_kit_component_item_ids' => :'Array<String>',
|
57
61
|
:'channel_partner_oid' => :'Integer',
|
58
62
|
:'channel_partner_ship_to_preference_oid' => :'Integer',
|
63
|
+
:'description' => :'String',
|
59
64
|
:'merchant_id' => :'String',
|
60
65
|
:'return_policy' => :'String',
|
61
66
|
:'ship_to_edi_code' => :'String'
|
@@ -97,6 +102,10 @@ module UltracartClient
|
|
97
102
|
self.channel_partner_ship_to_preference_oid = attributes[:'channel_partner_ship_to_preference_oid']
|
98
103
|
end
|
99
104
|
|
105
|
+
if attributes.key?(:'description')
|
106
|
+
self.description = attributes[:'description']
|
107
|
+
end
|
108
|
+
|
100
109
|
if attributes.key?(:'merchant_id')
|
101
110
|
self.merchant_id = attributes[:'merchant_id']
|
102
111
|
end
|
@@ -114,15 +123,30 @@ module UltracartClient
|
|
114
123
|
# @return Array for valid properties with the reasons
|
115
124
|
def list_invalid_properties
|
116
125
|
invalid_properties = Array.new
|
126
|
+
if !@description.nil? && @description.to_s.length > 100
|
127
|
+
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 100.')
|
128
|
+
end
|
129
|
+
|
117
130
|
invalid_properties
|
118
131
|
end
|
119
132
|
|
120
133
|
# Check to see if the all the properties in the model are valid
|
121
134
|
# @return true if the model is valid
|
122
135
|
def valid?
|
136
|
+
return false if !@description.nil? && @description.to_s.length > 100
|
123
137
|
true
|
124
138
|
end
|
125
139
|
|
140
|
+
# Custom attribute writer method with validation
|
141
|
+
# @param [Object] description Value to be assigned
|
142
|
+
def description=(description)
|
143
|
+
if !description.nil? && description.to_s.length > 100
|
144
|
+
fail ArgumentError, 'invalid value for "description", the character length must be smaller than or equal to 100.'
|
145
|
+
end
|
146
|
+
|
147
|
+
@description = description
|
148
|
+
end
|
149
|
+
|
126
150
|
# Checks equality by comparing each attribute.
|
127
151
|
# @param [Object] Object to be compared
|
128
152
|
def ==(o)
|
@@ -131,6 +155,7 @@ module UltracartClient
|
|
131
155
|
additional_kit_component_item_ids == o.additional_kit_component_item_ids &&
|
132
156
|
channel_partner_oid == o.channel_partner_oid &&
|
133
157
|
channel_partner_ship_to_preference_oid == o.channel_partner_ship_to_preference_oid &&
|
158
|
+
description == o.description &&
|
134
159
|
merchant_id == o.merchant_id &&
|
135
160
|
return_policy == o.return_policy &&
|
136
161
|
ship_to_edi_code == o.ship_to_edi_code
|
@@ -145,7 +170,7 @@ module UltracartClient
|
|
145
170
|
# Calculates hash code according to all attributes.
|
146
171
|
# @return [Integer] Hash code
|
147
172
|
def hash
|
148
|
-
[additional_kit_component_item_ids, channel_partner_oid, channel_partner_ship_to_preference_oid, merchant_id, return_policy, ship_to_edi_code].hash
|
173
|
+
[additional_kit_component_item_ids, channel_partner_oid, channel_partner_ship_to_preference_oid, description, merchant_id, return_policy, ship_to_edi_code].hash
|
149
174
|
end
|
150
175
|
|
151
176
|
# 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.116.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|