ultracart_api 4.1.136 → 4.1.137

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: 9ab1f7526673cdcb1a99d61bf3befc9b24ebb910c4fe4917c529a4826a18dbd3
4
- data.tar.gz: 2e63388dec8bcdb0a7bb9abfadebd8dc1048755da6928a27d9b8de5ca2bec676
3
+ metadata.gz: 6f2da3cb02fafad4637149f858467bc2228b34c461fb4b0654013b162be82246
4
+ data.tar.gz: 39e198d4aa711bdaf71f31ec6ff741ca90391d6056e024b17a3949d02833e36d
5
5
  SHA512:
6
- metadata.gz: da5f2c3d2c64a380d5ae5b04dd2c53cad336723e9814751bdb9f02ca73816f2618bfb8f2b2246423cb86918b25c6878a7699294f6a119899b66ac98ee5ae70ad
7
- data.tar.gz: 89747bb0a739ce9dd9006e6c5e25c0763b8f5f9e1bcdcc8677f54b49c480627820b683acba615d86bde23bb1e9a030000406697dd925e21e9ac67e66491e4ab7
6
+ metadata.gz: e963e132476ae07ff106d7e9806c58ebe53295dbca2978f24aabd875bc6ee43f10f09a21251670f972047353e280e4f21f2b68882aee3fdfeabae29b15232cc8
7
+ data.tar.gz: 2df29d14cc0ebb6f7996fece5c86eea318ef302cb9f5d89b44f0dad8fc7258323db50f39ab9619e3802fdb9e077e4c53418b8069dbb6256add4d159f4b15ec86
data/README.md CHANGED
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
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.1.136
10
+ - Package version: 4.1.137
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  - For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
13
13
 
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
16
16
  gemfile:
17
17
 
18
18
  ```shell
19
- gem 'ultracart_api', '4.1.136'
19
+ gem 'ultracart_api', '4.1.137'
20
20
  ```
21
21
 
22
22
  install:
@@ -1841,6 +1841,7 @@ Not every change is committed to every SDK.
1841
1841
 
1842
1842
  | Version | Date | Comments |
1843
1843
  | --: | :-: | --- |
1844
+ | 4.1.137 | 08/24/2026 | order api - arbitrary pricing tier for order creation |
1844
1845
  | 4.1.136 | 08/24/2026 | customer api - adjust method for loyalty points |
1845
1846
  | 4.1.135 | 08/21/2026 | conversation pbx - support send text operation as a menu item froma different phone number |
1846
1847
  | 4.1.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
@@ -7,6 +7,7 @@
7
7
  | **advertising_source** | **String** | advertising_source | [optional] |
8
8
  | **affiliate_id** | **String** | Affiliate Id | [optional] |
9
9
  | **affiliate_sub_id** | **String** | Affiliate Sub Id | [optional] |
10
+ | **arbitrary_pricing_tier_names** | **Array<String>** | Names of pricing tiers to price this order against, without associating a customer profile. An unknown tier name will fail the import. An item that also supplies arbitrary_unit_cost keeps that cost and ignores the tier. If a customer profile is attached to this order during checkout, these tiers are granted to that profile permanently. | [optional] |
10
11
  | **arbitrary_shipping_handling_total** | **Float** | Arbitrary shipping handling total | [optional] |
11
12
  | **arbitrary_subtotal_discount** | **Float** | Arbitrary subtotal discount for overriding the calculated subtotal discount. Send the gross price in the item arbitrary unit cost and the discount here. | [optional] |
12
13
  | **arbitrary_tax** | **Float** | Arbitrary tax for overriding calculated taxes | [optional] |
