ultracart_api 3.5.2 → 3.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a244f30a45d82996bf3cdedda60c37aa05608acb2e2c373b9d198a914adff55f
4
- data.tar.gz: e9677070c832354ca98e9c8043559473ff4a0d303e6add1d34a2cd893e449408
3
+ metadata.gz: 8ace3ac7494f41008bbfb58ab99e39470a18b242db80a2685f506664cf77daad
4
+ data.tar.gz: 43d244077f8d17b57c0914c25be5506e56a5b035de63a0f8c5a940cb48b839f0
5
5
  SHA512:
6
- metadata.gz: 2c0c1ad66bfb6e2593216208341aab5ca045431bc9aa004483ff5288503e1013e5e9e1a211bd04a3141cf8ebd10a36c799904cef4a3686db8e6f920bf1e7d4f8
7
- data.tar.gz: db33323db36da46150dea5535637a82a1331ac0f00106de25583e8406a8a3e537d0325440803cbfc63d1ace5355a3c91001fda14d9b6aabcd8b5319fc41c73e3
6
+ metadata.gz: 336807f227f0ecd13136a3082f892eb74e5c7e42ab5b253067d41a98fe8e985125c2962494f7c1d6af062b8a520509a6a277c8b07512871e5c865f6a51cc68f2
7
+ data.tar.gz: 4d8ef9244c6648f7b8152f1698e93dc3705b6465988ca940cefe9ff7fe1e2ec8ccc3779f19d4b9c24238579896defb74b1449c77a312a5b7dba2b853f0403515
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.5.2
10
+ - Package version: 3.6.3
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.5.2.gem
27
+ gem install ./ultracart_api-3.6.3.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.5.2.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.3.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.5.2'
35
+ gem 'ultracart_api', '~> 3.6.3'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -575,7 +575,7 @@ Class | Method | HTTP request | Description
575
575
  - [UltracartClient::CouponTierPercent](docs/CouponTierPercent.md)
576
576
  - [UltracartClient::CouponTierQuantityAmount](docs/CouponTierQuantityAmount.md)
577
577
  - [UltracartClient::CouponTierQuantityPercent](docs/CouponTierQuantityPercent.md)
578
- - [UltracartClient::CouponTieredAmountOffItem](docs/CouponTieredAmountOffItem.md)
578
+ - [UltracartClient::CouponTieredAmountOffItems](docs/CouponTieredAmountOffItems.md)
579
579
  - [UltracartClient::CouponTieredAmountOffSubtotal](docs/CouponTieredAmountOffSubtotal.md)
580
580
  - [UltracartClient::CouponTieredPercentOffItems](docs/CouponTieredPercentOffItems.md)
581
581
  - [UltracartClient::CouponTieredPercentOffShipping](docs/CouponTieredPercentOffShipping.md)
@@ -1116,6 +1116,9 @@ Not every change is committed to every SDK.
1116
1116
 
1117
1117
  | Version | Date | Comments |
1118
1118
  | --: | :-: | --- |
1119
+ | 3.6.1 | 08/23/2021 | configuration api - enum problems, also added order.item.tracking_number to support line item tracking numbers |
1120
+ | 3.6.0 | 08/19/2021 | coupon api - changed tieredAmountOffItem to support mulitple items |
1121
+ | 3.5.3 | 08/18/2021 | configuration api - added credit card rate to UltraCart Payments object |
1119
1122
  | 3.5.1 | 08/11/2021 | email webhook test method |
1120
1123
  | 3.5.0 | 08/11/2021 | RestOrderChannelPartner.store_completed was incorrectly defaulting to true |
1121
1124
  | 3.4.13 | 08/10/2021 | configuration api - changed some field types form string to number |
data/docs/Coupon.md CHANGED
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
56
56
  **restrict_by_storefronts** | [**Array<CouponRestriction>**](CouponRestriction.md) | Optional list of storefronts to limit coupon use to only those storefronts. | [optional]
57
57
  **start_dts** | **String** | Date/time when coupon is valid | [optional]
58
58
  **super_coupon** | **BOOLEAN** | If true, this coupon can be used with ANY other coupon regardless of the other coupons configuration | [optional]
