Class: Sentdm::Models::BrandBusinessInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::BrandBusinessInfo
- 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
-
#city ⇒ String?
City.
-
#country ⇒ String?
Country code (e.g., US, CA).
-
#country_of_registration ⇒ String?
Country where the business is registered.
- #entity_type ⇒ Symbol, ...
-
#legal_name ⇒ String?
Legal business name.
-
#postal_code ⇒ String?
Postal/ZIP code.
-
#state ⇒ String?
State/province code.
-
#street ⇒ String?
Street address.
-
#tax_id ⇒ String?
Tax ID/EIN number.
-
#tax_id_type ⇒ String?
Type of tax ID (e.g., us_ein, ca_bn).
-
#url ⇒ String?
Business website URL.
Instance Method Summary collapse
-
#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
constructor
Business details and address for brand KYC.
- #to_hash ⇒ {
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
|
|
# File 'lib/sentdm/models/brand_business_info.rb', line 74
|
Instance Attribute Details
#city ⇒ String?
City
10 |
# File 'lib/sentdm/models/brand_business_info.rb', line 10 optional :city, String, nil?: true |
#country ⇒ String?
Country code (e.g., US, CA)
16 |
# File 'lib/sentdm/models/brand_business_info.rb', line 16 optional :country, String, nil?: true |
#country_of_registration ⇒ String?
Country where the business is registered
22 |
# File 'lib/sentdm/models/brand_business_info.rb', line 22 optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true |
#entity_type ⇒ Symbol, ...
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_name ⇒ String?
Legal business name
36 |
# File 'lib/sentdm/models/brand_business_info.rb', line 36 optional :legal_name, String, api_name: :legalName, nil?: true |
#postal_code ⇒ String?
Postal/ZIP code
42 |
# File 'lib/sentdm/models/brand_business_info.rb', line 42 optional :postal_code, String, api_name: :postalCode, nil?: true |
#state ⇒ String?
State/province code
48 |
# File 'lib/sentdm/models/brand_business_info.rb', line 48 optional :state, String, nil?: true |
#street ⇒ String?
Street address
54 |
# File 'lib/sentdm/models/brand_business_info.rb', line 54 optional :street, String, nil?: true |
#tax_id ⇒ String?
Tax ID/EIN number
60 |
# File 'lib/sentdm/models/brand_business_info.rb', line 60 optional :tax_id, String, api_name: :taxId, nil?: true |
#tax_id_type ⇒ String?
Type of tax ID (e.g., us_ein, ca_bn)
66 |
# File 'lib/sentdm/models/brand_business_info.rb', line 66 optional :tax_id_type, String, api_name: :taxIdType, nil?: true |
#url ⇒ String?
Business website URL
72 |
# File 'lib/sentdm/models/brand_business_info.rb', line 72 optional :url, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
55 |
# File 'sig/sentdm/models/brand_business_info.rbs', line 55
def to_hash: -> {
|