ultracart_api 3.5.1 → 3.6.1

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: f6262d882ea4fe642d39f1e6e1f5a8b1429b0153d7eccd18bb3cfb36a2eb8c81
4
- data.tar.gz: 6b8f0ef3ae1dccde014b2e3c95f9a73338762546def0aa120cd9c6e8f94a36e4
3
+ metadata.gz: fd4bf7891132f3b72bff15619c807d4c2f868fc92e59af46401c56163291d9e7
4
+ data.tar.gz: 94c6a2bba0d707f32ecba53eb9a4fba827d7a245efe47520479eea916f229494
5
5
  SHA512:
6
- metadata.gz: 382574e46088303307cf2b9848583a3abe57051b4145d78d876eecfcbdfb456fac79132a345aba40715d2a72630348ca564575c506a80427706da9217ba03dcd
7
- data.tar.gz: 9a8ba86ad0f93ade42fe090d8c5621556dd3c7811e7db4a5cf7078f59e39a1d2b9413e36985e33a809f4237a69e41cf2f74625450a37c891e9896072c267c4af
6
+ metadata.gz: ba7e94ccf816661d7e23da78c23bc582f693a0c9743fb2f33d9977edeecb4758b7edcb8d88dba64137d8e38195f91aa0a12a4e7600796263f13f4baad4873354
7
+ data.tar.gz: 287ef5cdb6ab2e22466b5d0560b83931596ed11eeda0317c023eb8d7def28f273785a529337aa2733356f1c1a6aebbd33d04eeaf2a908e48298a3f82e16be03c
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.1
10
+ - Package version: 3.6.1
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.1.gem
27
+ gem install ./ultracart_api-3.6.1.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.5.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.1.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.1'
35
+ gem 'ultracart_api', '~> 3.6.1'
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 |
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
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **channel_partner_code** | **String** | The code of the channel partner | [optional]
8
8
  **channel_partner_data** | **String** | Additional data provided by the channel partner, read-only | [optional]
9
9
  **channel_partner_oid** | **Integer** | Channel partner object identifier, read-only and available on existing channel orders only. | [optional]
10
- **channel_partner_order_id** | **String** | The order ID assigned by the channel partner for this order | [optional]
10
+ **channel_partner_order_id** | **String** | The order ID assigned by the channel partner for this order. | [optional]
11
11
  **ignore_invalid_shipping_method** | **BOOLEAN** | Set to true to ignore invalid shipping method being specified. Only applicable on inserting orders. | [optional]
12
12
  **no_realtime_payment_processing** | **BOOLEAN** | Indicates this order should be placed in Account Receivable for later payment processing | [optional]
13
13
  **skip_payment_processing** | **BOOLEAN** | Indicates this order was already paid for via a channel purchase and no payment collection should be attempted | [optional]
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
10
10
  **configured_gateway_details** | **String** | Human readable description of the credit card gateway currently configured | [optional]
11
11
  **failed_attempts** | **Integer** | The number of failed attempts before the order is placed into Accounts Receivable for manual intervention | [optional]
12
12
  **hide_connect_single_gateway** | **BOOLEAN** | This internal flag aids the UI in determining which buttons to show. | [optional]
13
- **restrictions** | [**Array<PaymentsConfigurationRestrictions>**](PaymentsConfigurationRestrictions.md) | Restrictions for this payment method | [optional]
14
13
  **send_customer_billing_update_on_decline** | **BOOLEAN** | UltraCart will send customers emails to update their credit card if the card is declined | [optional]
15
14
  **supported_cards** | [**Array<PaymentsConfigurationCreditCardType>**](PaymentsConfigurationCreditCardType.md) | A list of credit cards the merchant wishes to accept. | [optional]
16
15
  **test_methods** | [**Array<PaymentsConfigurationTestMethod>**](PaymentsConfigurationTestMethod.md) | An array of test methods for placing test orders. The cards defined here may be real or fake, but any order placed with them will be marked as Test orders | [optional]
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **enabled** | **BOOLEAN** | If true, this card type will be accepted during checkout | [optional]
11
11
  **processing_fee** | **Float** | Optional additional fee applied to order for this card | [optional]