59
- **tiered_amount_off_item** | [**CouponTieredAmountOffItem**](CouponTieredAmountOffItem.md) | | [optional]
59
+ **tiered_amount_off_items** | [**CouponTieredAmountOffItems**](CouponTieredAmountOffItems.md) | | [optional]
60
60
  **tiered_amount_off_subtotal** | [**CouponTieredAmountOffSubtotal**](CouponTieredAmountOffSubtotal.md) | | [optional]
61
61
  **tiered_percent_off_items** | [**CouponTieredPercentOffItems**](CouponTieredPercentOffItems.md) | | [optional]
62
62
  **tiered_percent_off_shipping** | [**CouponTieredPercentOffShipping**](CouponTieredPercentOffShipping.md) | | [optional]
@@ -1,9 +1,9 @@
1
- # UltracartClient::CouponTieredAmountOffItem
1
+ # UltracartClient::CouponTieredAmountOffItems
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **item** | **String** | The item being discounted by this coupon. | [optional]
6
+ **items** | **Array<String>** | The items being discounted by this coupon. | [optional]
7
7
  **limit** | **Float** | The maximum number of discounted items. | [optional]
8
8
  **tiers** | [**Array<CouponTierQuantityAmount>**](CouponTierQuantityAmount.md) | A list of discount tiers. | [optional]
9
9
 
data/docs/OrderItem.md CHANGED
@@ -52,6 +52,7 @@ Name | Type | Description | Notes
52
52
  **taxable_cost** | [**Currency**](Currency.md) | | [optional]
53
53
  **total_cost_with_discount** | [**Currency**](Currency.md) | | [optional]
54
54
  **total_refunded** | [**Currency**](Currency.md) | | [optional]
55
+ **tracking_number** | **String** | Tracking number, if null or missing, use order level tracking number(s). Used if there are multiple shipments for one order | [optional]
55
56
  **transmitted_to_distribution_center_dts** | **String** | Date/time that this item was transmitted to the distribution center | [optional]
56
57
  **unit_cost_with_discount** | [**Currency**](Currency.md) | | [optional]
57
58
  **upsell** | **BOOLEAN** | True if this item was added to the order as part of an upsell | [optional]
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **company_description** | **String** | Company description | [optional]
14
14
  **console_hostname** | **String** | Console hostname | [optional]
15
15
  **country** | **String** | Country | [optional]
16
+ **credit_card_rate** | **String** | WePay credit card rate | [optional]
16
17
  **currency** | **String** | Base currency for transactions | [optional]
17
18
  **expected_revenue** | **String** | Expected Revenue | [optional]
18
19
  **hide_credit_card_non_ultracart_payments** | **BOOLEAN** | Internal flag to aid UI | [optional]
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
26
26
  **placed_order** | **BOOLEAN** | | [optional]
27
27
  **preferred_language** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
28
28
  **referrer_domain** | **String** | | [optional]
29
+ **return_filter_values** | **Array<String>** | | [optional]
29
30
  **screen_recording_uuids** | **Array<String>** | | [optional]
30
31
  **screen_sizes** | **Array<String>** | | [optional]
31
32
  **skip_filter_values** | **BOOLEAN** | | [optional]
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **referrer** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
10
10
  **referrer_params** | [**Array<ScreenRecordingFilterPageViewReferrerParam>**](ScreenRecordingFilterPageViewReferrerParam.md) | | [optional]
11
11
  **referrer_raw** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
12
+ **return_filter_values** | **Array<String>** | | [optional]
12
13
  **time_on_page** | [**ScreenRecordingFilterRangeInteger**](ScreenRecordingFilterRangeInteger.md) | | [optional]
13
14
  **url** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
14
15
 
@@ -137,7 +137,7 @@ module UltracartClient
137
137
  # If true, this coupon can be used with ANY other coupon regardless of the other coupons configuration
138
138
  attr_accessor :super_coupon
139
139
 
140
- attr_accessor :tiered_amount_off_item
140
+ attr_accessor :tiered_amount_off_items
141
141
 
142
142
  attr_accessor :tiered_amount_off_subtotal
143
143
 
@@ -206,7 +206,7 @@ module UltracartClient
206
206
  :'restrict_by_storefronts' => :'restrict_by_storefronts',
207
207
  :'start_dts' => :'start_dts',
208
208
  :'super_coupon' => :'super_coupon',
209
- :'tiered_amount_off_item' => :'tiered_amount_off_item',
209
+ :'tiered_amount_off_items' => :'tiered_amount_off_items',
210
210
  :'tiered_amount_off_subtotal' => :'tiered_amount_off_subtotal',
211
211
  :'tiered_percent_off_items' => :'tiered_percent_off_items',
212
212
  :'tiered_percent_off_shipping' => :'tiered_percent_off_shipping',
@@ -271,7 +271,7 @@ module UltracartClient
271
271
  :'restrict_by_storefronts' => :'Array<CouponRestriction>',
272
272
  :'start_dts' => :'String',
273
273
  :'super_coupon' => :'BOOLEAN',
274
- :'tiered_amount_off_item' => :'CouponTieredAmountOffItem',
274
+ :'tiered_amount_off_items' => :'CouponTieredAmountOffItems',
275
275
  :'tiered_amount_off_subtotal' => :'CouponTieredAmountOffSubtotal',
276
276
  :'tiered_percent_off_items' => :'CouponTieredPercentOffItems',
277
277
  :'tiered_percent_off_shipping' => :'CouponTieredPercentOffShipping',
@@ -506,8 +506,8 @@ module UltracartClient
506
506
  self.super_coupon = attributes[:'super_coupon']
507
507
  end
508
508
 
509
- if attributes.has_key?(:'tiered_amount_off_item')
510
- self.tiered_amount_off_item = attributes[:'tiered_amount_off_item']
509
+ if attributes.has_key?(:'tiered_amount_off_items')
510
+ self.tiered_amount_off_items = attributes[:'tiered_amount_off_items']
511
511
  end
512
512
 
513
513
  if attributes.has_key?(:'tiered_amount_off_subtotal')
@@ -692,7 +692,7 @@ module UltracartClient
692
692
  restrict_by_storefronts == o.restrict_by_storefronts &&
693
693
  start_dts == o.start_dts &&
694
694
  super_coupon == o.super_coupon &&
695
- tiered_amount_off_item == o.tiered_amount_off_item &&
695
+ tiered_amount_off_items == o.tiered_amount_off_items &&
696
696
  tiered_amount_off_subtotal == o.tiered_amount_off_subtotal &&
697
697
  tiered_percent_off_items == o.tiered_percent_off_items &&
698
698
  tiered_percent_off_shipping == o.tiered_percent_off_shipping &&
@@ -709,7 +709,7 @@ module UltracartClient
709
709
  # Calculates hash code according to all attributes.
710
710
  # @return [Fixnum] Hash code
711
711
  def 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
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_items, tiered_amount_off_subtotal, tiered_percent_off_items, tiered_percent_off_shipping, tiered_percent_off_subtotal, usable_by].hash
713
713
  end
714
714
 
715
715
  # Builds the object from hash
@@ -13,9 +13,9 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
13
13
  require 'date'
14
14
 
15
15
  module UltracartClient
16
- class CouponTieredAmountOffItem
17
- # The item being discounted by this coupon.
18
- attr_accessor :item
16
+ class CouponTieredAmountOffItems
17
+ # The items being discounted by this coupon.
18
+ attr_accessor :items
19
19
 
20
20
  # The maximum number of discounted items.
21
21
  attr_accessor :limit
@@ -26,7 +26,7 @@ module UltracartClient
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
27
27
  def self.attribute_map
28
28
  {
29
- :'item' => :'item',
29
+ :'items' => :'items',
30
30
  :'limit' => :'limit',
31
31
  :'tiers' => :'tiers'
32
32
  }
@@ -35,7 +35,7 @@ module UltracartClient
35
35
  # Attribute type mapping.
36
36
  def self.swagger_types
37
37
  {
38
- :'item' => :'String',
38
+ :'items' => :'Array<String>',
39
39
  :'limit' => :'Float',
40
40
  :'tiers' => :'Array<CouponTierQuantityAmount>'
41
41
  }
@@ -49,8 +49,10 @@ module UltracartClient
49
49
  # convert string to symbol for hash key
50
50
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
51
51
 
52
- if attributes.has_key?(:'item')
53
- self.item = attributes[:'item']
52
+ if attributes.has_key?(:'items')
53
+ if (value = attributes[:'items']).is_a?(Array)
54
+ self.items = value
55
+ end
54
56
  end
55
57
 
56
58
  if attributes.has_key?(:'limit')
@@ -82,7 +84,7 @@ module UltracartClient
82
84
  def ==(o)
83
85
  return true if self.equal?(o)
84
86
  self.class == o.class &&
85
- item == o.item &&
87
+ items == o.items &&
86
88
  limit == o.limit &&
87
89
  tiers == o.tiers
88
90
  end
@@ -96,7 +98,7 @@ module UltracartClient
96
98
  # Calculates hash code according to all attributes.
97
99
  # @return [Fixnum] Hash code
98
100
  def hash
99
- [item, limit, tiers].hash
101
+ [items, limit, tiers].hash
100
102
  end
101
103
 
102
104
  # Builds the object from hash
@@ -151,6 +151,9 @@ module UltracartClient
151
151
 
152
152
  attr_accessor :total_refunded
153
153
 
154
+ # Tracking number, if null or missing, use order level tracking number(s). Used if there are multiple shipments for one order
155
+ attr_accessor :tracking_number
156
+
154
157
  # Date/time that this item was transmitted to the distribution center
155
158
  attr_accessor :transmitted_to_distribution_center_dts
156
159
 
@@ -215,6 +218,7 @@ module UltracartClient
215
218
  :'taxable_cost' => :'taxable_cost',
216
219
  :'total_cost_with_discount' => :'total_cost_with_discount',
217
220
  :'total_refunded' => :'total_refunded',
221
+ :'tracking_number' => :'tracking_number',
218
222
  :'transmitted_to_distribution_center_dts' => :'transmitted_to_distribution_center_dts',
219
223
  :'unit_cost_with_discount' => :'unit_cost_with_discount',
220
224
  :'upsell' => :'upsell',
@@ -275,6 +279,7 @@ module UltracartClient
275
279
  :'taxable_cost' => :'Currency',
276
280
  :'total_cost_with_discount' => :'Currency',
277
281
  :'total_refunded' => :'Currency',
282
+ :'tracking_number' => :'String',
278
283
  :'transmitted_to_distribution_center_dts' => :'String',
279
284
  :'unit_cost_with_discount' => :'Currency',
280
285
  :'upsell' => :'BOOLEAN',
@@ -495,6 +500,10 @@ module UltracartClient
495
500
  self.total_refunded = attributes[:'total_refunded']
496
501
  end
497
502
 
503
+ if attributes.has_key?(:'tracking_number')
504
+ self.tracking_number = attributes[:'tracking_number']
505
+ end
506
+
498
507
  if attributes.has_key?(:'transmitted_to_distribution_center_dts')
499
508
  self.transmitted_to_distribution_center_dts = attributes[:'transmitted_to_distribution_center_dts']
500
509
  end
@@ -673,6 +682,7 @@ module UltracartClient
673
682
  taxable_cost == o.taxable_cost &&
674
683
  total_cost_with_discount == o.total_cost_with_discount &&
675
684
  total_refunded == o.total_refunded &&
685
+ tracking_number == o.tracking_number &&
676
686
  transmitted_to_distribution_center_dts == o.transmitted_to_distribution_center_dts &&
677
687
  unit_cost_with_discount == o.unit_cost_with_discount &&
678
688
  upsell == o.upsell &&
@@ -689,7 +699,7 @@ module UltracartClient
689
699
  # Calculates hash code according to all attributes.
690
700
  # @return [Fixnum] Hash code
691
701
  def hash
692
- [accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, ship_separately, shipped_by_user, shipped_dts, special_product_type, tags, tax_free, taxable_cost, total_cost_with_discount, total_refunded, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
702
+ [accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, ship_separately, shipped_by_user, shipped_dts, special_product_type, tags, tax_free, taxable_cost, total_cost_with_discount, total_refunded, tracking_number, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
693
703
  end
694
704
 
695
705
  # Builds the object from hash
@@ -165,7 +165,7 @@ module UltracartClient
165
165
  # Check to see if the all the properties in the model are valid
166
166
  # @return true if the model is valid
167
167
  def valid?
168
- credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', 'Visa', 'Diners Club', 'Discover', 'JCB', 'MasterCard'])
168
+ credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
169
169
  return false unless credit_card_validator.valid?(@credit_card)
170
170
  true
171
171
  end
@@ -173,7 +173,7 @@ module UltracartClient
173
173
  # Custom attribute writer method checking allowed values (enum).
174
174
  # @param [Object] credit_card Object to be assigned
175
175
  def credit_card=(credit_card)
176
- validator = EnumAttributeValidator.new('String', ['AMEX', 'Visa', 'Diners Club', 'Discover', 'JCB', 'MasterCard'])
176
+ validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
177
177
  unless validator.valid?(credit_card)
178
178
  fail ArgumentError, 'invalid value for "credit_card", must be one of #{validator.allowable_values}.'
179
179
  end
@@ -44,6 +44,9 @@ module UltracartClient
44
44
  # Country
45
45
  attr_accessor :country
46
46
 
47
+ # WePay credit card rate
48
+ attr_accessor :credit_card_rate
49
+
47
50
  # Base currency for transactions
48
51
  attr_accessor :currency
49
52
 
@@ -109,6 +112,7 @@ module UltracartClient
109
112
  :'company_description' => :'company_description',
110
113
  :'console_hostname' => :'console_hostname',
111
114
  :'country' => :'country',
115
+ :'credit_card_rate' => :'credit_card_rate',
112
116
  :'currency' => :'currency',
113
117
  :'expected_revenue' => :'expected_revenue',
114
118
  :'hide_credit_card_non_ultracart_payments' => :'hide_credit_card_non_ultracart_payments',
@@ -143,6 +147,7 @@ module UltracartClient
143
147
  :'company_description' => :'String',
144
148
  :'console_hostname' => :'String',
145
149
  :'country' => :'String',
150
+ :'credit_card_rate' => :'String',
146
151
  :'currency' => :'String',
147
152
  :'expected_revenue' => :'String',
148
153
  :'hide_credit_card_non_ultracart_payments' => :'BOOLEAN',
@@ -212,6 +217,10 @@ module UltracartClient
212
217
  self.country = attributes[:'country']
213
218
  end
214
219
 
220
+ if attributes.has_key?(:'credit_card_rate')
221
+ self.credit_card_rate = attributes[:'credit_card_rate']
222
+ end
223
+
215
224
  if attributes.has_key?(:'currency')
216
225
  self.currency = attributes[:'currency']
217
226
  end
@@ -313,6 +322,7 @@ module UltracartClient
313
322
  company_description == o.company_description &&
314
323
  console_hostname == o.console_hostname &&
315
324
  country == o.country &&
325
+ credit_card_rate == o.credit_card_rate &&
316
326
  currency == o.currency &&
317
327
  expected_revenue == o.expected_revenue &&
318
328
  hide_credit_card_non_ultracart_payments == o.hide_credit_card_non_ultracart_payments &&
@@ -342,7 +352,7 @@ module UltracartClient
342
352
  # Calculates hash code according to all attributes.
343
353
  # @return [Fixnum] Hash code
344
354
  def hash
345
- [accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, currency, expected_revenue, hide_credit_card_non_ultracart_payments, hide_surcharge_amount, industry, owner_email, owner_name, owner_phone, postal_code, remove_pay_pal_pro, restrictions, short_paypal_marketing_text, show_ultracart_payments_disabled, show_ultracart_payments_intro, show_ultracart_payments_verification, show_ultracart_payments_verified, state, website_url].hash
355
+ [accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, credit_card_rate, currency, expected_revenue, hide_credit_card_non_ultracart_payments, hide_surcharge_amount, industry, owner_email, owner_name, owner_phone, postal_code, remove_pay_pal_pro, restrictions, short_paypal_marketing_text, show_ultracart_payments_disabled, show_ultracart_payments_intro, show_ultracart_payments_verification, show_ultracart_payments_verified, state, website_url].hash
346
356
  end
347
357
 
348
358
  # Builds the object from hash
@@ -60,6 +60,8 @@ module UltracartClient
60
60
 
61
61
  attr_accessor :referrer_domain
62
62
 
63
+ attr_accessor :return_filter_values
64
+
63
65
  attr_accessor :screen_recording_uuids
64
66
 
65
67
  attr_accessor :screen_sizes
@@ -120,6 +122,7 @@ module UltracartClient
120
122
  :'placed_order' => :'placed_order',
121
123
  :'preferred_language' => :'preferred_language',
122
124
  :'referrer_domain' => :'referrer_domain',
125
+ :'return_filter_values' => :'return_filter_values',
123
126
  :'screen_recording_uuids' => :'screen_recording_uuids',
124
127
  :'screen_sizes' => :'screen_sizes',
125
128
  :'skip_filter_values' => :'skip_filter_values',
@@ -166,6 +169,7 @@ module UltracartClient
166
169
  :'placed_order' => :'BOOLEAN',
167
170
  :'preferred_language' => :'ScreenRecordingFilterStringSearch',
168
171
  :'referrer_domain' => :'String',
172
+ :'return_filter_values' => :'Array<String>',
169
173
  :'screen_recording_uuids' => :'Array<String>',
170
174
  :'screen_sizes' => :'Array<String>',
171
175
  :'skip_filter_values' => :'BOOLEAN',
@@ -288,6 +292,12 @@ module UltracartClient
288
292
  self.referrer_domain = attributes[:'referrer_domain']
289
293
  end
290
294
 
295
+ if attributes.has_key?(:'return_filter_values')
296
+ if (value = attributes[:'return_filter_values']).is_a?(Array)
297
+ self.return_filter_values = value
298
+ end
299
+ end
300
+
291
301
  if attributes.has_key?(:'screen_recording_uuids')
292
302
  if (value = attributes[:'screen_recording_uuids']).is_a?(Array)
293
303
  self.screen_recording_uuids = value
@@ -404,6 +414,7 @@ module UltracartClient
404
414
  placed_order == o.placed_order &&
405
415
  preferred_language == o.preferred_language &&
406
416
  referrer_domain == o.referrer_domain &&
417
+ return_filter_values == o.return_filter_values &&
407
418
  screen_recording_uuids == o.screen_recording_uuids &&
408
419
  screen_sizes == o.screen_sizes &&
409
420
  skip_filter_values == o.skip_filter_values &&
@@ -432,7 +443,7 @@ module UltracartClient
432
443
  # Calculates hash code according to all attributes.
433
444
  # @return [Fixnum] Hash code
434
445
  def hash
435
- [affiliate_email, affiliate_id, communications_campaign_name, communications_email_subject, communications_flow_name, email, email_domain, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, language_iso_code, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, referrer_domain, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_source, visitor_number, watched].hash
446
+ [affiliate_email, affiliate_id, communications_campaign_name, communications_email_subject, communications_flow_name, email, email_domain, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, language_iso_code, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, referrer_domain, return_filter_values, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_source, visitor_number, watched].hash
436
447
  end
437
448
 
438
449
  # Builds the object from hash
@@ -26,6 +26,8 @@ module UltracartClient
26
26
 
27
27
  attr_accessor :referrer_raw
28
28
 
29
+ attr_accessor :return_filter_values
30
+
29
31
  attr_accessor :time_on_page
30
32
 
31
33
  attr_accessor :url
@@ -39,6 +41,7 @@ module UltracartClient
39
41
  :'referrer' => :'referrer',
40
42
  :'referrer_params' => :'referrer_params',
41
43
  :'referrer_raw' => :'referrer_raw',
44
+ :'return_filter_values' => :'return_filter_values',
42
45
  :'time_on_page' => :'time_on_page',
43
46
  :'url' => :'url'
44
47
  }
@@ -53,6 +56,7 @@ module UltracartClient
53
56
  :'referrer' => :'ScreenRecordingFilterStringSearch',
54
57
  :'referrer_params' => :'Array<ScreenRecordingFilterPageViewReferrerParam>',
55
58
  :'referrer_raw' => :'ScreenRecordingFilterStringSearch',
59
+ :'return_filter_values' => :'Array<String>',
56
60
  :'time_on_page' => :'ScreenRecordingFilterRangeInteger',
57
61
  :'url' => :'ScreenRecordingFilterStringSearch'
58
62
  }
