ultracart_api 4.0.119.rc → 4.0.120.rc
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 +2 -0
- data/lib/ultracart_api/models/coupon.rb +11 -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: 6ae53086eb7ba0a277f20bc798ab17e88a4708b60304067563f9db72be707ad3
|
4
|
+
data.tar.gz: b598e8dfe94de3051a5c909fa052cb449171f82d8312b514acd5fe23801c573d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560c8c920a5e7f0c8308ef79f6eaf6ab8d738eb5bdccc051fa44e6ac21404d909fd16a28ebbd2769cda16f74c732dfbb943a9ef86366b612b2afa2fccb6655ce
|
7
|
+
data.tar.gz: 1800c46496b3b689a3715b9bbbed58bc8e7e7b3b86dc1a2cf7aab79008f4f7b0b5b9adde1ed9391e7f84f154a5dc6cf30cfafb453eb126285dc5f28ccff81b2d
|
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.120.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.120.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.120.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.120.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1296,6 +1296,7 @@ Not every change is committed to every SDK.
|
|
1296
1296
|
|
1297
1297
|
| Version | Date | Comments |
|
1298
1298
|
| --: | :-: | --- |
|
1299
|
+
| 4.0.120-RC | 01/19/2023 | added skip_on_rebill field to coupon object |
|
1299
1300
|
| 4.0.119-RC | 01/19/2023 | convo - getConversationPermissions added |
|
1300
1301
|
| 4.0.118-RC | 01/18/2023 | conversation get dept member list method added |
|
1301
1302
|
| 4.0.117-RC | 01/18/2023 | conversation dept members |
|
data/docs/Coupon.md
CHANGED
@@ -60,6 +60,7 @@
|
|
60
60
|
| **restrict_by_postal_codes** | **Array<String>** | Optional list of postal codes which restrict a coupon to within these postal codes. | [optional] |
|
61
61
|
| **restrict_by_screen_branding_theme_codes** | [**Array<CouponRestriction>**](CouponRestriction.md) | Optional list of legacy screen branding theme codes to limit coupon use to only those themes. | [optional] |
|
62
62
|
| **restrict_by_storefronts** | [**Array<CouponRestriction>**](CouponRestriction.md) | Optional list of storefronts to limit coupon use to only those storefronts. | [optional] |
|
63
|
+
| **skip_on_rebill** | **Boolean** | Skip this coupon when it is on a rebill of an auto order. | [optional] |
|
63
64
|
| **start_dts** | **String** | Date/time when coupon is valid | [optional] |
|
64
65
|
| **super_coupon** | **Boolean** | If true, this coupon can be used with ANY other coupon regardless of the other coupons configuration | [optional] |
|
65
66
|
| **tiered_amount_off_items** | [**CouponTieredAmountOffItems**](CouponTieredAmountOffItems.md) | | [optional] |
|
@@ -132,6 +133,7 @@ instance = UltracartClient::Coupon.new(
|
|
132
133
|
restrict_by_postal_codes: null,
|
133
134
|
restrict_by_screen_branding_theme_codes: null,
|
134
135
|
restrict_by_storefronts: null,
|
136
|
+
skip_on_rebill: null,
|
135
137
|
start_dts: null,
|
136
138
|
super_coupon: null,
|
137
139
|
tiered_amount_off_items: null,
|
@@ -142,6 +142,9 @@ module UltracartClient
|
|
142
142
|
# Optional list of storefronts to limit coupon use to only those storefronts.
|
143
143
|
attr_accessor :restrict_by_storefronts
|
144
144
|
|
145
|
+
# Skip this coupon when it is on a rebill of an auto order.
|
146
|
+
attr_accessor :skip_on_rebill
|
147
|
+
|
145
148
|
# Date/time when coupon is valid
|
146
149
|
attr_accessor :start_dts
|
147
150
|
|
@@ -222,6 +225,7 @@ module UltracartClient
|
|
222
225
|
:'restrict_by_postal_codes' => :'restrict_by_postal_codes',
|
223
226
|
:'restrict_by_screen_branding_theme_codes' => :'restrict_by_screen_branding_theme_codes',
|
224
227
|
:'restrict_by_storefronts' => :'restrict_by_storefronts',
|
228
|
+
:'skip_on_rebill' => :'skip_on_rebill',
|
225
229
|
:'start_dts' => :'start_dts',
|
226
230
|
:'super_coupon' => :'super_coupon',
|
227
231
|
:'tiered_amount_off_items' => :'tiered_amount_off_items',
|
@@ -298,6 +302,7 @@ module UltracartClient
|
|
298
302
|
:'restrict_by_postal_codes' => :'Array<String>',
|
299
303
|
:'restrict_by_screen_branding_theme_codes' => :'Array<CouponRestriction>',
|
300
304
|
:'restrict_by_storefronts' => :'Array<CouponRestriction>',
|
305
|
+
:'skip_on_rebill' => :'Boolean',
|
301
306
|
:'start_dts' => :'String',
|
302
307
|
:'super_coupon' => :'Boolean',
|
303
308
|
:'tiered_amount_off_items' => :'CouponTieredAmountOffItems',
|
@@ -561,6 +566,10 @@ module UltracartClient
|
|
561
566
|
end
|
562
567
|
end
|
563
568
|
|
569
|
+
if attributes.key?(:'skip_on_rebill')
|
570
|
+
self.skip_on_rebill = attributes[:'skip_on_rebill']
|
571
|
+
end
|
572
|
+
|
564
573
|
if attributes.key?(:'start_dts')
|
565
574
|
self.start_dts = attributes[:'start_dts']
|
566
575
|
end
|
@@ -762,6 +771,7 @@ module UltracartClient
|
|
762
771
|
restrict_by_postal_codes == o.restrict_by_postal_codes &&
|
763
772
|
restrict_by_screen_branding_theme_codes == o.restrict_by_screen_branding_theme_codes &&
|
764
773
|
restrict_by_storefronts == o.restrict_by_storefronts &&
|
774
|
+
skip_on_rebill == o.skip_on_rebill &&
|
765
775
|
start_dts == o.start_dts &&
|
766
776
|
super_coupon == o.super_coupon &&
|
767
777
|
tiered_amount_off_items == o.tiered_amount_off_items &&
|
@@ -782,7 +792,7 @@ module UltracartClient
|
|
782
792
|
# Calculates hash code according to all attributes.
|
783
793
|
# @return [Integer] Hash code
|
784
794
|
def hash
|
785
|
-
[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, amount_shipping_with_subtotal, 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, more_loyalty_cashback, more_loyalty_points, multiple_amounts_off_items, no_discount, percent_more_loyalty_cashback, percent_more_loyalty_points, 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_items, tiered_amount_off_subtotal, tiered_percent_off_items, tiered_percent_off_shipping, tiered_percent_off_subtotal, tiered_percent_off_subtotal_based_on_msrp, usable_by].hash
|
795
|
+
[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, amount_shipping_with_subtotal, 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, more_loyalty_cashback, more_loyalty_points, multiple_amounts_off_items, no_discount, percent_more_loyalty_cashback, percent_more_loyalty_points, 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, skip_on_rebill, start_dts, super_coupon, tiered_amount_off_items, tiered_amount_off_subtotal, tiered_percent_off_items, tiered_percent_off_shipping, tiered_percent_off_subtotal, tiered_percent_off_subtotal_based_on_msrp, usable_by].hash
|
786
796
|
end
|
787
797
|
|
788
798
|
# Builds the object from hash
|