12
12
  **processing_percentage** | **Float** | Optional additional fee applied to order for this card | [optional]
13
+ **restrictions** | [**PaymentsConfigurationRestrictions**](PaymentsConfigurationRestrictions.md) | | [optional]
13
14
  **surcharge_accounting_code** | **String** | Optional field. If integrated with Quickbooks, this code will be used when informing Quickbooks about any surcharges applied to orders | [optional]
14
15
  **transaction_fee** | **Float** | An optional additional fee to charge the customer for using this card. | [optional]
15
16
  **transaction_percentage** | **Float** | An optional transaction percentage to charge the customer for using this card | [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
@@ -26,7 +26,7 @@ module UltracartClient
26
26
  # Channel partner object identifier, read-only and available on existing channel orders only.
27
27
  attr_accessor :channel_partner_oid
28
28
 
29
- # The order ID assigned by the channel partner for this order
29
+ # The order ID assigned by the channel partner for this order.
30
30
  attr_accessor :channel_partner_order_id
31
31
 
32
32
  # Set to true to ignore invalid shipping method being specified. Only applicable on inserting orders.
@@ -138,15 +138,30 @@ module UltracartClient
138
138
  # @return Array for valid properties with the reasons
139
139
  def list_invalid_properties
140
140
  invalid_properties = Array.new
141
+ if !@channel_partner_order_id.nil? && @channel_partner_order_id.to_s.length > 50
142
+ invalid_properties.push('invalid value for "channel_partner_order_id", the character length must be smaller than or equal to 50.')
143
+ end
144
+
141
145
  invalid_properties
142
146
  end
143
147
 
144
148
  # Check to see if the all the properties in the model are valid
145
149
  # @return true if the model is valid
146
150
  def valid?
151
+ return false if !@channel_partner_order_id.nil? && @channel_partner_order_id.to_s.length > 50
147
152
  true
148
153
  end
149
154
 
155
+ # Custom attribute writer method with validation
156
+ # @param [Object] channel_partner_order_id Value to be assigned
157
+ def channel_partner_order_id=(channel_partner_order_id)
158
+ if !channel_partner_order_id.nil? && channel_partner_order_id.to_s.length > 50
159
+ fail ArgumentError, 'invalid value for "channel_partner_order_id", the character length must be smaller than or equal to 50.'
160
+ end
161
+
162
+ @channel_partner_order_id = channel_partner_order_id
163
+ end
164
+
150
165
  # Checks equality by comparing each attribute.
151
166
  # @param [Object] Object to be compared
152
167
  def ==(o)
@@ -35,9 +35,6 @@ module UltracartClient
35
35
  # This internal flag aids the UI in determining which buttons to show.
36
36
  attr_accessor :hide_connect_single_gateway
37
37
 
38
- # Restrictions for this payment method
39
- attr_accessor :restrictions
40
-
41
38
  # UltraCart will send customers emails to update their credit card if the card is declined
42
39
  attr_accessor :send_customer_billing_update_on_decline
43
40
 
@@ -57,7 +54,6 @@ module UltracartClient
57
54
  :'configured_gateway_details' => :'configured_gateway_details',
58
55
  :'failed_attempts' => :'failed_attempts',
59
56
  :'hide_connect_single_gateway' => :'hide_connect_single_gateway',
60
- :'restrictions' => :'restrictions',
61
57
  :'send_customer_billing_update_on_decline' => :'send_customer_billing_update_on_decline',
62
58
  :'supported_cards' => :'supported_cards',
63
59
  :'test_methods' => :'test_methods'
@@ -74,7 +70,6 @@ module UltracartClient
74
70
  :'configured_gateway_details' => :'String',
75
71
  :'failed_attempts' => :'Integer',
76
72
  :'hide_connect_single_gateway' => :'BOOLEAN',
77
- :'restrictions' => :'Array<PaymentsConfigurationRestrictions>',
78
73
  :'send_customer_billing_update_on_decline' => :'BOOLEAN',
79
74
  :'supported_cards' => :'Array<PaymentsConfigurationCreditCardType>',
80
75
  :'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
@@ -117,12 +112,6 @@ module UltracartClient
117
112
  self.hide_connect_single_gateway = attributes[:'hide_connect_single_gateway']
118
113
  end
119
114
 
120
- if attributes.has_key?(:'restrictions')
121
- if (value = attributes[:'restrictions']).is_a?(Array)
122
- self.restrictions = value
123
- end
124
- end
125
-
126
115
  if attributes.has_key?(:'send_customer_billing_update_on_decline')
127
116
  self.send_customer_billing_update_on_decline = attributes[:'send_customer_billing_update_on_decline']
128
117
  end
@@ -165,7 +154,6 @@ module UltracartClient
165
154
  configured_gateway_details == o.configured_gateway_details &&
166
155
  failed_attempts == o.failed_attempts &&
167
156
  hide_connect_single_gateway == o.hide_connect_single_gateway &&
168
- restrictions == o.restrictions &&
169
157
  send_customer_billing_update_on_decline == o.send_customer_billing_update_on_decline &&
170
158
  supported_cards == o.supported_cards &&
171
159
  test_methods == o.test_methods
@@ -180,7 +168,7 @@ module UltracartClient
180
168
  # Calculates hash code according to all attributes.
181
169
  # @return [Fixnum] Hash code
182
170
  def hash
183
- [accept_credit_card, billed_by, charge_during_checkout, collect_cvv2, configured_gateway_details, failed_attempts, hide_connect_single_gateway, restrictions, send_customer_billing_update_on_decline, supported_cards, test_methods].hash
171
+ [accept_credit_card, billed_by, charge_during_checkout, collect_cvv2, configured_gateway_details, failed_attempts, hide_connect_single_gateway, send_customer_billing_update_on_decline, supported_cards, test_methods].hash
184
172
  end
185
173
 
186
174
  # Builds the object from hash
@@ -35,6 +35,8 @@ module UltracartClient
35
35
  # Optional additional fee applied to order for this card
36
36
  attr_accessor :processing_percentage
37
37
 
38
+ attr_accessor :restrictions
39
+
38
40
  # Optional field. If integrated with Quickbooks, this code will be used when informing Quickbooks about any surcharges applied to orders
39
41
  attr_accessor :surcharge_accounting_code
40
42
 
@@ -76,6 +78,7 @@ module UltracartClient
76
78
  :'enabled' => :'enabled',
77
79
  :'processing_fee' => :'processing_fee',
78
80
  :'processing_percentage' => :'processing_percentage',
81
+ :'restrictions' => :'restrictions',
79
82
  :'surcharge_accounting_code' => :'surcharge_accounting_code',
80
83
  :'transaction_fee' => :'transaction_fee',
81
84
  :'transaction_percentage' => :'transaction_percentage'
@@ -92,6 +95,7 @@ module UltracartClient
92
95
  :'enabled' => :'BOOLEAN',
93
96
  :'processing_fee' => :'Float',
94
97
  :'processing_percentage' => :'Float',
98
+ :'restrictions' => :'PaymentsConfigurationRestrictions',
95
99
  :'surcharge_accounting_code' => :'String',
96
100
  :'transaction_fee' => :'Float',
97
101
  :'transaction_percentage' => :'Float'
@@ -134,6 +138,10 @@ module UltracartClient
134
138
  self.processing_percentage = attributes[:'processing_percentage']
135
139
  end
136
140
 
141
+ if attributes.has_key?(:'restrictions')
142
+ self.restrictions = attributes[:'restrictions']
143
+ end
144
+
137
145
  if attributes.has_key?(:'surcharge_accounting_code')
138
146
  self.surcharge_accounting_code = attributes[:'surcharge_accounting_code']
139
147
  end
@@ -157,7 +165,7 @@ module UltracartClient
157
165
  # Check to see if the all the properties in the model are valid
158
166
  # @return true if the model is valid
159
167
  def valid?
160
- 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'])
161
169
  return false unless credit_card_validator.valid?(@credit_card)
162
170
  true
163
171
  end
@@ -165,7 +173,7 @@ module UltracartClient
165
173
  # Custom attribute writer method checking allowed values (enum).
166
174
  # @param [Object] credit_card Object to be assigned
167
175
  def credit_card=(credit_card)
168
- validator = EnumAttributeValidator.new('String', ['AMEX', 'Visa', 'Diners Club', 'Discover', 'JCB', 'MasterCard'])
176
+ validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
169
177
  unless validator.valid?(credit_card)
170
178
  fail ArgumentError, 'invalid value for "credit_card", must be one of #{validator.allowable_values}.'
171
179
  end
@@ -184,6 +192,7 @@ module UltracartClient
184
192
  enabled == o.enabled &&
185
193
  processing_fee == o.processing_fee &&
186
194
  processing_percentage == o.processing_percentage &&
195
+ restrictions == o.restrictions &&
187
196
  surcharge_accounting_code == o.surcharge_accounting_code &&
188
197
  transaction_fee == o.transaction_fee &&
189
198
  transaction_percentage == o.transaction_percentage
@@ -198,7 +207,7 @@ module UltracartClient
198
207
  # Calculates hash code according to all attributes.
199
208
  # @return [Fixnum] Hash code
200
209
  def hash
201
- [accounting_code, card_type_icon, credit_card, deposit_to_account, enabled, processing_fee, processing_percentage, surcharge_accounting_code, transaction_fee, transaction_percentage].hash
210
+ [accounting_code, card_type_icon, credit_card, deposit_to_account, enabled, processing_fee, processing_percentage, restrictions, surcharge_accounting_code, transaction_fee, transaction_percentage].hash
202
211
  end
203
212
 
204
213
  # Builds the object from hash
@@ -54,6 +54,28 @@ module UltracartClient
54
54
 
55
55
  attr_accessor :themes
56
56
 
57
+ class EnumAttributeValidator
58
+ attr_reader :datatype
59
+ attr_reader :allowable_values
60
+
61
+ def initialize(datatype, allowable_values)
62
+ @allowable_values = allowable_values.map do |value|
63
+ case datatype.to_s
64
+ when /Integer/i
65
+ value.to_i
66
+ when /Float/i
67
+ value.to_f
68
+ else
69
+ value
70
+ end
71
+ end
72
+ end
73
+
74
+ def valid?(value)
75
+ !value || allowable_values.include?(value)
76
+ end
77
+ end
78
+
57
79
  # Attribute mapping from ruby-style variable name to JSON key.
58
80
  def self.attribute_map
59
81
  {
@@ -173,9 +195,117 @@ module UltracartClient
173
195
  # Check to see if the all the properties in the model are valid
174
196
  # @return true if the model is valid
175
197
  def valid?
198
+ restriction_alaska_hawaii_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
199
+ return false unless restriction_alaska_hawaii_validator.valid?(@restriction_alaska_hawaii)
200
+ restriction_apo_fpo_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
201
+ return false unless restriction_apo_fpo_validator.valid?(@restriction_apo_fpo)
202
+ restriction_canada_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
203
+ return false unless restriction_canada_validator.valid?(@restriction_canada)
204
+ restriction_continental_us_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
205
+ return false unless restriction_continental_us_validator.valid?(@restriction_continental_us)
206
+ restriction_domestic_only_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
207
+ return false unless restriction_domestic_only_validator.valid?(@restriction_domestic_only)
208
+ restriction_international_only_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
209
+ return false unless restriction_international_only_validator.valid?(@restriction_international_only)
210
+ restriction_po_box_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
211
+ return false unless restriction_po_box_validator.valid?(@restriction_po_box)
212
+ restriction_puerto_rico_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
213
+ return false unless restriction_puerto_rico_validator.valid?(@restriction_puerto_rico)
214
+ restriction_us_territories_validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
215
+ return false unless restriction_us_territories_validator.valid?(@restriction_us_territories)
176
216
  true
177
217
  end
178
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] restriction_alaska_hawaii Object to be assigned
221
+ def restriction_alaska_hawaii=(restriction_alaska_hawaii)
222
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
223
+ unless validator.valid?(restriction_alaska_hawaii)
224
+ fail ArgumentError, 'invalid value for "restriction_alaska_hawaii", must be one of #{validator.allowable_values}.'
225
+ end
226
+ @restriction_alaska_hawaii = restriction_alaska_hawaii
227
+ end
228
+
229
+ # Custom attribute writer method checking allowed values (enum).
230
+ # @param [Object] restriction_apo_fpo Object to be assigned
231
+ def restriction_apo_fpo=(restriction_apo_fpo)
232
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
233
+ unless validator.valid?(restriction_apo_fpo)
234
+ fail ArgumentError, 'invalid value for "restriction_apo_fpo", must be one of #{validator.allowable_values}.'
235
+ end
236
+ @restriction_apo_fpo = restriction_apo_fpo
237
+ end
238
+
239
+ # Custom attribute writer method checking allowed values (enum).
240
+ # @param [Object] restriction_canada Object to be assigned
241
+ def restriction_canada=(restriction_canada)
242
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
243
+ unless validator.valid?(restriction_canada)
244
+ fail ArgumentError, 'invalid value for "restriction_canada", must be one of #{validator.allowable_values}.'
245
+ end
246
+ @restriction_canada = restriction_canada
247
+ end
248
+
249
+ # Custom attribute writer method checking allowed values (enum).
250
+ # @param [Object] restriction_continental_us Object to be assigned
251
+ def restriction_continental_us=(restriction_continental_us)
252
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
253
+ unless validator.valid?(restriction_continental_us)
254
+ fail ArgumentError, 'invalid value for "restriction_continental_us", must be one of #{validator.allowable_values}.'
255
+ end
256
+ @restriction_continental_us = restriction_continental_us
257
+ end
258
+
259
+ # Custom attribute writer method checking allowed values (enum).
260
+ # @param [Object] restriction_domestic_only Object to be assigned
261
+ def restriction_domestic_only=(restriction_domestic_only)
262
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
263
+ unless validator.valid?(restriction_domestic_only)
264
+ fail ArgumentError, 'invalid value for "restriction_domestic_only", must be one of #{validator.allowable_values}.'
265
+ end
266
+ @restriction_domestic_only = restriction_domestic_only
267
+ end
268
+
269
+ # Custom attribute writer method checking allowed values (enum).
270
+ # @param [Object] restriction_international_only Object to be assigned
271
+ def restriction_international_only=(restriction_international_only)
272
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
273
+ unless validator.valid?(restriction_international_only)
274
+ fail ArgumentError, 'invalid value for "restriction_international_only", must be one of #{validator.allowable_values}.'
275
+ end
276
+ @restriction_international_only = restriction_international_only
277
+ end
278
+
279
+ # Custom attribute writer method checking allowed values (enum).
280
+ # @param [Object] restriction_po_box Object to be assigned
281
+ def restriction_po_box=(restriction_po_box)
282
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
283
+ unless validator.valid?(restriction_po_box)
284
+ fail ArgumentError, 'invalid value for "restriction_po_box", must be one of #{validator.allowable_values}.'
285
+ end
286
+ @restriction_po_box = restriction_po_box
287
+ end
288
+
289
+ # Custom attribute writer method checking allowed values (enum).
290
+ # @param [Object] restriction_puerto_rico Object to be assigned
291
+ def restriction_puerto_rico=(restriction_puerto_rico)
292
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
293
+ unless validator.valid?(restriction_puerto_rico)
294
+ fail ArgumentError, 'invalid value for "restriction_puerto_rico", must be one of #{validator.allowable_values}.'
295
+ end
296
+ @restriction_puerto_rico = restriction_puerto_rico
297
+ end
298
+
299
+ # Custom attribute writer method checking allowed values (enum).
300
+ # @param [Object] restriction_us_territories Object to be assigned
301
+ def restriction_us_territories=(restriction_us_territories)
302
+ validator = EnumAttributeValidator.new('String', ['invalid', 'invalidOnly', 'valid'])
303
+ unless validator.valid?(restriction_us_territories)
304
+ fail ArgumentError, 'invalid value for "restriction_us_territories", must be one of #{validator.allowable_values}.'
305
+ end
306
+ @restriction_us_territories = restriction_us_territories
307
+ end
308
+
179
309
  # Checks equality by comparing each attribute.
180
310
  # @param [Object] Object to be compared
181
311
  def ==(o)
@@ -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.1'
14
+ VERSION = '3.6.1'
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.1
4
+ version: 3.6.1
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-11 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