@@ -96,6 +100,12 @@ module UltracartClient
96
100
  self.referrer_raw = attributes[:'referrer_raw']
97
101
  end
98
102
 
103
+ if attributes.has_key?(:'return_filter_values')
104
+ if (value = attributes[:'return_filter_values']).is_a?(Array)
105
+ self.return_filter_values = value
106
+ end
107
+ end
108
+
99
109
  if attributes.has_key?(:'time_on_page')
100
110
  self.time_on_page = attributes[:'time_on_page']
101
111
  end
@@ -129,6 +139,7 @@ module UltracartClient
129
139
  referrer == o.referrer &&
130
140
  referrer_params == o.referrer_params &&
131
141
  referrer_raw == o.referrer_raw &&
142
+ return_filter_values == o.return_filter_values &&
132
143
  time_on_page == o.time_on_page &&
133
144
  url == o.url
134
145
  end
@@ -142,7 +153,7 @@ module UltracartClient
142
153
  # Calculates hash code according to all attributes.
143
154
  # @return [Fixnum] Hash code
144
155
  def hash
145
- [domain, events, params, referrer, referrer_params, referrer_raw, time_on_page, url].hash
156
+ [domain, events, params, referrer, referrer_params, referrer_raw, return_filter_values, time_on_page, url].hash
146
157
  end
147
158
 
148
159
  # 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.5.2'
14
+ VERSION = '3.6.3'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -172,7 +172,7 @@ require 'ultracart_api/models/coupon_tier_item_discount'
172
172
  require 'ultracart_api/models/coupon_tier_percent'
173
173
  require 'ultracart_api/models/coupon_tier_quantity_amount'
174
174
  require 'ultracart_api/models/coupon_tier_quantity_percent'
175
- require 'ultracart_api/models/coupon_tiered_amount_off_item'
175
+ require 'ultracart_api/models/coupon_tiered_amount_off_items'
176
176
  require 'ultracart_api/models/coupon_tiered_amount_off_subtotal'
177
177
  require 'ultracart_api/models/coupon_tiered_percent_off_items'
178
178
  require 'ultracart_api/models/coupon_tiered_percent_off_shipping'
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.5.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -362,7 +362,7 @@ files:
362
362
  - docs/CouponTierPercent.md
363
363
  - docs/CouponTierQuantityAmount.md
364
364
  - docs/CouponTierQuantityPercent.md
365
- - docs/CouponTieredAmountOffItem.md
365
+ - docs/CouponTieredAmountOffItems.md
366
366
  - docs/CouponTieredAmountOffSubtotal.md
367
367
  - docs/CouponTieredPercentOffItems.md
368
368
  - docs/CouponTieredPercentOffShipping.md
@@ -1027,7 +1027,7 @@ files:
1027
1027
  - lib/ultracart_api/models/coupon_tier_percent.rb
1028
1028
  - lib/ultracart_api/models/coupon_tier_quantity_amount.rb
1029
1029
  - lib/ultracart_api/models/coupon_tier_quantity_percent.rb
1030
- - lib/ultracart_api/models/coupon_tiered_amount_off_item.rb
1030
+ - lib/ultracart_api/models/coupon_tiered_amount_off_items.rb
1031
1031
  - lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb
1032
1032
  - lib/ultracart_api/models/coupon_tiered_percent_off_items.rb
1033
1033
  - lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb