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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a21d0568b3df6a2712a5b6b34d8ad74de0fdac3002d98f399928b72240e18461
4
- data.tar.gz: 3a715b6661f9eab199372d46e1faecc6af829a062284f1a5680bc2d1c4991ad2
3
+ metadata.gz: 6ae53086eb7ba0a277f20bc798ab17e88a4708b60304067563f9db72be707ad3
4
+ data.tar.gz: b598e8dfe94de3051a5c909fa052cb449171f82d8312b514acd5fe23801c573d
5
5
  SHA512:
6
- metadata.gz: 519b33ea41dce3d4b84b3bd08eae930819281afe6254e9cfe8fd8c097b6ab1c2716ee11d7c4f4c1517a94d6d3caa62725131cdda46a7f38bdf9e9580ab5e01e5
7
- data.tar.gz: d2ced92f247c8ddcb0bc9496ec9be4cf3f2336efbd79e2c4cf03773daa89186f5f8df641c9cefe4b43d63d4eefcc4d94b29efe29dd9a1e421ddb2cc9d44610b7
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.119.rc
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.119.rc.gem
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.119.rc.gem` to install the development dependencies)
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.119.rc'
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.119.rc'
14
+ VERSION = '4.0.120.rc'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.119.rc
4
+ version: 4.0.120.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart