Class: Sentdm::Models::BrandBusinessInfo

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

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::BrandBusinessInfo::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/brand_business_info.rb', line 74

Instance Attribute Details

#cityString?

City

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


10
# File 'lib/sentdm/models/brand_business_info.rb', line 10

optional :city, String, nil?: true

#countryString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


16
# File 'lib/sentdm/models/brand_business_info.rb', line 16

optional :country, String, nil?: true

#country_of_registrationString?

Country where the business is registered

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


22
# File 'lib/sentdm/models/brand_business_info.rb', line 22

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

#entity_typeSymbol, ...

Parameters:

  • value (Sentdm::Models::BrandBusinessInfo::entity_type, nil)

Returns:



27
28
29
30
# File 'lib/sentdm/models/brand_business_info.rb', line 27

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

Legal business name

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


36
# File 'lib/sentdm/models/brand_business_info.rb', line 36

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

#postal_codeString?

Postal/ZIP code

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


42
# File 'lib/sentdm/models/brand_business_info.rb', line 42

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

#stateString?

State/province code

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


48
# File 'lib/sentdm/models/brand_business_info.rb', line 48

optional :state, String, nil?: true

#streetString?

Street address

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


54
# File 'lib/sentdm/models/brand_business_info.rb', line 54

optional :street, String, nil?: true

#tax_idString?

Tax ID/EIN number

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


60
# File 'lib/sentdm/models/brand_business_info.rb', line 60

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

#tax_id_typeString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


66
# File 'lib/sentdm/models/brand_business_info.rb', line 66

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

#urlString?

Business website URL

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


72
# File 'lib/sentdm/models/brand_business_info.rb', line 72

optional :url, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


55
# File 'sig/sentdm/models/brand_business_info.rbs', line 55

def to_hash: -> {