ultracart_api 3.1.42 → 3.1.43
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 +6 -5
- data/docs/Item.md +1 -1
- data/docs/LibraryItemAttribute.md +1 -0
- data/lib/ultracart_api/models/item.rb +8 -8
- data/lib/ultracart_api/models/library_item_attribute.rb +10 -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: 9a584bb7f1b5227ef69f544f4ec4def7c4ca7ea7518df56e6c5eafc0a49a4ed7
|
|
4
|
+
data.tar.gz: 07d1a2187132a73f168b8148ecb48fd9c4c2270643682ea453b089203f789698
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 137591dbcaf512304fc96557366f1fafcbd513dd4f51279eedb45b6416bcb5cfb09a12c6658d5545f455fa6ae1c2e58441f53748c66475bc05dcbd7118a33d05
|
|
7
|
+
data.tar.gz: 786156668460d885e03803fdc77a28238d8a67d54b8c8013025827db8c170bbd5ad07ed8be1b72fbfce30e59c659cb99a537f18623e082ba4508a74f33631aae
|
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.1.
|
|
10
|
+
- Package version: 3.1.43
|
|
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.1.
|
|
27
|
+
gem install ./ultracart_api-3.1.43.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.1.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.1.43.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.1.
|
|
35
|
+
gem 'ultracart_api', '~> 3.1.43'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1019,7 +1019,8 @@ Not every change is committed to every SDK.
|
|
|
1019
1019
|
|
|
1020
1020
|
| Version | Date | Comments |
|
|
1021
1021
|
| --: | :-: | --- |
|
|
1022
|
-
| 3.1.
|
|
1022
|
+
| 3.1.43 | 06/01/2021 | one of us cannot spell, not saying who |
|
|
1023
|
+
| 3.1.42 | 06/01/2021 | added quickbooks accounting codes at the tiered level for tiered coupons |
|
|
1023
1024
|
| 3.1.41 | 05/21/2021 | screen recording heatmap methods |
|
|
1024
1025
|
| 3.1.40 | 05/20/2021 | Order.summary.actual_payment_processing field added |
|
|
1025
1026
|
| 3.1.39 | 05/19/2021 | full deployment to ensure all language SDKs are up to date |
|
data/docs/Item.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**amember** | [**ItemAmember**](ItemAmember.md) | | [optional]
|
|
8
8
|
**auto_order** | [**ItemAutoOrder**](ItemAutoOrder.md) | | [optional]
|
|
9
9
|
**ccbill** | [**ItemCCBill**](ItemCCBill.md) | | [optional]
|
|
10
|
-
**
|
|
10
|
+
**channel_partner_item_mappings** | [**Array<ItemChannelPartnerMapping>**](ItemChannelPartnerMapping.md) | Channel Partner Item Mapping | [optional]
|
|
11
11
|
**chargeback** | [**ItemChargeback**](ItemChargeback.md) | | [optional]
|
|
12
12
|
**checkout** | [**ItemCheckout**](ItemCheckout.md) | | [optional]
|
|
13
13
|
**content** | [**ItemContent**](ItemContent.md) | | [optional]
|
|
@@ -23,7 +23,7 @@ module UltracartClient
|
|
|
23
23
|
attr_accessor :ccbill
|
|
24
24
|
|
|
25
25
|
# Channel Partner Item Mapping
|
|
26
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :channel_partner_item_mappings
|
|
27
27
|
|
|
28
28
|
attr_accessor :chargeback
|
|
29
29
|
|
|
@@ -140,7 +140,7 @@ module UltracartClient
|
|
|
140
140
|
:'amember' => :'amember',
|
|
141
141
|
:'auto_order' => :'auto_order',
|
|
142
142
|
:'ccbill' => :'ccbill',
|
|
143
|
-
:'
|
|
143
|
+
:'channel_partner_item_mappings' => :'channel_partner_item_mappings',
|
|
144
144
|
:'chargeback' => :'chargeback',
|
|
145
145
|
:'checkout' => :'checkout',
|
|
146
146
|
:'content' => :'content',
|
|
@@ -196,7 +196,7 @@ module UltracartClient
|
|
|
196
196
|
:'amember' => :'ItemAmember',
|
|
197
197
|
:'auto_order' => :'ItemAutoOrder',
|
|
198
198
|
:'ccbill' => :'ItemCCBill',
|
|
199
|
-
:'
|
|
199
|
+
:'channel_partner_item_mappings' => :'Array<ItemChannelPartnerMapping>',
|
|
200
200
|
:'chargeback' => :'ItemChargeback',
|
|
201
201
|
:'checkout' => :'ItemCheckout',
|
|
202
202
|
:'content' => :'ItemContent',
|
|
@@ -269,9 +269,9 @@ module UltracartClient
|
|
|
269
269
|
self.ccbill = attributes[:'ccbill']
|
|
270
270
|
end
|
|
271
271
|
|
|
272
|
-
if attributes.has_key?(:'
|
|
273
|
-
if (value = attributes[:'
|
|
274
|
-
self.
|
|
272
|
+
if attributes.has_key?(:'channel_partner_item_mappings')
|
|
273
|
+
if (value = attributes[:'channel_partner_item_mappings']).is_a?(Array)
|
|
274
|
+
self.channel_partner_item_mappings = value
|
|
275
275
|
end
|
|
276
276
|
end
|
|
277
277
|
|
|
@@ -533,7 +533,7 @@ module UltracartClient
|
|
|
533
533
|
amember == o.amember &&
|
|
534
534
|
auto_order == o.auto_order &&
|
|
535
535
|
ccbill == o.ccbill &&
|
|
536
|
-
|
|
536
|
+
channel_partner_item_mappings == o.channel_partner_item_mappings &&
|
|
537
537
|
chargeback == o.chargeback &&
|
|
538
538
|
checkout == o.checkout &&
|
|
539
539
|
content == o.content &&
|
|
@@ -590,7 +590,7 @@ module UltracartClient
|
|
|
590
590
|
# Calculates hash code according to all attributes.
|
|
591
591
|
# @return [Fixnum] Hash code
|
|
592
592
|
def hash
|
|
593
|
-
[accounting, amember, auto_order, ccbill,
|
|
593
|
+
[accounting, amember, auto_order, ccbill, channel_partner_item_mappings, chargeback, checkout, content, creation_dts, description, description_translated_text_instance_oid, digital_delivery, ebay, email_notifications, enrollment123, gift_certificate, google_product_search, identifiers, inactive, instant_payment_notifications, internal, kit, kit_component_only, kit_definition, last_modified_dts, merchant_id, merchant_item_id, merchant_item_oid, options, parent_category_id, parent_category_path, payment_processing, physical, pricing, properties, realtime_pricing, recommend_replenishment_days, related, reporting, restriction, revguard, reviews, salesforce, shipping, tags, tax, third_party_email_marketing, variant_items, variations, wishlist_member].hash
|
|
594
594
|
end
|
|
595
595
|
|
|
596
596
|
# Builds the object from hash
|
|
@@ -14,6 +14,8 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class LibraryItemAttribute
|
|
17
|
+
attr_accessor :library_item_oid
|
|
18
|
+
|
|
17
19
|
attr_accessor :name
|
|
18
20
|
|
|
19
21
|
attr_accessor :value
|
|
@@ -21,6 +23,7 @@ module UltracartClient
|
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
26
|
+
:'library_item_oid' => :'libraryItemOid',
|
|
24
27
|
:'name' => :'name',
|
|
25
28
|
:'value' => :'value'
|
|
26
29
|
}
|
|
@@ -29,6 +32,7 @@ module UltracartClient
|
|
|
29
32
|
# Attribute type mapping.
|
|
30
33
|
def self.swagger_types
|
|
31
34
|
{
|
|
35
|
+
:'library_item_oid' => :'Integer',
|
|
32
36
|
:'name' => :'String',
|
|
33
37
|
:'value' => :'String'
|
|
34
38
|
}
|
|
@@ -42,6 +46,10 @@ module UltracartClient
|
|
|
42
46
|
# convert string to symbol for hash key
|
|
43
47
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
44
48
|
|
|
49
|
+
if attributes.has_key?(:'libraryItemOid')
|
|
50
|
+
self.library_item_oid = attributes[:'libraryItemOid']
|
|
51
|
+
end
|
|
52
|
+
|
|
45
53
|
if attributes.has_key?(:'name')
|
|
46
54
|
self.name = attributes[:'name']
|
|
47
55
|
end
|
|
@@ -69,6 +77,7 @@ module UltracartClient
|
|
|
69
77
|
def ==(o)
|
|
70
78
|
return true if self.equal?(o)
|
|
71
79
|
self.class == o.class &&
|
|
80
|
+
library_item_oid == o.library_item_oid &&
|
|
72
81
|
name == o.name &&
|
|
73
82
|
value == o.value
|
|
74
83
|
end
|
|
@@ -82,7 +91,7 @@ module UltracartClient
|
|
|
82
91
|
# Calculates hash code according to all attributes.
|
|
83
92
|
# @return [Fixnum] Hash code
|
|
84
93
|
def hash
|
|
85
|
-
[name, value].hash
|
|
94
|
+
[library_item_oid, name, value].hash
|
|
86
95
|
end
|
|
87
96
|
|
|
88
97
|
# Builds the object from hash
|