ultracart_api 4.1.127 → 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: '08460676e9c199d66136e10351264de997b68df8db29959ccf3aba26b2fe2760'
4
- data.tar.gz: d9bfaebb7453c3fa66412e114499644912e27e9a57d0781efa9d20e50e6c7c59
3
+ metadata.gz: 9ca18fc5f87eeb12f368a721f009d50ab0d95962963fe199682a510096c45c6f
4
+ data.tar.gz: bdfdcd7102ac34adb6d98ca45b278820ab2c737b56a48333a9a2fbdc051a9107
5
5
  SHA512:
6
- metadata.gz: 4a7aaddf46d4adc2db245c572560fb06065d21f45d7035ae28a92dbfab4cc8255fe4ca0c99058f21d85d3dddf378e7a7bc46692e325ed4a8a592bc17b9ffb6c1
7
- data.tar.gz: 73381ec98aa4a285b9f91da2a4a4191533acb094065417b73ae60074fe3606687caf7dbc50313743fbbe5effd65f5229c51b668ee38f3ab6d6e3c314a096a65e
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.127
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.127'
19
+ gem 'ultracart_api', '4.1.128'
20
20
  ```
21
21
 
22
22
  install:
@@ -1834,6 +1834,7 @@ Not every change is committed to every SDK.
1834
1834
 
1835
1835
  | Version | Date | Comments |
1836
1836
  | --: | :-: | --- |
1837
+ | 4.1.128 | 08/13/2026 | channel partner - added arbitrary discount to ChannelPartnerOrder |
1837
1838
  | 4.1.127 | 08/13/2026 | added arbitrary discounts to order creation for historical imports |
1838
1839
  | 4.1.126 | 08/10/2026 | oauth - add /oauth/me method to assist application in indentifying the connected account |
1839
1840
  | 4.1.125 | 08/06/2026 | order api - ability to query by bin and last 4 in unlimited scenarios for chargeback order association |
@@ -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,
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.127'
14
+ VERSION = '4.1.128'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.127
4
+ version: 4.1.128
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart