Class: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb

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::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::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/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 76

Instance Attribute Details

#cityString?

City

Returns:

  • (String, nil)


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

optional :city, String, nil?: true

#countryString?

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

Returns:

  • (String, nil)


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

optional :country, String, nil?: true

#country_of_registrationString?

Country where the business is registered

Returns:

  • (String, nil)


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

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

#entity_typeSymbol, ...



27
28
29
30
31
32
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 27

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

Legal business name

Returns:

  • (String, nil)


38
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 38

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

#postal_codeString?

Postal/ZIP code

Returns:

  • (String, nil)


44
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 44

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

#stateString?

State/province code

Returns:

  • (String, nil)


50
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 50

optional :state, String, nil?: true

#streetString?

Street address

Returns:

  • (String, nil)


56
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 56

optional :street, String, nil?: true

#tax_idString?

Tax ID/EIN number

Returns:

  • (String, nil)


62
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 62

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)


68
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 68

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

#urlString?

Business website URL

Returns:

  • (String, nil)


74
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb', line 74

optional :url, String, nil?: true