Class: Sentdm::Models::ProfileDetail::Brand::Business

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_detail.rb,
sig/sentdm/models/profile_detail.rbs

Overview

See Also:

  • Sentdm::Models::ProfileDetail::Brand#business

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initializeObject



315
# File 'sig/sentdm/models/profile_detail.rbs', line 315

def initialize: (

Instance Attribute Details

#cityString?

City

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


368
# File 'lib/sentdm/models/profile_detail.rb', line 368

optional :city, String, nil?: true

#countryString?

Country code (e.g., US, CA)

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


374
# File 'lib/sentdm/models/profile_detail.rb', line 374

optional :country, String, nil?: true

#country_of_registrationString?

Country where the business is registered

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


380
# File 'lib/sentdm/models/profile_detail.rb', line 380

optional :country_of_registration, String, nil?: true

#entity_typeString?

Business entity type

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


386
# File 'lib/sentdm/models/profile_detail.rb', line 386

optional :entity_type, String, nil?: true

Legal business name

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


392
# File 'lib/sentdm/models/profile_detail.rb', line 392

optional :legal_name, String, nil?: true

#postal_codeString?

Postal/ZIP code

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


398
# File 'lib/sentdm/models/profile_detail.rb', line 398

optional :postal_code, String, nil?: true

#stateString?

State/province code

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


404
# File 'lib/sentdm/models/profile_detail.rb', line 404

optional :state, String, nil?: true

#streetString?

Street address

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


410
# File 'lib/sentdm/models/profile_detail.rb', line 410

optional :street, String, nil?: true

#tax_idString?

Tax ID/EIN number

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


416
# File 'lib/sentdm/models/profile_detail.rb', line 416

optional :tax_id, String, nil?: true

#tax_id_typeString?

Type of tax ID (e.g., us_ein, ca_bn)

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


422
# File 'lib/sentdm/models/profile_detail.rb', line 422

optional :tax_id_type, String, nil?: true

#urlString?

Business website URL

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


428
# File 'lib/sentdm/models/profile_detail.rb', line 428

optional :url, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


329
# File 'sig/sentdm/models/profile_detail.rbs', line 329

def to_hash: -> {