ultracart_api 4.1.126 → 4.1.128

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: f16d8b969f1eb1c7ccfe9baee0946bfb030fedc887212dc9cb776136b4bf85d5
4
- data.tar.gz: 15f0b04548a750b0c2f9da148b06144b9e6fc972855173f7d72490edfe7dc68f
3
+ metadata.gz: 9ca18fc5f87eeb12f368a721f009d50ab0d95962963fe199682a510096c45c6f
4
+ data.tar.gz: bdfdcd7102ac34adb6d98ca45b278820ab2c737b56a48333a9a2fbdc051a9107
5
5
  SHA512:
6
- metadata.gz: 360aa8d122c018e520d78b30122f6f3ca3ae0f28eaa3d671e77bccba8da9f039fd4bf716a324e35659c0ae432f9a383676873cea86431ccce3dfd244337b45bd
7
- data.tar.gz: 419192f57240ea73cc700de7bd00dc28b5da64cbac54ab445cbed0807740a744673a51aefa54ccef9a40cf6cdecc62b242ece1060a8f28b4647e03cf259e7f6d
6
+ metadata.gz: 112999172c3f38ca9a4f9ae1a2bfa2cecc55807b45fb4636b60f33439c3677f6ee12f6482175711aa11ce4b7e25a3e5af8d405e6f8a6e3a67705f9aa3b85e096
7
+ data.tar.gz: 176822981446343645eb53d4b54883a25a762fc048dd614bcd53a423dc6ab31aec7d7d4f46dd4e878b82ca3b173a86849196c482f4e73033b36290c2537c06df
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.126
10
+ - Package version: 4.1.128
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.126'
19
+ gem 'ultracart_api', '4.1.128'
20
20
  ```
21
21
 
22
22
  install:
@@ -1784,8 +1784,6 @@ Class | Method | HTTP request | Description
1784
1784
  - auto_order_write: Allows you to write auto order information.
1785
1785
  - channel_partner_read: Allows you to read channel partner information.
1786
1786
  - channel_partner_write: Allows you to write channel partner information.
1787
- - chargeback_read: Allows you to read chargeback information.
1788
- - chargeback_write: Allows you to write chargeback information.
1789
1787
  - checkout_read: Allows you to read checkout information.
1790
1788
  - checkout_write: Allows you to write checkout information.
1791
1789
  - configuration_read: Allows you to read configuration information.
@@ -1836,6 +1834,8 @@ Not every change is committed to every SDK.
1836
1834
 
1837
1835
  | Version | Date | Comments |
1838
1836
  | --: | :-: | --- |
1837
+ | 4.1.128 | 08/13/2026 | channel partner - added arbitrary discount to ChannelPartnerOrder |
1838
+ | 4.1.127 | 08/13/2026 | added arbitrary discounts to order creation for historical imports |
1839
1839
  | 4.1.126 | 08/10/2026 | oauth - add /oauth/me method to assist application in indentifying the connected account |
1840
1840
  | 4.1.125 | 08/06/2026 | order api - ability to query by bin and last 4 in unlimited scenarios for chargeback order association |
1841
1841
  | 4.1.124 | 08/04/2026 | customer - method to remove customer profile from email suppression |
@@ -8,9 +8,11 @@
8
8
  | **affiliate_id** | **String** | Affiliate Id | [optional] |
9
9
  | **affiliate_sub_id** | **String** | Affiliate Sub Id | [optional] |
10
10
  | **arbitrary_shipping_handling_total** | **Float** | Arbitrary shipping handling total | [optional] |
11
+ | **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] |
11
12
  | **arbitrary_tax** | **Float** | Arbitrary tax for overriding calculated taxes | [optional] |
12
13
  | **arbitrary_tax_rate** | **Float** | Arbitrary tax rate | [optional] |
13
14
  | **arbitrary_taxable_subtotal** | **Float** | Arbitrary taxable subtotal | [optional] |
15
+ | **arbitrary_taxable_subtotal_discount** | **Float** | Arbitrary taxable subtotal discount. If an arbitrary subtotal discount is supplied without this field, the arbitrary subtotal discount is used for both. | [optional] |
14
16
  | **associate_with_customer_profile_if_present** | **Boolean** | If true any matching customer profile based on email is associated with this order | [optional] |
15
17
  | **auto_approve_purchase_order** | **Boolean** | If true any purchase orders are automatically approved | [optional] |
16
18
  | **billto_address1** | **String** | Billing Address line 1 | [optional] |
@@ -109,9 +111,11 @@ instance = UltracartClient::ChannelPartnerOrder.new(
109
111
  affiliate_id: null,
110
112
  affiliate_sub_id: null,
111
113
  arbitrary_shipping_handling_total: null,
114
+ arbitrary_subtotal_discount: null,
112
115
  arbitrary_tax: null,
113
116
  arbitrary_tax_rate: null,
114
117
  arbitrary_taxable_subtotal: null,
118
+ arbitrary_taxable_subtotal_discount: null,
115
119
  associate_with_customer_profile_if_present: null,
116
120
  auto_approve_purchase_order: null,
117
121
  billto_address1: null,
data/docs/OrderSummary.md CHANGED
@@ -12,6 +12,8 @@
12
12
  | **actual_profit_review** | **Boolean** | Actual profit needs review | [optional] |
13
13
  | **actual_shipping** | [**Currency**](Currency.md) | | [optional] |
14
14
  | **arbitrary_shipping_handling_total** | [**Currency**](Currency.md) | | [optional] |
15
+ | **arbitrary_subtotal_discount** | [**Currency**](Currency.md) | | [optional] |
16
+ | **arbitrary_taxable_subtotal_discount** | [**Currency**](Currency.md) | | [optional] |
15
17
  | **health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional] |
16
18
  | **health_benefit_card_refunded** | [**Currency**](Currency.md) | | [optional] |
17
19
  | **internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional] |
@@ -45,6 +47,8 @@ instance = UltracartClient::OrderSummary.new(
45
47
  actual_profit_review: null,
46
48
  actual_shipping: null,
47
49
  arbitrary_shipping_handling_total: null,
50
+ arbitrary_subtotal_discount: null,
51
+ arbitrary_taxable_subtotal_discount: null,
48
52
  health_benefit_card_amount: null,
49
53
  health_benefit_card_refunded: null,
50
54
  internal_gift_certificate_amount: null,
@@ -27,6 +27,9 @@ module UltracartClient
27
27
  # Arbitrary shipping handling total
28
28
  attr_accessor :arbitrary_shipping_handling_total
29
29
 
30
+ # Arbitrary subtotal discount for overriding the calculated subtotal discount. Send the gross price in the item arbitrary unit cost and the discount here.
31
+ attr_accessor :arbitrary_subtotal_discount
32
+
30
33
  # Arbitrary tax for overriding calculated taxes
31
34
  attr_accessor :arbitrary_tax
32
35
 
@@ -36,6 +39,9 @@ module UltracartClient
36
39
  # Arbitrary taxable subtotal
37
40
  attr_accessor :arbitrary_taxable_subtotal
38
41
 
42
+ # Arbitrary taxable subtotal discount. If an arbitrary subtotal discount is supplied without this field, the arbitrary subtotal discount is used for both.
43
+ attr_accessor :arbitrary_taxable_subtotal_discount
44
+
39
45
  # If true any matching customer profile based on email is associated with this order
40
46
  attr_accessor :associate_with_customer_profile_if_present
41
47
 
@@ -325,9 +331,11 @@ module UltracartClient
325
331
  :'affiliate_id' => :'affiliate_id',
326
332
  :'affiliate_sub_id' => :'affiliate_sub_id',
327
333
  :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
334
+ :'arbitrary_subtotal_discount' => :'arbitrary_subtotal_discount',
328
335
  :'arbitrary_tax' => :'arbitrary_tax',
329
336
  :'arbitrary_tax_rate' => :'arbitrary_tax_rate',
330
337
  :'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
338
+ :'arbitrary_taxable_subtotal_discount' => :'arbitrary_taxable_subtotal_discount',
331
339
  :'associate_with_customer_profile_if_present' => :'associate_with_customer_profile_if_present',
332
340
  :'auto_approve_purchase_order' => :'auto_approve_purchase_order',
333
341
  :'billto_address1' => :'billto_address1',
@@ -430,9 +438,11 @@ module UltracartClient
430
438
  :'affiliate_id' => :'String',
431
439
  :'affiliate_sub_id' => :'String',
432
440
  :'arbitrary_shipping_handling_total' => :'Float',
441
+ :'arbitrary_subtotal_discount' => :'Float',
433
442
  :'arbitrary_tax' => :'Float',
434
443
  :'arbitrary_tax_rate' => :'Float',
435
444
  :'arbitrary_taxable_subtotal' => :'Float',
445
+ :'arbitrary_taxable_subtotal_discount' => :'Float',
436
446
  :'associate_with_customer_profile_if_present' => :'Boolean',
437
447
  :'auto_approve_purchase_order' => :'Boolean',
438
448
  :'billto_address1' => :'String',
@@ -560,6 +570,10 @@ module UltracartClient
560
570
  self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
561
571
  end
562
572
 
573
+ if attributes.key?(:'arbitrary_subtotal_discount')
574
+ self.arbitrary_subtotal_discount = attributes[:'arbitrary_subtotal_discount']
575
+ end
576
+
563
577
  if attributes.key?(:'arbitrary_tax')
564
578
  self.arbitrary_tax = attributes[:'arbitrary_tax']
565
579
  end
@@ -572,6 +586,10 @@ module UltracartClient
572
586
  self.arbitrary_taxable_subtotal = attributes[:'arbitrary_taxable_subtotal']
573
587
  end
574
588
 
589
+ if attributes.key?(:'arbitrary_taxable_subtotal_discount')
590
+ self.arbitrary_taxable_subtotal_discount = attributes[:'arbitrary_taxable_subtotal_discount']
591
+ end
592
+
575
593
  if attributes.key?(:'associate_with_customer_profile_if_present')
576
594
  self.associate_with_customer_profile_if_present = attributes[:'associate_with_customer_profile_if_present']
577
595
  end
@@ -1540,9 +1558,11 @@ module UltracartClient
1540
1558
  affiliate_id == o.affiliate_id &&
1541
1559
  affiliate_sub_id == o.affiliate_sub_id &&
1542
1560
  arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
1561
+ arbitrary_subtotal_discount == o.arbitrary_subtotal_discount &&
1543
1562
  arbitrary_tax == o.arbitrary_tax &&
1544
1563
  arbitrary_tax_rate == o.arbitrary_tax_rate &&
1545
1564
  arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
1565
+ arbitrary_taxable_subtotal_discount == o.arbitrary_taxable_subtotal_discount &&
1546
1566
  associate_with_customer_profile_if_present == o.associate_with_customer_profile_if_present &&
1547
1567
  auto_approve_purchase_order == o.auto_approve_purchase_order &&
1548
1568
  billto_address1 == o.billto_address1 &&
@@ -1641,7 +1661,7 @@ module UltracartClient
1641
1661
  # Calculates hash code according to all attributes.
1642
1662
  # @return [Integer] Hash code
1643
1663
  def hash
1644
- [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, 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_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
1664
+ [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_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
1645
1665
  end
1646
1666
 
1647
1667
  # Builds the object from hash
@@ -33,6 +33,10 @@ module UltracartClient
33
33
 
34
34
  attr_accessor :arbitrary_shipping_handling_total
35
35
 
36
+ attr_accessor :arbitrary_subtotal_discount
37
+
38
+ attr_accessor :arbitrary_taxable_subtotal_discount
39
+
36
40
  attr_accessor :health_benefit_card_amount
37
41
 
38
42
  attr_accessor :health_benefit_card_refunded
@@ -80,6 +84,8 @@ module UltracartClient
80
84
  :'actual_profit_review' => :'actual_profit_review',
81
85
  :'actual_shipping' => :'actual_shipping',
82
86
  :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
87
+ :'arbitrary_subtotal_discount' => :'arbitrary_subtotal_discount',
88
+ :'arbitrary_taxable_subtotal_discount' => :'arbitrary_taxable_subtotal_discount',
83
89
  :'health_benefit_card_amount' => :'health_benefit_card_amount',
84
90
  :'health_benefit_card_refunded' => :'health_benefit_card_refunded',
85
91
  :'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
@@ -117,6 +123,8 @@ module UltracartClient
117
123
  :'actual_profit_review' => :'Boolean',
118
124
  :'actual_shipping' => :'Currency',
119
125
  :'arbitrary_shipping_handling_total' => :'Currency',
126
+ :'arbitrary_subtotal_discount' => :'Currency',
127
+ :'arbitrary_taxable_subtotal_discount' => :'Currency',
120
128
  :'health_benefit_card_amount' => :'Currency',
121
129
  :'health_benefit_card_refunded' => :'Currency',
122
130
  :'internal_gift_certificate_amount' => :'Currency',
@@ -191,6 +199,14 @@ module UltracartClient
191
199
  self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
192
200
  end
193
201
 
202
+ if attributes.key?(:'arbitrary_subtotal_discount')
203
+ self.arbitrary_subtotal_discount = attributes[:'arbitrary_subtotal_discount']
204
+ end
205
+
206
+ if attributes.key?(:'arbitrary_taxable_subtotal_discount')
207
+ self.arbitrary_taxable_subtotal_discount = attributes[:'arbitrary_taxable_subtotal_discount']
208
+ end
209
+
194
210
  if attributes.key?(:'health_benefit_card_amount')
195
211
  self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
196
212
  end
@@ -290,6 +306,8 @@ module UltracartClient
290
306
  actual_profit_review == o.actual_profit_review &&
291
307
  actual_shipping == o.actual_shipping &&
292
308
  arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
309
+ arbitrary_subtotal_discount == o.arbitrary_subtotal_discount &&
310
+ arbitrary_taxable_subtotal_discount == o.arbitrary_taxable_subtotal_discount &&
293
311
  health_benefit_card_amount == o.health_benefit_card_amount &&
294
312
  health_benefit_card_refunded == o.health_benefit_card_refunded &&
295
313
  internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
@@ -319,7 +337,7 @@ module UltracartClient
319
337
  # Calculates hash code according to all attributes.
320
338
  # @return [Integer] Hash code
321
339
  def hash
322
- [actual_fulfillment, actual_other_cost, actual_payment_processing, actual_profit, actual_profit_analyzed, actual_profit_review, actual_shipping, arbitrary_shipping_handling_total, health_benefit_card_amount, health_benefit_card_refunded, internal_gift_certificate_amount, internal_gift_certificate_refunded, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
340
+ [actual_fulfillment, actual_other_cost, actual_payment_processing, actual_profit, actual_profit_analyzed, actual_profit_review, actual_shipping, arbitrary_shipping_handling_total, arbitrary_subtotal_discount, arbitrary_taxable_subtotal_discount, health_benefit_card_amount, health_benefit_card_refunded, internal_gift_certificate_amount, internal_gift_certificate_refunded, other_refunded, shipping_handling_refunded, shipping_handling_total, shipping_handling_total_discount, subtotal, subtotal_discount, subtotal_discount_refunded, subtotal_refunded, tax, tax_refunded, taxable_subtotal, taxable_subtotal_discount, total, total_refunded].hash
323
341
  end
324
342
 
325
343
  # 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.126'
14
+ VERSION = '4.1.128'
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.126
4
+ version: 4.1.128
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-10 00:00:00.000000000 Z
11
+ date: 2026-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus