Module: Orb::Models::CustomerCreateParams::TaxConfiguration

Extended by:
Internal::Type::Union
Defined in:
lib/orb/models/customer_create_params.rb,
sig/orb/models/customer_create_params.rbs

Defined Under Namespace

Classes: Anrok, Numeral, Stripe

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(tax_exempt:, automatic_tax_enabled: nil, tax_provider: :anrok) ⇒ Object

Some parameter documentations has been truncated, see Anrok for more details.

Parameters:

  • tax_exempt (Boolean)
  • automatic_tax_enabled (Boolean, nil) (defaults to: nil)

    Whether to automatically calculate tax for this customer. When null, inherits fr

  • tax_provider (Symbol, :anrok) (defaults to: :anrok)


# File 'lib/orb/models/customer_create_params.rb', line 456

#self?.variants::Array[Orb::Models::CustomerCreateParams::tax_configuration]

Returns:

  • (::Array[Orb::Models::CustomerCreateParams::tax_configuration])


295
# File 'sig/orb/models/customer_create_params.rbs', line 295

def self?.variants: -> ::Array[Orb::Models::CustomerCreateParams::tax_configuration]