@@ -111,6 +112,7 @@ instance = UltracartClient::ChannelPartnerOrder.new(
111
112
  advertising_source: null,
112
113
  affiliate_id: null,
113
114
  affiliate_sub_id: null,
115
+ arbitrary_pricing_tier_names: null,
114
116
  arbitrary_shipping_handling_total: null,
115
117
  arbitrary_subtotal_discount: null,
116
118
  arbitrary_tax: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **arbitrary_pricing_tier_names** | **Array<String>** | Names of pricing tiers to price this order against, without associating a customer profile. An unknown tier name will fail the import. An item that also supplies arbitrary_unit_cost keeps that cost and ignores the tier. If a customer profile is attached to this order during checkout, these tiers are granted to that profile permanently. Only applicable on inserting orders. | [optional] |
7
8
  | **auto_approve_purchase_order** | **Boolean** | If true, any purchase order submitted is automatically approved | [optional] |
8
9
  | **channel_partner_code** | **String** | The code of the channel partner | [optional] |
9
10
  | **channel_partner_data** | **String** | Additional data provided by the channel partner, read-only | [optional] |
@@ -23,6 +24,7 @@
23
24
  require 'ultracart_api'
24
25
 
25
26
  instance = UltracartClient::OrderChannelPartner.new(
27
+ arbitrary_pricing_tier_names: null,
26
28
  auto_approve_purchase_order: null,
27
29
  channel_partner_code: null,
28
30
  channel_partner_data: null,
@@ -24,6 +24,9 @@ module UltracartClient
24
24
  # Affiliate Sub Id
25
25
  attr_accessor :affiliate_sub_id
26
26
 
27
+ # Names of pricing tiers to price this order against, without associating a customer profile. An unknown tier name will fail the import. An item that also supplies arbitrary_unit_cost keeps that cost and ignores the tier. If a customer profile is attached to this order during checkout, these tiers are granted to that profile permanently.
28
+ attr_accessor :arbitrary_pricing_tier_names
29
+
27
30
  # Arbitrary shipping handling total
28
31
  attr_accessor :arbitrary_shipping_handling_total
29
32
 
@@ -333,6 +336,7 @@ module UltracartClient
333
336
  :'advertising_source' => :'advertisingSource',
334
337
  :'affiliate_id' => :'affiliate_id',
335
338
  :'affiliate_sub_id' => :'affiliate_sub_id',
339
+ :'arbitrary_pricing_tier_names' => :'arbitrary_pricing_tier_names',
336
340
  :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
337
341
  :'arbitrary_subtotal_discount' => :'arbitrary_subtotal_discount',
338
342
  :'arbitrary_tax' => :'arbitrary_tax',
@@ -441,6 +445,7 @@ module UltracartClient
441
445
  :'advertising_source' => :'String',
442
446
  :'affiliate_id' => :'String',
443
447
  :'affiliate_sub_id' => :'String',
448
+ :'arbitrary_pricing_tier_names' => :'Array<String>',
444
449
  :'arbitrary_shipping_handling_total' => :'Float',
445
450
  :'arbitrary_subtotal_discount' => :'Float',
446
451
  :'arbitrary_tax' => :'Float',
@@ -571,6 +576,12 @@ module UltracartClient
571
576
  self.affiliate_sub_id = attributes[:'affiliate_sub_id']
572
577
  end
573
578
 
579
+ if attributes.key?(:'arbitrary_pricing_tier_names')
580
+ if (value = attributes[:'arbitrary_pricing_tier_names']).is_a?(Array)
581
+ self.arbitrary_pricing_tier_names = value
582
+ end
583
+ end
584
+
574
585
  if attributes.key?(:'arbitrary_shipping_handling_total')
575
586
  self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
576
587
  end
@@ -1566,6 +1577,7 @@ module UltracartClient
1566
1577
  advertising_source == o.advertising_source &&
1567
1578
  affiliate_id == o.affiliate_id &&
1568
1579
  affiliate_sub_id == o.affiliate_sub_id &&
1580
+ arbitrary_pricing_tier_names == o.arbitrary_pricing_tier_names &&
1569
1581
  arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
1570
1582
  arbitrary_subtotal_discount == o.arbitrary_subtotal_discount &&
1571
1583
  arbitrary_tax == o.arbitrary_tax &&
@@ -1671,7 +1683,7 @@ module UltracartClient
1671
1683
  # Calculates hash code according to all attributes.
1672
1684
  # @return [Integer] Hash code
1673
1685
  def hash
1674
- [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_subtotal_discount, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, arbitrary_taxable_subtotal_discount, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, creation_dts, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_auto_order_setup, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, storefront_host_name, tax_county, tax_exempt, transaction, treat_warnings_as_errors, use_prior_payment_information_from_order_id].hash
1686
+ [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_pricing_tier_names, arbitrary_shipping_handling_total, arbitrary_subtotal_discount, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, arbitrary_taxable_subtotal_discount, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, creation_dts, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_auto_order_setup, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, storefront_host_name, tax_county, tax_exempt, transaction, treat_warnings_as_errors, use_prior_payment_information_from_order_id].hash
1675
1687
  end
1676
1688
 
1677
1689
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class OrderChannelPartner
18
+ # Names of pricing tiers to price this order against, without associating a customer profile. An unknown tier name will fail the import. An item that also supplies arbitrary_unit_cost keeps that cost and ignores the tier. If a customer profile is attached to this order during checkout, these tiers are granted to that profile permanently. Only applicable on inserting orders.
19
+ attr_accessor :arbitrary_pricing_tier_names
20
+
18
21
  # If true, any purchase order submitted is automatically approved
19
22
  attr_accessor :auto_approve_purchase_order
20
23
 
@@ -54,6 +57,7 @@ module UltracartClient
54
57
  # Attribute mapping from ruby-style variable name to JSON key.
55
58
  def self.attribute_map
56
59
  {
60
+ :'arbitrary_pricing_tier_names' => :'arbitrary_pricing_tier_names',
57
61
  :'auto_approve_purchase_order' => :'auto_approve_purchase_order',
58
62
  :'channel_partner_code' => :'channel_partner_code',
59
63
  :'channel_partner_data' => :'channel_partner_data',
@@ -77,6 +81,7 @@ module UltracartClient
77
81
  # Attribute type mapping.
78
82
  def self.openapi_types
79
83
  {
84
+ :'arbitrary_pricing_tier_names' => :'Array<String>',
80
85
  :'auto_approve_purchase_order' => :'Boolean',
81
86
  :'channel_partner_code' => :'String',
82
87
  :'channel_partner_data' => :'String',
@@ -113,6 +118,12 @@ module UltracartClient
113
118
  h[k.to_sym] = v
114
119
  }
115
120
 
121
+ if attributes.key?(:'arbitrary_pricing_tier_names')
122
+ if (value = attributes[:'arbitrary_pricing_tier_names']).is_a?(Array)
123
+ self.arbitrary_pricing_tier_names = value
124
+ end
125
+ end
126
+
116
127
  if attributes.key?(:'auto_approve_purchase_order')
117
128
  self.auto_approve_purchase_order = attributes[:'auto_approve_purchase_order']
118
129
  end
@@ -195,6 +206,7 @@ module UltracartClient
195
206
  def ==(o)
196
207
  return true if self.equal?(o)
197
208
  self.class == o.class &&
209
+ arbitrary_pricing_tier_names == o.arbitrary_pricing_tier_names &&
198
210
  auto_approve_purchase_order == o.auto_approve_purchase_order &&
199
211
  channel_partner_code == o.channel_partner_code &&
200
212
  channel_partner_data == o.channel_partner_data &&
@@ -218,7 +230,7 @@ module UltracartClient
218
230
  # Calculates hash code according to all attributes.
219
231
  # @return [Integer] Hash code
220
232
  def hash
221
- [auto_approve_purchase_order, channel_partner_code, channel_partner_data, channel_partner_oid, channel_partner_order_id, ignore_invalid_shipping_method, no_realtime_payment_processing, skip_auto_order_setup, skip_payment_processing, store_completed, store_if_payment_declines, treat_warnings_as_errors].hash
233
+ [arbitrary_pricing_tier_names, auto_approve_purchase_order, channel_partner_code, channel_partner_data, channel_partner_oid, channel_partner_order_id, ignore_invalid_shipping_method, no_realtime_payment_processing, skip_auto_order_setup, skip_payment_processing, store_completed, store_if_payment_declines, treat_warnings_as_errors].hash
222
234
  end
223
235
 
224
236
  # 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.1.136'
14
+ VERSION = '4.1.137'
15
15
  end
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: 4.1.136
4
+ version: 4.1.137
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-24 00:00:00.000000000 Z
11
+ date: 2026-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus