ultracart_api 3.10.55 → 3.10.56
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/Customer.md +1 -0
- data/lib/ultracart_api/models/customer.rb +11 -1
- data/lib/ultracart_api/models/item_digital_items_response.rb +3 -3
- 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: 7bf33caa668c673bfb0aa3e7d9c6b3663f492af7b8ca8e37839dad609f0ad1db
|
4
|
+
data.tar.gz: ef6db984ad46007de928c453a9234699b9deffd63beeee1e29bd91bcc3436606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15cb9a53814a566f4ca983307a21cce361ce960e247aa0ca4f7f3c73e58c0443d627690e033bdba8b5de0344afc9063a737c3d248f2d0c4e6fd03cdd4f286daf
|
7
|
+
data.tar.gz: e2f2627f6275580a0663f308969e155a41ae30091a58a21ad4dd385208e52ffa3fc30715d45d5662bd43ee706cdc92e2e3bf78cf3ee2d7b415e588c360d7400d
|
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.10.
|
10
|
+
- Package version: 3.10.56
|
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.10.
|
27
|
+
gem install ./ultracart_api-3.10.56.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.56.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.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.56'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1209,6 +1209,7 @@ Not every change is committed to every SDK.
|
|
1209
1209
|
|
1210
1210
|
| Version | Date | Comments |
|
1211
1211
|
| --: | :-: | --- |
|
1212
|
+
| 3.10.56 | 10/07/2022 | bug fix for digital items response |
|
1212
1213
|
| 3.10.55 | 10/05/2022 | storefront rest file cdn icon urls |
|
1213
1214
|
| 3.10.54 | 10/04/2022 | bug fix for new storefront file mgr |
|
1214
1215
|
| 3.10.53 | 09/29/2022 | page_paths search category for search2 method |
|
data/docs/Customer.md
CHANGED
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
31
31
|
**last_modified_dts** | **String** | Last modified date | [optional]
|
32
32
|
**loyalty** | [**CustomerLoyalty**](CustomerLoyalty.md) | | [optional]
|
33
33
|
**maximum_item_count** | **Integer** | Maximum item count | [optional]
|
34
|
+
**merchant_id** | **String** | Merchant ID | [optional]
|
34
35
|
**minimum_item_count** | **Integer** | Minimum item count | [optional]
|
35
36
|
**minimum_subtotal** | **Float** | Minimum subtotal | [optional]
|
36
37
|
**no_coupons** | **BOOLEAN** | No coupons | [optional]
|
@@ -96,6 +96,9 @@ module UltracartClient
|
|
96
96
|
# Maximum item count
|
97
97
|
attr_accessor :maximum_item_count
|
98
98
|
|
99
|
+
# Merchant ID
|
100
|
+
attr_accessor :merchant_id
|
101
|
+
|
99
102
|
# Minimum item count
|
100
103
|
attr_accessor :minimum_item_count
|
101
104
|
|
@@ -215,6 +218,7 @@ module UltracartClient
|
|
215
218
|
:'last_modified_dts' => :'last_modified_dts',
|
216
219
|
:'loyalty' => :'loyalty',
|
217
220
|
:'maximum_item_count' => :'maximum_item_count',
|
221
|
+
:'merchant_id' => :'merchant_id',
|
218
222
|
:'minimum_item_count' => :'minimum_item_count',
|
219
223
|
:'minimum_subtotal' => :'minimum_subtotal',
|
220
224
|
:'no_coupons' => :'no_coupons',
|
@@ -280,6 +284,7 @@ module UltracartClient
|
|
280
284
|
:'last_modified_dts' => :'String',
|
281
285
|
:'loyalty' => :'CustomerLoyalty',
|
282
286
|
:'maximum_item_count' => :'Integer',
|
287
|
+
:'merchant_id' => :'String',
|
283
288
|
:'minimum_item_count' => :'Integer',
|
284
289
|
:'minimum_subtotal' => :'Float',
|
285
290
|
:'no_coupons' => :'BOOLEAN',
|
@@ -442,6 +447,10 @@ module UltracartClient
|
|
442
447
|
self.maximum_item_count = attributes[:'maximum_item_count']
|
443
448
|
end
|
444
449
|
|
450
|
+
if attributes.has_key?(:'merchant_id')
|
451
|
+
self.merchant_id = attributes[:'merchant_id']
|
452
|
+
end
|
453
|
+
|
445
454
|
if attributes.has_key?(:'minimum_item_count')
|
446
455
|
self.minimum_item_count = attributes[:'minimum_item_count']
|
447
456
|
end
|
@@ -790,6 +799,7 @@ module UltracartClient
|
|
790
799
|
last_modified_dts == o.last_modified_dts &&
|
791
800
|
loyalty == o.loyalty &&
|
792
801
|
maximum_item_count == o.maximum_item_count &&
|
802
|
+
merchant_id == o.merchant_id &&
|
793
803
|
minimum_item_count == o.minimum_item_count &&
|
794
804
|
minimum_subtotal == o.minimum_subtotal &&
|
795
805
|
no_coupons == o.no_coupons &&
|
@@ -832,7 +842,7 @@ module UltracartClient
|
|
832
842
|
# Calculates hash code according to all attributes.
|
833
843
|
# @return [Fixnum] Hash code
|
834
844
|
def hash
|
835
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
845
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
836
846
|
end
|
837
847
|
|
838
848
|
# Builds the object from hash
|
@@ -29,7 +29,7 @@ module UltracartClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'digital_items' => :'
|
32
|
+
:'digital_items' => :'digital_items',
|
33
33
|
:'error' => :'error',
|
34
34
|
:'metadata' => :'metadata',
|
35
35
|
:'success' => :'success',
|
@@ -56,8 +56,8 @@ module UltracartClient
|
|
56
56
|
# convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
58
|
|
59
|
-
if attributes.has_key?(:'
|
60
|
-
if (value = attributes[:'
|
59
|
+
if attributes.has_key?(:'digital_items')
|
60
|
+
if (value = attributes[:'digital_items']).is_a?(Array)
|
61
61
|
self.digital_items = value
|
62
62
|
end
|
63
63
|
end
|
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: 3.10.
|
4
|
+
version: 3.10.56
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|