ultracart_api 3.10.102 → 3.10.103

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: dfbd6a8d99a5ce38ca0499ff43517dd5932f38ab5f8c9aab525d987abbb5ae21
4
- data.tar.gz: b408435618b214b5c2c812e3eae5a43f33b0782b2bd6f60b01a5137cfd2d42e0
3
+ metadata.gz: 1038148a4471c091d9393a22bb80f92efb6b6d47423b5a4be7ebc626ccf8997e
4
+ data.tar.gz: 602448bba19c727f70bf8673852842fa31d68208b63c78f7c0d173119becf8c0
5
5
  SHA512:
6
- metadata.gz: e97d3ba5a6fdae56f3b10f0254a91924f93bc173e059be8722e2084bf922686a9f3ceee04fd6826b71172ab6b987bb1943adc6cf1f2415af45d3bbdaad6661a5
7
- data.tar.gz: '0580653de7588bf1e8a96d9cbbc558f535c14a9ceaba74ffadc59a25a6b01dc9be791c4fc9e3a78f1c0842f67cb66b1e489798297aac6d91ecf4be631e811690'
6
+ metadata.gz: 0eabcd937d665bc447046f67b49eeac23614065f9c41fef5273aa16344095ac0cd621110a4a8b54e1ff58b5b12c5280aee14a13ae96ee4fa95ccb6b4d747669f
7
+ data.tar.gz: 02d8623da93eb1c1ce507ff022fd1ecf3cfd6e8a20646aa3aeb02a71ded6844cd040dc98bceb46543226f035644d037a42a3ee2858efd69b5d073431b69d3ea5
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.102
10
+ - Package version: 3.10.103
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.102.gem
27
+ gem install ./ultracart_api-3.10.103.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.102.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.103.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.102'
35
+ gem 'ultracart_api', '~> 3.10.103'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1288,6 +1288,7 @@ Not every change is committed to every SDK.
1288
1288
 
1289
1289
  | Version | Date | Comments |
1290
1290
  | --: | :-: | --- |
1291
+ | 3.10.103 | 01/19/2023 | added skip_on_rebill field to coupon object |
1291
1292
  | 3.10.102 | 01/19/2023 | convo - getConversationPermissions added |
1292
1293
  | 3.10.101 | 01/18/2023 | conversation get dept member list method added |
1293
1294
  | 3.10.100 | 01/18/2023 | conversation dept members |
data/docs/Coupon.md CHANGED
@@ -59,6 +59,7 @@ Name | Type | Description | Notes
59
59
  **restrict_by_postal_codes** | **Array<String>** | Optional list of postal codes which restrict a coupon to within these postal codes. | [optional]
60
60
  **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]
61
61
  **restrict_by_storefronts** | [**Array<CouponRestriction>**](CouponRestriction.md) | Optional list of storefronts to limit coupon use to only those storefronts. | [optional]
62
+ **skip_on_rebill** | **BOOLEAN** | Skip this coupon when it is on a rebill of an auto order. | [optional]
62
63
  **start_dts** | **String** | Date/time when coupon is valid | [optional]
63
64
  **super_coupon** | **BOOLEAN** | If true, this coupon can be used with ANY other coupon regardless of the other coupons configuration | [optional]
64
65
  **tiered_amount_off_items** | [**CouponTieredAmountOffItems**](CouponTieredAmountOffItems.md) | | [optional]
@@ -141,6 +141,9 @@ module UltracartClient
141
141
  # Optional list of storefronts to limit coupon use to only those storefronts.
142
142
  attr_accessor :restrict_by_storefronts
143
143
 
144
+ # Skip this coupon when it is on a rebill of an auto order.
145
+ attr_accessor :skip_on_rebill
146
+
144
147
  # Date/time when coupon is valid
145
148
  attr_accessor :start_dts
146
149
 
@@ -221,6 +224,7 @@ module UltracartClient
221
224
  :'restrict_by_postal_codes' => :'restrict_by_postal_codes',
222
225
  :'restrict_by_screen_branding_theme_codes' => :'restrict_by_screen_branding_theme_codes',
223
226
  :'restrict_by_storefronts' => :'restrict_by_storefronts',
227
+ :'skip_on_rebill' => :'skip_on_rebill',
224
228
  :'start_dts' => :'start_dts',
225
229
  :'super_coupon' => :'super_coupon',
226
230
  :'tiered_amount_off_items' => :'tiered_amount_off_items',
@@ -292,6 +296,7 @@ module UltracartClient
292
296
  :'restrict_by_postal_codes' => :'Array<String>',
293
297
  :'restrict_by_screen_branding_theme_codes' => :'Array<CouponRestriction>',
294
298
  :'restrict_by_storefronts' => :'Array<CouponRestriction>',
299
+ :'skip_on_rebill' => :'BOOLEAN',
295
300
  :'start_dts' => :'String',
296
301
  :'super_coupon' => :'BOOLEAN',
297
302
  :'tiered_amount_off_items' => :'CouponTieredAmountOffItems',
@@ -542,6 +547,10 @@ module UltracartClient
542
547
  end
543
548
  end
544
549
 
550
+ if attributes.has_key?(:'skip_on_rebill')
551
+ self.skip_on_rebill = attributes[:'skip_on_rebill']
552
+ end
553
+
545
554
  if attributes.has_key?(:'start_dts')
546
555
  self.start_dts = attributes[:'start_dts']
547
556
  end
@@ -743,6 +752,7 @@ module UltracartClient
743
752
  restrict_by_postal_codes == o.restrict_by_postal_codes &&
744
753
  restrict_by_screen_branding_theme_codes == o.restrict_by_screen_branding_theme_codes &&
745
754
  restrict_by_storefronts == o.restrict_by_storefronts &&
755
+ skip_on_rebill == o.skip_on_rebill &&
746
756
  start_dts == o.start_dts &&
747
757
  super_coupon == o.super_coupon &&
748
758
  tiered_amount_off_items == o.tiered_amount_off_items &&
@@ -763,7 +773,7 @@ module UltracartClient
763
773
  # Calculates hash code according to all attributes.
764
774
  # @return [Fixnum] Hash code
765
775
  def hash
766
- [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
776
+ [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
767
777
  end
768
778
 
769
779
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.102'
14
+ VERSION = '3.10.103'
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: 3.10.102
4
+ version: 3.10.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart