ultracart_api 4.0.176 → 4.0.177
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/ItemIdentifiers.md +8 -0
- data/docs/OrderItem.md +8 -0
- data/lib/ultracart_api/models/item_identifiers.rb +101 -1
- data/lib/ultracart_api/models/order_item.rb +101 -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: 8ffc40d5315a915831fcd60e2c4e5fcb62b6f5748d12860b371760ab988efabd
|
4
|
+
data.tar.gz: 1f9729c540d9c670086514b86f0678ac40e3dee333e8676898c596816ebb7699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b66f64c44772f5b0162454fadfb4220ba53d9bb05c10c2bc605f94769ed4a2c16842db5122ca3cf7c42a6824bc3be3e217f00234e778db6627c3df4064b3a86
|
7
|
+
data.tar.gz: 4311d664f619f70f2c017c70d249302e633d78979fd656c825f9091d2ba77e50fbde5d21a506280803afbcf150000e8517ac368d3b3effca9e6f7366214c99a9
|
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.177
|
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.177.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.177.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.177'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1370,6 +1370,7 @@ Not every change is committed to every SDK.
|
|
1370
1370
|
|
1371
1371
|
| Version | Date | Comments |
|
1372
1372
|
| --: | :-: | --- |
|
1373
|
+
| 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
|
1373
1374
|
| 4.0.176 | 09/12/2023 | added oids to customer properties |
|
1374
1375
|
| 4.0.175 | 09/06/2023 | esp condition for survey trigger |
|
1375
1376
|
| 4.0.174 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
|
data/docs/ItemIdentifiers.md
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **barcode** | **String** | Barcode | [optional] |
|
8
|
+
| **barcode_gtin12** | **String** | Barcode - GTIN 12 | [optional] |
|
9
|
+
| **barcode_gtin14** | **String** | Barcode - GTIN 14 | [optional] |
|
10
|
+
| **barcode_upc11** | **String** | Barcode - UPC 11 | [optional] |
|
11
|
+
| **barcode_upc12** | **String** | Barcode - UPC 12 | [optional] |
|
8
12
|
| **manufacturer_name** | **String** | Manufacturer Name | [optional] |
|
9
13
|
| **manufacturer_sku** | **String** | Manufacturer SKU | [optional] |
|
10
14
|
| **unspsc** | **String** | UNSPSC | [optional] |
|
@@ -16,6 +20,10 @@ require 'ultracart_api'
|
|
16
20
|
|
17
21
|
instance = UltracartClient::ItemIdentifiers.new(
|
18
22
|
barcode: null,
|
23
|
+
barcode_gtin12: null,
|
24
|
+
barcode_gtin14: null,
|
25
|
+
barcode_upc11: null,
|
26
|
+
barcode_upc12: null,
|
19
27
|
manufacturer_name: null,
|
20
28
|
manufacturer_sku: null,
|
21
29
|
unspsc: null
|
data/docs/OrderItem.md
CHANGED
@@ -10,6 +10,10 @@
|
|
10
10
|
| **auto_order_last_rebill_dts** | **String** | Date/time of the last rebill, used only during order insert to help project future rebills | [optional] |
|
11
11
|
| **auto_order_schedule** | **String** | Auto order schedule, used only during inserts supplying the recurring schedule | [optional] |
|
12
12
|
| **barcode** | **String** | Barcode | [optional] |
|
13
|
+
| **barcode_gtin12** | **String** | Barcode - GTIN 12 | [optional] |
|
14
|
+
| **barcode_gtin14** | **String** | Barcode - GTIN 14 | [optional] |
|
15
|
+
| **barcode_upc11** | **String** | Barcode - UPC 11 | [optional] |
|
16
|
+
| **barcode_upc12** | **String** | Barcode - UPC 12 | [optional] |
|
13
17
|
| **channel_partner_item_id** | **String** | Channel partner item id if this order came through a channel partner and the channel partner item id was mapped to an internal item id | [optional] |
|
14
18
|
| **cogs** | **Float** | Cost of goods sold | [optional] |
|
15
19
|
| **component_unit_value** | **Float** | Value of the kit component item | [optional] |
|
@@ -78,6 +82,10 @@ instance = UltracartClient::OrderItem.new(
|
|
78
82
|
auto_order_last_rebill_dts: null,
|
79
83
|
auto_order_schedule: null,
|
80
84
|
barcode: null,
|
85
|
+
barcode_gtin12: null,
|
86
|
+
barcode_gtin14: null,
|
87
|
+
barcode_upc11: null,
|
88
|
+
barcode_upc12: null,
|
81
89
|
channel_partner_item_id: null,
|
82
90
|
cogs: null,
|
83
91
|
component_unit_value: null,
|
@@ -18,6 +18,18 @@ module UltracartClient
|
|
18
18
|
# Barcode
|
19
19
|
attr_accessor :barcode
|
20
20
|
|
21
|
+
# Barcode - GTIN 12
|
22
|
+
attr_accessor :barcode_gtin12
|
23
|
+
|
24
|
+
# Barcode - GTIN 14
|
25
|
+
attr_accessor :barcode_gtin14
|
26
|
+
|
27
|
+
# Barcode - UPC 11
|
28
|
+
attr_accessor :barcode_upc11
|
29
|
+
|
30
|
+
# Barcode - UPC 12
|
31
|
+
attr_accessor :barcode_upc12
|
32
|
+
|
21
33
|
# Manufacturer Name
|
22
34
|
attr_accessor :manufacturer_name
|
23
35
|
|
@@ -31,6 +43,10 @@ module UltracartClient
|
|
31
43
|
def self.attribute_map
|
32
44
|
{
|
33
45
|
:'barcode' => :'barcode',
|
46
|
+
:'barcode_gtin12' => :'barcode_gtin12',
|
47
|
+
:'barcode_gtin14' => :'barcode_gtin14',
|
48
|
+
:'barcode_upc11' => :'barcode_upc11',
|
49
|
+
:'barcode_upc12' => :'barcode_upc12',
|
34
50
|
:'manufacturer_name' => :'manufacturer_name',
|
35
51
|
:'manufacturer_sku' => :'manufacturer_sku',
|
36
52
|
:'unspsc' => :'unspsc'
|
@@ -46,6 +62,10 @@ module UltracartClient
|
|
46
62
|
def self.openapi_types
|
47
63
|
{
|
48
64
|
:'barcode' => :'String',
|
65
|
+
:'barcode_gtin12' => :'String',
|
66
|
+
:'barcode_gtin14' => :'String',
|
67
|
+
:'barcode_upc11' => :'String',
|
68
|
+
:'barcode_upc12' => :'String',
|
49
69
|
:'manufacturer_name' => :'String',
|
50
70
|
:'manufacturer_sku' => :'String',
|
51
71
|
:'unspsc' => :'String'
|
@@ -77,6 +97,22 @@ module UltracartClient
|
|
77
97
|
self.barcode = attributes[:'barcode']
|
78
98
|
end
|
79
99
|
|
100
|
+
if attributes.key?(:'barcode_gtin12')
|
101
|
+
self.barcode_gtin12 = attributes[:'barcode_gtin12']
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes.key?(:'barcode_gtin14')
|
105
|
+
self.barcode_gtin14 = attributes[:'barcode_gtin14']
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.key?(:'barcode_upc11')
|
109
|
+
self.barcode_upc11 = attributes[:'barcode_upc11']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.key?(:'barcode_upc12')
|
113
|
+
self.barcode_upc12 = attributes[:'barcode_upc12']
|
114
|
+
end
|
115
|
+
|
80
116
|
if attributes.key?(:'manufacturer_name')
|
81
117
|
self.manufacturer_name = attributes[:'manufacturer_name']
|
82
118
|
end
|
@@ -98,6 +134,22 @@ module UltracartClient
|
|
98
134
|
invalid_properties.push('invalid value for "barcode", the character length must be smaller than or equal to 30.')
|
99
135
|
end
|
100
136
|
|
137
|
+
if !@barcode_gtin12.nil? && @barcode_gtin12.to_s.length > 12
|
138
|
+
invalid_properties.push('invalid value for "barcode_gtin12", the character length must be smaller than or equal to 12.')
|
139
|
+
end
|
140
|
+
|
141
|
+
if !@barcode_gtin14.nil? && @barcode_gtin14.to_s.length > 14
|
142
|
+
invalid_properties.push('invalid value for "barcode_gtin14", the character length must be smaller than or equal to 14.')
|
143
|
+
end
|
144
|
+
|
145
|
+
if !@barcode_upc11.nil? && @barcode_upc11.to_s.length > 11
|
146
|
+
invalid_properties.push('invalid value for "barcode_upc11", the character length must be smaller than or equal to 11.')
|
147
|
+
end
|
148
|
+
|
149
|
+
if !@barcode_upc12.nil? && @barcode_upc12.to_s.length > 12
|
150
|
+
invalid_properties.push('invalid value for "barcode_upc12", the character length must be smaller than or equal to 12.')
|
151
|
+
end
|
152
|
+
|
101
153
|
if !@manufacturer_name.nil? && @manufacturer_name.to_s.length > 50
|
102
154
|
invalid_properties.push('invalid value for "manufacturer_name", the character length must be smaller than or equal to 50.')
|
103
155
|
end
|
@@ -117,6 +169,10 @@ module UltracartClient
|
|
117
169
|
# @return true if the model is valid
|
118
170
|
def valid?
|
119
171
|
return false if !@barcode.nil? && @barcode.to_s.length > 30
|
172
|
+
return false if !@barcode_gtin12.nil? && @barcode_gtin12.to_s.length > 12
|
173
|
+
return false if !@barcode_gtin14.nil? && @barcode_gtin14.to_s.length > 14
|
174
|
+
return false if !@barcode_upc11.nil? && @barcode_upc11.to_s.length > 11
|
175
|
+
return false if !@barcode_upc12.nil? && @barcode_upc12.to_s.length > 12
|
120
176
|
return false if !@manufacturer_name.nil? && @manufacturer_name.to_s.length > 50
|
121
177
|
return false if !@manufacturer_sku.nil? && @manufacturer_sku.to_s.length > 25
|
122
178
|
return false if !@unspsc.nil? && @unspsc.to_s.length > 20
|
@@ -133,6 +189,46 @@ module UltracartClient
|
|
133
189
|
@barcode = barcode
|
134
190
|
end
|
135
191
|
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param [Object] barcode_gtin12 Value to be assigned
|
194
|
+
def barcode_gtin12=(barcode_gtin12)
|
195
|
+
if !barcode_gtin12.nil? && barcode_gtin12.to_s.length > 12
|
196
|
+
fail ArgumentError, 'invalid value for "barcode_gtin12", the character length must be smaller than or equal to 12.'
|
197
|
+
end
|
198
|
+
|
199
|
+
@barcode_gtin12 = barcode_gtin12
|
200
|
+
end
|
201
|
+
|
202
|
+
# Custom attribute writer method with validation
|
203
|
+
# @param [Object] barcode_gtin14 Value to be assigned
|
204
|
+
def barcode_gtin14=(barcode_gtin14)
|
205
|
+
if !barcode_gtin14.nil? && barcode_gtin14.to_s.length > 14
|
206
|
+
fail ArgumentError, 'invalid value for "barcode_gtin14", the character length must be smaller than or equal to 14.'
|
207
|
+
end
|
208
|
+
|
209
|
+
@barcode_gtin14 = barcode_gtin14
|
210
|
+
end
|
211
|
+
|
212
|
+
# Custom attribute writer method with validation
|
213
|
+
# @param [Object] barcode_upc11 Value to be assigned
|
214
|
+
def barcode_upc11=(barcode_upc11)
|
215
|
+
if !barcode_upc11.nil? && barcode_upc11.to_s.length > 11
|
216
|
+
fail ArgumentError, 'invalid value for "barcode_upc11", the character length must be smaller than or equal to 11.'
|
217
|
+
end
|
218
|
+
|
219
|
+
@barcode_upc11 = barcode_upc11
|
220
|
+
end
|
221
|
+
|
222
|
+
# Custom attribute writer method with validation
|
223
|
+
# @param [Object] barcode_upc12 Value to be assigned
|
224
|
+
def barcode_upc12=(barcode_upc12)
|
225
|
+
if !barcode_upc12.nil? && barcode_upc12.to_s.length > 12
|
226
|
+
fail ArgumentError, 'invalid value for "barcode_upc12", the character length must be smaller than or equal to 12.'
|
227
|
+
end
|
228
|
+
|
229
|
+
@barcode_upc12 = barcode_upc12
|
230
|
+
end
|
231
|
+
|
136
232
|
# Custom attribute writer method with validation
|
137
233
|
# @param [Object] manufacturer_name Value to be assigned
|
138
234
|
def manufacturer_name=(manufacturer_name)
|
@@ -169,6 +265,10 @@ module UltracartClient
|
|
169
265
|
return true if self.equal?(o)
|
170
266
|
self.class == o.class &&
|
171
267
|
barcode == o.barcode &&
|
268
|
+
barcode_gtin12 == o.barcode_gtin12 &&
|
269
|
+
barcode_gtin14 == o.barcode_gtin14 &&
|
270
|
+
barcode_upc11 == o.barcode_upc11 &&
|
271
|
+
barcode_upc12 == o.barcode_upc12 &&
|
172
272
|
manufacturer_name == o.manufacturer_name &&
|
173
273
|
manufacturer_sku == o.manufacturer_sku &&
|
174
274
|
unspsc == o.unspsc
|
@@ -183,7 +283,7 @@ module UltracartClient
|
|
183
283
|
# Calculates hash code according to all attributes.
|
184
284
|
# @return [Integer] Hash code
|
185
285
|
def hash
|
186
|
-
[barcode, manufacturer_name, manufacturer_sku, unspsc].hash
|
286
|
+
[barcode, barcode_gtin12, barcode_gtin14, barcode_upc11, barcode_upc12, manufacturer_name, manufacturer_sku, unspsc].hash
|
187
287
|
end
|
188
288
|
|
189
289
|
# Builds the object from hash
|
@@ -32,6 +32,18 @@ module UltracartClient
|
|
32
32
|
# Barcode
|
33
33
|
attr_accessor :barcode
|
34
34
|
|
35
|
+
# Barcode - GTIN 12
|
36
|
+
attr_accessor :barcode_gtin12
|
37
|
+
|
38
|
+
# Barcode - GTIN 14
|
39
|
+
attr_accessor :barcode_gtin14
|
40
|
+
|
41
|
+
# Barcode - UPC 11
|
42
|
+
attr_accessor :barcode_upc11
|
43
|
+
|
44
|
+
# Barcode - UPC 12
|
45
|
+
attr_accessor :barcode_upc12
|
46
|
+
|
35
47
|
# Channel partner item id if this order came through a channel partner and the channel partner item id was mapped to an internal item id
|
36
48
|
attr_accessor :channel_partner_item_id
|
37
49
|
|
@@ -216,6 +228,10 @@ module UltracartClient
|
|
216
228
|
:'auto_order_last_rebill_dts' => :'auto_order_last_rebill_dts',
|
217
229
|
:'auto_order_schedule' => :'auto_order_schedule',
|
218
230
|
:'barcode' => :'barcode',
|
231
|
+
:'barcode_gtin12' => :'barcode_gtin12',
|
232
|
+
:'barcode_gtin14' => :'barcode_gtin14',
|
233
|
+
:'barcode_upc11' => :'barcode_upc11',
|
234
|
+
:'barcode_upc12' => :'barcode_upc12',
|
219
235
|
:'channel_partner_item_id' => :'channel_partner_item_id',
|
220
236
|
:'cogs' => :'cogs',
|
221
237
|
:'component_unit_value' => :'component_unit_value',
|
@@ -288,6 +304,10 @@ module UltracartClient
|
|
288
304
|
:'auto_order_last_rebill_dts' => :'String',
|
289
305
|
:'auto_order_schedule' => :'String',
|
290
306
|
:'barcode' => :'String',
|
307
|
+
:'barcode_gtin12' => :'String',
|
308
|
+
:'barcode_gtin14' => :'String',
|
309
|
+
:'barcode_upc11' => :'String',
|
310
|
+
:'barcode_upc12' => :'String',
|
291
311
|
:'channel_partner_item_id' => :'String',
|
292
312
|
:'cogs' => :'Float',
|
293
313
|
:'component_unit_value' => :'Float',
|
@@ -393,6 +413,22 @@ module UltracartClient
|
|
393
413
|
self.barcode = attributes[:'barcode']
|
394
414
|
end
|
395
415
|
|
416
|
+
if attributes.key?(:'barcode_gtin12')
|
417
|
+
self.barcode_gtin12 = attributes[:'barcode_gtin12']
|
418
|
+
end
|
419
|
+
|
420
|
+
if attributes.key?(:'barcode_gtin14')
|
421
|
+
self.barcode_gtin14 = attributes[:'barcode_gtin14']
|
422
|
+
end
|
423
|
+
|
424
|
+
if attributes.key?(:'barcode_upc11')
|
425
|
+
self.barcode_upc11 = attributes[:'barcode_upc11']
|
426
|
+
end
|
427
|
+
|
428
|
+
if attributes.key?(:'barcode_upc12')
|
429
|
+
self.barcode_upc12 = attributes[:'barcode_upc12']
|
430
|
+
end
|
431
|
+
|
396
432
|
if attributes.key?(:'channel_partner_item_id')
|
397
433
|
self.channel_partner_item_id = attributes[:'channel_partner_item_id']
|
398
434
|
end
|
@@ -624,6 +660,22 @@ module UltracartClient
|
|
624
660
|
# @return Array for valid properties with the reasons
|
625
661
|
def list_invalid_properties
|
626
662
|
invalid_properties = Array.new
|
663
|
+
if !@barcode_gtin12.nil? && @barcode_gtin12.to_s.length > 12
|
664
|
+
invalid_properties.push('invalid value for "barcode_gtin12", the character length must be smaller than or equal to 12.')
|
665
|
+
end
|
666
|
+
|
667
|
+
if !@barcode_gtin14.nil? && @barcode_gtin14.to_s.length > 14
|
668
|
+
invalid_properties.push('invalid value for "barcode_gtin14", the character length must be smaller than or equal to 14.')
|
669
|
+
end
|
670
|
+
|
671
|
+
if !@barcode_upc11.nil? && @barcode_upc11.to_s.length > 11
|
672
|
+
invalid_properties.push('invalid value for "barcode_upc11", the character length must be smaller than or equal to 11.')
|
673
|
+
end
|
674
|
+
|
675
|
+
if !@barcode_upc12.nil? && @barcode_upc12.to_s.length > 12
|
676
|
+
invalid_properties.push('invalid value for "barcode_upc12", the character length must be smaller than or equal to 12.')
|
677
|
+
end
|
678
|
+
|
627
679
|
if !@channel_partner_item_id.nil? && @channel_partner_item_id.to_s.length > 30
|
628
680
|
invalid_properties.push('invalid value for "channel_partner_item_id", the character length must be smaller than or equal to 30.')
|
629
681
|
end
|
@@ -658,6 +710,10 @@ module UltracartClient
|
|
658
710
|
# Check to see if the all the properties in the model are valid
|
659
711
|
# @return true if the model is valid
|
660
712
|
def valid?
|
713
|
+
return false if !@barcode_gtin12.nil? && @barcode_gtin12.to_s.length > 12
|
714
|
+
return false if !@barcode_gtin14.nil? && @barcode_gtin14.to_s.length > 14
|
715
|
+
return false if !@barcode_upc11.nil? && @barcode_upc11.to_s.length > 11
|
716
|
+
return false if !@barcode_upc12.nil? && @barcode_upc12.to_s.length > 12
|
661
717
|
return false if !@channel_partner_item_id.nil? && @channel_partner_item_id.to_s.length > 30
|
662
718
|
return false if !@country_code_of_origin.nil? && @country_code_of_origin.to_s.length > 2
|
663
719
|
return false if !@description.nil? && @description.to_s.length > 2000
|
@@ -670,6 +726,46 @@ module UltracartClient
|
|
670
726
|
true
|
671
727
|
end
|
672
728
|
|
729
|
+
# Custom attribute writer method with validation
|
730
|
+
# @param [Object] barcode_gtin12 Value to be assigned
|
731
|
+
def barcode_gtin12=(barcode_gtin12)
|
732
|
+
if !barcode_gtin12.nil? && barcode_gtin12.to_s.length > 12
|
733
|
+
fail ArgumentError, 'invalid value for "barcode_gtin12", the character length must be smaller than or equal to 12.'
|
734
|
+
end
|
735
|
+
|
736
|
+
@barcode_gtin12 = barcode_gtin12
|
737
|
+
end
|
738
|
+
|
739
|
+
# Custom attribute writer method with validation
|
740
|
+
# @param [Object] barcode_gtin14 Value to be assigned
|
741
|
+
def barcode_gtin14=(barcode_gtin14)
|
742
|
+
if !barcode_gtin14.nil? && barcode_gtin14.to_s.length > 14
|
743
|
+
fail ArgumentError, 'invalid value for "barcode_gtin14", the character length must be smaller than or equal to 14.'
|
744
|
+
end
|
745
|
+
|
746
|
+
@barcode_gtin14 = barcode_gtin14
|
747
|
+
end
|
748
|
+
|
749
|
+
# Custom attribute writer method with validation
|
750
|
+
# @param [Object] barcode_upc11 Value to be assigned
|
751
|
+
def barcode_upc11=(barcode_upc11)
|
752
|
+
if !barcode_upc11.nil? && barcode_upc11.to_s.length > 11
|
753
|
+
fail ArgumentError, 'invalid value for "barcode_upc11", the character length must be smaller than or equal to 11.'
|
754
|
+
end
|
755
|
+
|
756
|
+
@barcode_upc11 = barcode_upc11
|
757
|
+
end
|
758
|
+
|
759
|
+
# Custom attribute writer method with validation
|
760
|
+
# @param [Object] barcode_upc12 Value to be assigned
|
761
|
+
def barcode_upc12=(barcode_upc12)
|
762
|
+
if !barcode_upc12.nil? && barcode_upc12.to_s.length > 12
|
763
|
+
fail ArgumentError, 'invalid value for "barcode_upc12", the character length must be smaller than or equal to 12.'
|
764
|
+
end
|
765
|
+
|
766
|
+
@barcode_upc12 = barcode_upc12
|
767
|
+
end
|
768
|
+
|
673
769
|
# Custom attribute writer method with validation
|
674
770
|
# @param [Object] channel_partner_item_id Value to be assigned
|
675
771
|
def channel_partner_item_id=(channel_partner_item_id)
|
@@ -761,6 +857,10 @@ module UltracartClient
|
|
761
857
|
auto_order_last_rebill_dts == o.auto_order_last_rebill_dts &&
|
762
858
|
auto_order_schedule == o.auto_order_schedule &&
|
763
859
|
barcode == o.barcode &&
|
860
|
+
barcode_gtin12 == o.barcode_gtin12 &&
|
861
|
+
barcode_gtin14 == o.barcode_gtin14 &&
|
862
|
+
barcode_upc11 == o.barcode_upc11 &&
|
863
|
+
barcode_upc12 == o.barcode_upc12 &&
|
764
864
|
channel_partner_item_id == o.channel_partner_item_id &&
|
765
865
|
cogs == o.cogs &&
|
766
866
|
component_unit_value == o.component_unit_value &&
|
@@ -827,7 +927,7 @@ module UltracartClient
|
|
827
927
|
# Calculates hash code according to all attributes.
|
828
928
|
# @return [Integer] Hash code
|
829
929
|
def hash
|
830
|
-
[accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_index, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, parent_item_index, parent_merchant_item_id, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, refund_reason, return_reason, ship_separately, shipped_by_user, shipped_dts, shipping_status, special_product_type, tags, tax_free, tax_product_type, taxable_cost, total_cost_with_discount, total_refunded, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
|
930
|
+
[accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, barcode_gtin12, barcode_gtin14, barcode_upc11, barcode_upc12, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_index, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, parent_item_index, parent_merchant_item_id, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, refund_reason, return_reason, ship_separately, shipped_by_user, shipped_dts, shipping_status, special_product_type, tags, tax_free, tax_product_type, taxable_cost, total_cost_with_discount, total_refunded, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
|
831
931
|
end
|
832
932
|
|
833
933
|
# 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.177
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|