Class: Sentdm::Models::ProfileUpdateParams::Brand::Business

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_update_params.rb

Overview

See Also:

Defined Under Namespace

Modules: EntityType

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

#initialize(city: nil, country: nil, country_of_registration: nil, entity_type: nil, legal_name: nil, postal_code: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil, url: nil) ⇒ Object

Business details and address for brand KYC

Parameters:

  • city (String, nil) (defaults to: nil)

    City

  • country (String, nil) (defaults to: nil)

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

  • country_of_registration (String, nil) (defaults to: nil)

    Country where the business is registered

  • entity_type (Symbol, Sentdm::Models::ProfileUpdateParams::Brand::Business::EntityType, nil) (defaults to: nil)
  • legal_name (String, nil) (defaults to: nil)

    Legal business name

  • postal_code (String, nil) (defaults to: nil)

    Postal/ZIP code

  • state (String, nil) (defaults to: nil)

    State/province code

  • street (String, nil) (defaults to: nil)

    Street address

  • tax_id (String, nil) (defaults to: nil)

    Tax ID/EIN number

  • tax_id_type (String, nil) (defaults to: nil)

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

  • url (String, nil) (defaults to: nil)

    Business website URL



# File 'lib/sentdm/models/profile_update_params.rb', line 543

Instance Attribute Details

#cityString?

City

Returns:

  • (String, nil)


479
# File 'lib/sentdm/models/profile_update_params.rb', line 479

optional :city, String, nil?: true

#countryString?

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

Returns:

  • (String, nil)


485
# File 'lib/sentdm/models/profile_update_params.rb', line 485

optional :country, String, nil?: true

#country_of_registrationString?

Country where the business is registered

Returns:

  • (String, nil)


491
# File 'lib/sentdm/models/profile_update_params.rb', line 491

optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true

#entity_typeSymbol, ...



496
497
498
499
# File 'lib/sentdm/models/profile_update_params.rb', line 496

optional :entity_type,
enum: -> { Sentdm::ProfileUpdateParams::Brand::Business::EntityType },
api_name: :entityType,
nil?: true

Legal business name

Returns:

  • (String, nil)


505
# File 'lib/sentdm/models/profile_update_params.rb', line 505

optional :legal_name, String, api_name: :legalName, nil?: true

#postal_codeString?

Postal/ZIP code

Returns:

  • (String, nil)


511
# File 'lib/sentdm/models/profile_update_params.rb', line 511

optional :postal_code, String, api_name: :postalCode, nil?: true

#stateString?

State/province code

Returns:

  • (String, nil)


517
# File 'lib/sentdm/models/profile_update_params.rb', line 517

optional :state, String, nil?: true

#streetString?

Street address

Returns:

  • (String, nil)


523
# File 'lib/sentdm/models/profile_update_params.rb', line 523

optional :street, String, nil?: true

#tax_idString?

Tax ID/EIN number

Returns:

  • (String, nil)


529
# File 'lib/sentdm/models/profile_update_params.rb', line 529

optional :tax_id, String, api_name: :taxId, nil?: true

#tax_id_typeString?

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

Returns:

  • (String, nil)


535
# File 'lib/sentdm/models/profile_update_params.rb', line 535

optional :tax_id_type, String, api_name: :taxIdType, nil?: true

#urlString?

Business website URL

Returns:

  • (String, nil)


541
# File 'lib/sentdm/models/profile_update_params.rb', line 541

optional :url, String, nil?: true