ultracart_api 3.2.12 → 3.2.13
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/Coupon.md +1 -0
- data/lib/ultracart_api/models/coupon.rb +11 -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: c0f63c103694ce036268067312ece0840cd6e4ce5bbe1b11456385fb6e88a943
|
4
|
+
data.tar.gz: 60a7abab5bc8d07865482a1e421f351c240fe2eec6f5c1f792c7a5325237d97a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e4844ca4bee069ccfb372757a6ce80bf41fc6d4eb82d55ff38154dc1659dc081f0e2eef6d15deb670db872bc8315082d0363b310681fcbb4a7309bbad5605c
|
7
|
+
data.tar.gz: 29730e090b88d4c6357a415cd6a75517cd9e7e3bc7fcec795e161c615cf6379e4667986ba6535b06174dde3a55c700bb3bb2d52071e88e2722c4c62a3dfd3043
|
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.2.
|
10
|
+
- Package version: 3.2.13
|
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.2.
|
27
|
+
gem install ./ultracart_api-3.2.13.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.2.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.2.13.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.2.
|
35
|
+
gem 'ultracart_api', '~> 3.2.13'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1035,6 +1035,7 @@ Not every change is committed to every SDK.
|
|
1035
1035
|
|
1036
1036
|
| Version | Date | Comments |
|
1037
1037
|
| --: | :-: | --- |
|
1038
|
+
| 3.2.12 | 07/09/2021 | coupon api - added hideFromCustomer flag |
|
1038
1039
|
| 3.2.12 | 07/09/2021 | new fulfillment and order methods for generation of packing slips |
|
1039
1040
|
| 3.2.11 | 07/08/2021 | screen recording - missing external tracking flag added |
|
1040
1041
|
| 3.2.10 | 07/08/2021 | customer profile - allow drop shipping options |
|
data/docs/Coupon.md
CHANGED
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
|
|
33
33
|
**free_shipping_specific_items** | [**CouponFreeShippingSpecificItems**](CouponFreeShippingSpecificItems.md) | | [optional]
|
34
34
|
**free_shipping_with_items_purchase** | [**CouponFreeShippingWithItemsPurchase**](CouponFreeShippingWithItemsPurchase.md) | | [optional]
|
35
35
|
**free_shipping_with_subtotal** | [**CouponFreeShippingWithSubtotal**](CouponFreeShippingWithSubtotal.md) | | [optional]
|
36
|
+
**hide_from_customer** | **BOOLEAN** | Hide coupon from customer during checkout. Often used when coupons are automatic discounting mechanisms. | [optional]
|
36
37
|
**merchant_code** | **String** | Merchant code of coupon up to 20 characters. | [optional]
|
37
38
|
**merchant_notes** | **String** | Internal notes about this coupon. These are not visible to customer. | [optional]
|
38
39
|
**multiple_amounts_off_items** | [**CouponMultipleAmountsOffItems**](CouponMultipleAmountsOffItems.md) | | [optional]
|
@@ -82,6 +82,9 @@ module UltracartClient
|
|
82
82
|
|
83
83
|
attr_accessor :free_shipping_with_subtotal
|
84
84
|
|
85
|
+
# Hide coupon from customer during checkout. Often used when coupons are automatic discounting mechanisms.
|
86
|
+
attr_accessor :hide_from_customer
|
87
|
+
|
85
88
|
# Merchant code of coupon up to 20 characters.
|
86
89
|
attr_accessor :merchant_code
|
87
90
|
|
@@ -180,6 +183,7 @@ module UltracartClient
|
|
180
183
|
:'free_shipping_specific_items' => :'free_shipping_specific_items',
|
181
184
|
:'free_shipping_with_items_purchase' => :'free_shipping_with_items_purchase',
|
182
185
|
:'free_shipping_with_subtotal' => :'free_shipping_with_subtotal',
|
186
|
+
:'hide_from_customer' => :'hide_from_customer',
|
183
187
|
:'merchant_code' => :'merchant_code',
|
184
188
|
:'merchant_notes' => :'merchant_notes',
|
185
189
|
:'multiple_amounts_off_items' => :'multiple_amounts_off_items',
|
@@ -244,6 +248,7 @@ module UltracartClient
|
|
244
248
|
:'free_shipping_specific_items' => :'CouponFreeShippingSpecificItems',
|
245
249
|
:'free_shipping_with_items_purchase' => :'CouponFreeShippingWithItemsPurchase',
|
246
250
|
:'free_shipping_with_subtotal' => :'CouponFreeShippingWithSubtotal',
|
251
|
+
:'hide_from_customer' => :'BOOLEAN',
|
247
252
|
:'merchant_code' => :'String',
|
248
253
|
:'merchant_notes' => :'String',
|
249
254
|
:'multiple_amounts_off_items' => :'CouponMultipleAmountsOffItems',
|
@@ -403,6 +408,10 @@ module UltracartClient
|
|
403
408
|
self.free_shipping_with_subtotal = attributes[:'free_shipping_with_subtotal']
|
404
409
|
end
|
405
410
|
|
411
|
+
if attributes.has_key?(:'hide_from_customer')
|
412
|
+
self.hide_from_customer = attributes[:'hide_from_customer']
|
413
|
+
end
|
414
|
+
|
406
415
|
if attributes.has_key?(:'merchant_code')
|
407
416
|
self.merchant_code = attributes[:'merchant_code']
|
408
417
|
end
|
@@ -660,6 +669,7 @@ module UltracartClient
|
|
660
669
|
free_shipping_specific_items == o.free_shipping_specific_items &&
|
661
670
|
free_shipping_with_items_purchase == o.free_shipping_with_items_purchase &&
|
662
671
|
free_shipping_with_subtotal == o.free_shipping_with_subtotal &&
|
672
|
+
hide_from_customer == o.hide_from_customer &&
|
663
673
|
merchant_code == o.merchant_code &&
|
664
674
|
merchant_notes == o.merchant_notes &&
|
665
675
|
multiple_amounts_off_items == o.multiple_amounts_off_items &&
|
@@ -699,7 +709,7 @@ module UltracartClient
|
|
699
709
|
# Calculates hash code according to all attributes.
|
700
710
|
# @return [Fixnum] Hash code
|
701
711
|
def hash
|
702
|
-
[affiliate_oid, allow_multiple_one_time_codes, amount_off_items, amount_off_shipping, amount_off_shipping_with_items_purchase, amount_off_subtotal, amount_off_subtotal_and_free_shipping, amount_off_subtotal_and_shipping, amount_off_subtotal_with_block_purchase, amount_off_subtotal_with_items_purchase, amount_off_subtotal_with_purchase, automatically_apply_coupon_codes, buy_one_get_one, calculated_description, can_be_used_with_other_coupons, coupon_oid, coupon_type, description, discount_item_with_item_purchase, discount_items, expiration_dts, free_item_and_shipping_with_subtotal, free_item_with_item_purchase, free_item_with_subtotal, free_items_with_item_purchase, free_items_with_mixmatch_purchase, free_shipping, free_shipping_specific_items, free_shipping_with_items_purchase, free_shipping_with_subtotal, merchant_code, merchant_notes, multiple_amounts_off_items, no_discount, percent_off_item_with_items_quantity_purchase, percent_off_items, percent_off_items_and_free_shipping, percent_off_items_with_items_purchase, percent_off_msrp_items, percent_off_retail_price_items, percent_off_shipping, percent_off_subtotal, percent_off_subtotal_and_free_shipping, percent_off_subtotal_limit, percent_off_subtotal_with_items_purchase, percent_off_subtotal_with_subtotal, quickbooks_code, restrict_by_postal_codes, restrict_by_screen_branding_theme_codes, restrict_by_storefronts, start_dts, super_coupon, tiered_amount_off_item, tiered_amount_off_subtotal, tiered_percent_off_items, tiered_percent_off_shipping, tiered_percent_off_subtotal, usable_by].hash
|
712
|
+
[affiliate_oid, allow_multiple_one_time_codes, amount_off_items, amount_off_shipping, amount_off_shipping_with_items_purchase, amount_off_subtotal, amount_off_subtotal_and_free_shipping, amount_off_subtotal_and_shipping, amount_off_subtotal_with_block_purchase, amount_off_subtotal_with_items_purchase, amount_off_subtotal_with_purchase, automatically_apply_coupon_codes, buy_one_get_one, calculated_description, can_be_used_with_other_coupons, coupon_oid, coupon_type, description, discount_item_with_item_purchase, discount_items, expiration_dts, free_item_and_shipping_with_subtotal, free_item_with_item_purchase, free_item_with_subtotal, free_items_with_item_purchase, free_items_with_mixmatch_purchase, free_shipping, free_shipping_specific_items, free_shipping_with_items_purchase, free_shipping_with_subtotal, hide_from_customer, merchant_code, merchant_notes, multiple_amounts_off_items, no_discount, percent_off_item_with_items_quantity_purchase, percent_off_items, percent_off_items_and_free_shipping, percent_off_items_with_items_purchase, percent_off_msrp_items, percent_off_retail_price_items, percent_off_shipping, percent_off_subtotal, percent_off_subtotal_and_free_shipping, percent_off_subtotal_limit, percent_off_subtotal_with_items_purchase, percent_off_subtotal_with_subtotal, quickbooks_code, restrict_by_postal_codes, restrict_by_screen_branding_theme_codes, restrict_by_storefronts, start_dts, super_coupon, tiered_amount_off_item, tiered_amount_off_subtotal, tiered_percent_off_items, tiered_percent_off_shipping, tiered_percent_off_subtotal, usable_by].hash
|
703
713
|
end
|
704
714
|
|
705
715
|
# 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: 3.2.
|
4
|
+
version: 3.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|