ultracart_api 4.1.114 → 4.1.115

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: '08c6afb937a5afb5cba753c1105196162b81a7f1c77815351821b78867ee9f5e'
4
- data.tar.gz: 68b5757618ce160facd95708ed9ef450f737e5df1f89feb4868d25ff99d1894f
3
+ metadata.gz: e54e2965bb9bef0ee276e83ae191e32c827c8f80559d7c1f75c5acb70ca5bf2d
4
+ data.tar.gz: 2612071a10f78f15d382b03054fa6cd13936f49a833a81d74c72d51890fc2f82
5
5
  SHA512:
6
- metadata.gz: 9763b64c6d42c3023fe05a677aee9490210980032504cca5a1870670a477dd3c9f6940425fe93ad7da519b5bf29100a75c3de1ad60b114e6b8f5969cac4e9c2b
7
- data.tar.gz: 113ca3486001219bf028c31aa52a6e6c95b99e4742f973c3b3f35eac63aceb2562a27797d77f6c39f482fd9d2b8012ff147b8a927c7578e3c06401b6bd0a4efe
6
+ metadata.gz: e1525cd8fd729cefeb30d63e1e912503b294acf284ecd9e4ffe33fb0f0944262b7b0aca1f4314dd9de672feeb18cf6400a5850e6417e2752a17c1f6be74a0a21
7
+ data.tar.gz: 8261657e2ffbaf78c4e85e029c2cd743e7514d0a966d41b5535763505ba4a7d5a1239048d4aaeec5acd2e79870c362e2f159d9e998054a3ca559ea47abdf222e
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.114
10
+ - Package version: 4.1.115
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.114'
19
+ gem 'ultracart_api', '4.1.115'
20
20
  ```
21
21
 
22
22
  install:
@@ -1820,6 +1820,7 @@ Not every change is committed to every SDK.
1820
1820
 
1821
1821
  | Version | Date | Comments |
1822
1822
  | --: | :-: | --- |
1823
+ | 4.1.115 | 07/10/2026 | customer profile birthday |
1823
1824
  | 4.1.114 | 07/08/2026 | tax - anrok tax provider |
1824
1825
  | 4.1.113 | 07/08/2026 | tax - anrok tax provider |
1825
1826
  | 4.1.112 | 07/08/2026 | tax - added anrok tax provider |
data/docs/Customer.md CHANGED
@@ -17,6 +17,7 @@
17
17
  | **auto_approve_purchase_order** | **Boolean** | Auto approve purchase orders by this customer | [optional] |
18
18
  | **automatic_merchant_notes** | **String** | Automatic merchant notes are added to every order placed | [optional] |
19
19
  | **billing** | [**Array<CustomerBilling>**](CustomerBilling.md) | Billing addresses for this customer | [optional] |
20
+ | **birth_date** | **String** | Customer birthday | [optional] |
20
21
  | **business_notes** | **String** | Business notes (internally visible only) | [optional] |
21
22
  | **cards** | [**Array<CustomerCard>**](CustomerCard.md) | Credit Cards for this customer | [optional] |
22
23
  | **cc_emails** | [**Array<CustomerEmail>**](CustomerEmail.md) | Additional emails to CC notification | [optional] |
@@ -50,6 +51,7 @@
50
51
  | **qb_class** | **String** | QuickBooks class to import this customer as | [optional] |
51
52
  | **qb_code** | **String** | QuickBooks name to import this customer as | [optional] |
52
53
  | **qb_tax_exemption_reason_code** | **Integer** | QuickBooks tax exemption reason code | [optional] |
54
+ | **quickbooks_online_customer_id** | **String** | QuickBooks Online customer ID used to lock this customer 1:1 with QuickBooks Online | [optional] |
53
55
  | **quotes** | [**Array<Order>**](Order.md) | Quotes associated with this customer profile | [optional] |
54
56
  | **quotes_summary** | [**CustomerQuotesSummary**](CustomerQuotesSummary.md) | | [optional] |
55
57
  | **referral_source** | **String** | Referral Source specified on the wholesale customer signup form. No other meaning than that signup flow. | [optional] |
@@ -89,6 +91,7 @@ instance = UltracartClient::Customer.new(
89
91
  auto_approve_purchase_order: null,
90
92
  automatic_merchant_notes: null,
91
93
  billing: null,
94
+ birth_date: null,
92
95
  business_notes: null,
93
96
  cards: null,
94
97
  cc_emails: null,
@@ -122,6 +125,7 @@ instance = UltracartClient::Customer.new(
122
125
  qb_class: null,
123
126
  qb_code: null,
124
127
  qb_tax_exemption_reason_code: null,
128
+ quickbooks_online_customer_id: null,
125
129
  quotes: null,
126
130
  quotes_summary: null,
127
131
  referral_source: null,
@@ -53,6 +53,9 @@ module UltracartClient
53
53
  # Billing addresses for this customer
54
54
  attr_accessor :billing
55
55
 
56
+ # Customer birthday
57
+ attr_accessor :birth_date
58
+
56
59
  # Business notes (internally visible only)
57
60
  attr_accessor :business_notes
58
61
 
@@ -148,6 +151,9 @@ module UltracartClient
148
151
  # QuickBooks tax exemption reason code
149
152
  attr_accessor :qb_tax_exemption_reason_code
150
153
 
154
+ # QuickBooks Online customer ID used to lock this customer 1:1 with QuickBooks Online
155
+ attr_accessor :quickbooks_online_customer_id
156
+
151
157
  # Quotes associated with this customer profile
152
158
  attr_accessor :quotes
153
159
 
@@ -218,6 +224,7 @@ module UltracartClient
218
224
  :'auto_approve_purchase_order' => :'auto_approve_purchase_order',
219
225
  :'automatic_merchant_notes' => :'automatic_merchant_notes',
220
226
  :'billing' => :'billing',
227
+ :'birth_date' => :'birth_date',
221
228
  :'business_notes' => :'business_notes',
222
229
  :'cards' => :'cards',
223
230
  :'cc_emails' => :'cc_emails',
@@ -251,6 +258,7 @@ module UltracartClient
251
258
  :'qb_class' => :'qb_class',
252
259
  :'qb_code' => :'qb_code',
253
260
  :'qb_tax_exemption_reason_code' => :'qb_tax_exemption_reason_code',
261
+ :'quickbooks_online_customer_id' => :'quickbooks_online_customer_id',
254
262
  :'quotes' => :'quotes',
255
263
  :'quotes_summary' => :'quotes_summary',
256
264
  :'referral_source' => :'referral_source',
@@ -294,6 +302,7 @@ module UltracartClient
294
302
  :'auto_approve_purchase_order' => :'Boolean',
295
303
  :'automatic_merchant_notes' => :'String',
296
304
  :'billing' => :'Array<CustomerBilling>',
305
+ :'birth_date' => :'String',
297
306
  :'business_notes' => :'String',
298
307
  :'cards' => :'Array<CustomerCard>',
299
308
  :'cc_emails' => :'Array<CustomerEmail>',
@@ -327,6 +336,7 @@ module UltracartClient
327
336
  :'qb_class' => :'String',
328
337
  :'qb_code' => :'String',
329
338
  :'qb_tax_exemption_reason_code' => :'Integer',
339
+ :'quickbooks_online_customer_id' => :'String',
330
340
  :'quotes' => :'Array<Order>',
331
341
  :'quotes_summary' => :'CustomerQuotesSummary',
332
342
  :'referral_source' => :'String',
@@ -426,6 +436,10 @@ module UltracartClient
426
436
  end
427
437
  end
428
438
 
439
+ if attributes.key?(:'birth_date')
440
+ self.birth_date = attributes[:'birth_date']
441
+ end
442
+
429
443
  if attributes.key?(:'business_notes')
430
444
  self.business_notes = attributes[:'business_notes']
431
445
  end
@@ -568,6 +582,10 @@ module UltracartClient
568
582
  self.qb_tax_exemption_reason_code = attributes[:'qb_tax_exemption_reason_code']
569
583
  end
570
584
 
585
+ if attributes.key?(:'quickbooks_online_customer_id')
586
+ self.quickbooks_online_customer_id = attributes[:'quickbooks_online_customer_id']
587
+ end
588
+
571
589
  if attributes.key?(:'quotes')
572
590
  if (value = attributes[:'quotes']).is_a?(Array)
573
591
  self.quotes = value
@@ -685,6 +703,10 @@ module UltracartClient
685
703
  invalid_properties.push('invalid value for "password", the character length must be smaller than or equal to 30.')
686
704
  end
687
705
 
706
+ if !@quickbooks_online_customer_id.nil? && @quickbooks_online_customer_id.to_s.length > 50
707
+ invalid_properties.push('invalid value for "quickbooks_online_customer_id", the character length must be smaller than or equal to 50.')
708
+ end
709
+
688
710
  if !@referral_source.nil? && @referral_source.to_s.length > 50
689
711
  invalid_properties.push('invalid value for "referral_source", the character length must be smaller than or equal to 50.')
690
712
  end
@@ -718,6 +740,7 @@ module UltracartClient
718
740
  return false if !@fedex_account_number.nil? && @fedex_account_number.to_s.length > 20
719
741
  return false if !@last_modified_by.nil? && @last_modified_by.to_s.length > 100
720
742
  return false if !@password.nil? && @password.to_s.length > 30
743
+ return false if !@quickbooks_online_customer_id.nil? && @quickbooks_online_customer_id.to_s.length > 50
721
744
  return false if !@referral_source.nil? && @referral_source.to_s.length > 50
722
745
  return false if !@sales_rep_code.nil? && @sales_rep_code.to_s.length > 10
723
746
  return false if !@tax_id.nil? && @tax_id.to_s.length > 15
@@ -796,6 +819,16 @@ module UltracartClient
796
819
  @password = password
797
820
  end
798
821
 
822
+ # Custom attribute writer method with validation
823
+ # @param [Object] quickbooks_online_customer_id Value to be assigned
824
+ def quickbooks_online_customer_id=(quickbooks_online_customer_id)
825
+ if !quickbooks_online_customer_id.nil? && quickbooks_online_customer_id.to_s.length > 50
826
+ fail ArgumentError, 'invalid value for "quickbooks_online_customer_id", the character length must be smaller than or equal to 50.'
827
+ end
828
+
829
+ @quickbooks_online_customer_id = quickbooks_online_customer_id
830
+ end
831
+
799
832
  # Custom attribute writer method with validation
800
833
  # @param [Object] referral_source Value to be assigned
801
834
  def referral_source=(referral_source)
@@ -864,6 +897,7 @@ module UltracartClient
864
897
  auto_approve_purchase_order == o.auto_approve_purchase_order &&
865
898
  automatic_merchant_notes == o.automatic_merchant_notes &&
866
899
  billing == o.billing &&
900
+ birth_date == o.birth_date &&
867
901
  business_notes == o.business_notes &&
868
902
  cards == o.cards &&
869
903
  cc_emails == o.cc_emails &&
@@ -897,6 +931,7 @@ module UltracartClient
897
931
  qb_class == o.qb_class &&
898
932
  qb_code == o.qb_code &&
899
933
  qb_tax_exemption_reason_code == o.qb_tax_exemption_reason_code &&
934
+ quickbooks_online_customer_id == o.quickbooks_online_customer_id &&
900
935
  quotes == o.quotes &&
901
936
  quotes_summary == o.quotes_summary &&
902
937
  referral_source == o.referral_source &&
@@ -927,7 +962,7 @@ module UltracartClient
927
962
  # Calculates hash code according to all attributes.
928
963
  # @return [Integer] Hash code
929
964
  def hash
930
- [activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, do_not_send_mail, edi, email, exempt_shipping_handling_charge, fax, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
965
+ [activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, birth_date, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, do_not_send_mail, edi, email, exempt_shipping_handling_charge, fax, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quickbooks_online_customer_id, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
931
966
  end
932
967
 
933
968
  # 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.114'
14
+ VERSION = '4.1.115'
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.114
4
+ version: 4.1.115
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-08 00:00:00.000000000 Z
11
+ date: 2026-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus