@@ -37,6 +37,14 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
3737 # @return [Boolean, nil]
3838 optional :auto_issuance , Orb ::Internal ::Type ::Boolean , nil? : true
3939
40+ # @!attribute automatic_tax_enabled
41+ # Whether automatic tax calculation is enabled for this customer. When null,
42+ # inherits from account-level setting. When true or false, overrides the account
43+ # setting.
44+ #
45+ # @return [Boolean, nil]
46+ optional :automatic_tax_enabled , Orb ::Internal ::Type ::Boolean , nil? : true
47+
4048 # @!attribute billing_address
4149 #
4250 # @return [Orb::Models::AddressInput, nil]
@@ -123,7 +131,7 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
123131
124132 # @!attribute tax_configuration
125133 #
126- # @return [Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, nil]
134+ # @return [Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Anrok, nil]
127135 optional :tax_configuration ,
128136 union : -> { Orb ::CustomerUpdateByExternalIDParams ::TaxConfiguration } ,
129137 nil? : true
@@ -277,7 +285,7 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
277285 # @return [Orb::Models::CustomerTaxID, nil]
278286 optional :tax_id , -> { Orb ::CustomerTaxID } , nil? : true
279287
280- # @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
288+ # @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, automatic_tax_enabled: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
281289 # Some parameter documentations has been truncated, see
282290 # {Orb::Models::CustomerUpdateByExternalIDParams} for more details.
283291 #
@@ -289,6 +297,8 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
289297 #
290298 # @param auto_issuance [Boolean, nil] Used to determine if invoices for this customer will be automatically issued. If
291299 #
300+ # @param automatic_tax_enabled [Boolean, nil] Whether automatic tax calculation is enabled for this customer. When null, inher
301+ #
292302 # @param billing_address [Orb::Models::AddressInput, nil]
293303 #
294304 # @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
@@ -313,7 +323,7 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
313323 #
314324 # @param shipping_address [Orb::Models::AddressInput, nil]
315325 #
316- # @param tax_configuration [Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, nil]
326+ # @param tax_configuration [Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Anrok, nil]
317327 #
318328 # @param tax_id [Orb::Models::CustomerTaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
319329 #
@@ -352,6 +362,8 @@ module TaxConfiguration
352362
353363 variant :numeral , -> { Orb ::CustomerUpdateByExternalIDParams ::TaxConfiguration ::Numeral }
354364
365+ variant :anrok , -> { Orb ::CustomerUpdateByExternalIDParams ::TaxConfiguration ::Anrok }
366+
355367 class Numeral < Orb ::Internal ::Type ::BaseModel
356368 # @!attribute tax_exempt
357369 #
@@ -363,13 +375,57 @@ class Numeral < Orb::Internal::Type::BaseModel
363375 # @return [Symbol, :numeral]
364376 required :tax_provider , const : :numeral
365377
366- # @!method initialize(tax_exempt:, tax_provider: :numeral)
378+ # @!attribute automatic_tax_enabled
379+ # Whether to automatically calculate tax for this customer. When null, inherits
380+ # from account-level setting. When true or false, overrides the account setting.
381+ #
382+ # @return [Boolean, nil]
383+ optional :automatic_tax_enabled , Orb ::Internal ::Type ::Boolean , nil? : true
384+
385+ # @!method initialize(tax_exempt:, automatic_tax_enabled: nil, tax_provider: :numeral)
386+ # Some parameter documentations has been truncated, see
387+ # {Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral} for
388+ # more details.
389+ #
367390 # @param tax_exempt [Boolean]
391+ #
392+ # @param automatic_tax_enabled [Boolean, nil] Whether to automatically calculate tax for this customer. When null, inherits fr
393+ #
368394 # @param tax_provider [Symbol, :numeral]
369395 end
370396
397+ class Anrok < Orb ::Internal ::Type ::BaseModel
398+ # @!attribute tax_exempt
399+ #
400+ # @return [Boolean]
401+ required :tax_exempt , Orb ::Internal ::Type ::Boolean
402+
403+ # @!attribute tax_provider
404+ #
405+ # @return [Symbol, :anrok]
406+ required :tax_provider , const : :anrok
407+
408+ # @!attribute automatic_tax_enabled
409+ # Whether to automatically calculate tax for this customer. When null, inherits
410+ # from account-level setting. When true or false, overrides the account setting.
411+ #
412+ # @return [Boolean, nil]
413+ optional :automatic_tax_enabled , Orb ::Internal ::Type ::Boolean , nil? : true
414+
415+ # @!method initialize(tax_exempt:, automatic_tax_enabled: nil, tax_provider: :anrok)
416+ # Some parameter documentations has been truncated, see
417+ # {Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Anrok} for
418+ # more details.
419+ #
420+ # @param tax_exempt [Boolean]
421+ #
422+ # @param automatic_tax_enabled [Boolean, nil] Whether to automatically calculate tax for this customer. When null, inherits fr
423+ #
424+ # @param tax_provider [Symbol, :anrok]
425+ end
426+
371427 # @!method self.variants
372- # @return [Array(Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral)]
428+ # @return [Array(Orb::Models::NewAvalaraTaxConfiguration, Orb::Models::NewTaxJarConfiguration, Orb::Models::NewSphereConfiguration, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Anrok )]
373429 end
374430 end
375431 end
0 commit comments