Class: Sentdm::Models::BrandData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::BrandData
- Defined in:
- lib/sentdm/models/brand_data.rb
Defined Under Namespace
Modules: EntityType
Instance Attribute Summary collapse
-
#brand_name ⇒ String?
Brand name for KYC submission.
-
#brand_relationship ⇒ Symbol, Sentdm::Models::TcrBrandRelationship
Brand relationship level with TCR (required for TCR).
-
#business_legal_name ⇒ String?
Legal business name.
-
#business_name ⇒ String?
Business/brand name.
-
#business_role ⇒ String?
Contact’s role in the business.
-
#business_url ⇒ String?
Business website URL.
-
#city ⇒ String?
City.
-
#contact_email ⇒ String?
Contact email address.
-
#contact_name ⇒ String
Primary contact name (required).
-
#contact_phone ⇒ String?
Contact phone number in E.164 format.
-
#contact_phone_country_code ⇒ String?
Contact phone country code (e.g., “1” for US).
-
#country ⇒ String?
Country code (e.g., US, CA).
-
#country_of_registration ⇒ String?
Country where the business is registered.
-
#destination_countries ⇒ Array<Sentdm::Models::DestinationCountry>?
List of destination countries for messaging.
-
#entity_type ⇒ Symbol, ...
Business entity type.
-
#expected_messaging_volume ⇒ String?
Expected daily messaging volume.
-
#is_tcr_application ⇒ Boolean?
Whether this is a TCR (Campaign Registry) application.
-
#notes ⇒ String?
Additional notes about the business or use case.
-
#phone_number_prefix ⇒ String?
Phone number prefix for messaging (e.g., “+1”).
-
#postal_code ⇒ String?
Postal/ZIP code.
-
#primary_use_case ⇒ String?
Primary messaging use case description.
-
#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).
-
#vertical ⇒ Symbol, Sentdm::Models::TcrVertical
Business vertical/industry category (required for TCR).
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(brand_relationship:, contact_name:, vertical:, brand_name: nil, business_legal_name: nil, business_name: nil, business_role: nil, business_url: nil, city: nil, contact_email: nil, contact_phone: nil, contact_phone_country_code: nil, country: nil, country_of_registration: nil, destination_countries: nil, entity_type: nil, expected_messaging_volume: nil, is_tcr_application: nil, notes: nil, phone_number_prefix: nil, postal_code: nil, primary_use_case: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil) ⇒ Object
Brand and KYC data
|
|
# File 'lib/sentdm/models/brand_data.rb', line 165
|
Instance Attribute Details
#brand_name ⇒ String?
Brand name for KYC submission
28 |
# File 'lib/sentdm/models/brand_data.rb', line 28 optional :brand_name, String, api_name: :brandName, nil?: true |
#brand_relationship ⇒ Symbol, Sentdm::Models::TcrBrandRelationship
Brand relationship level with TCR (required for TCR)
10 |
# File 'lib/sentdm/models/brand_data.rb', line 10 required :brand_relationship, enum: -> { Sentdm::TcrBrandRelationship }, api_name: :brandRelationship |
#business_legal_name ⇒ String?
Legal business name
34 |
# File 'lib/sentdm/models/brand_data.rb', line 34 optional :business_legal_name, String, api_name: :businessLegalName, nil?: true |
#business_name ⇒ String?
Business/brand name
40 |
# File 'lib/sentdm/models/brand_data.rb', line 40 optional :business_name, String, api_name: :businessName, nil?: true |
#business_role ⇒ String?
Contact’s role in the business
46 |
# File 'lib/sentdm/models/brand_data.rb', line 46 optional :business_role, String, api_name: :businessRole, nil?: true |
#business_url ⇒ String?
Business website URL
52 |
# File 'lib/sentdm/models/brand_data.rb', line 52 optional :business_url, String, api_name: :businessUrl, nil?: true |
#city ⇒ String?
City
58 |
# File 'lib/sentdm/models/brand_data.rb', line 58 optional :city, String, nil?: true |
#contact_email ⇒ String?
Contact email address
64 |
# File 'lib/sentdm/models/brand_data.rb', line 64 optional :contact_email, String, api_name: :contactEmail, nil?: true |
#contact_name ⇒ String
Primary contact name (required)
16 |
# File 'lib/sentdm/models/brand_data.rb', line 16 required :contact_name, String, api_name: :contactName |
#contact_phone ⇒ String?
Contact phone number in E.164 format
70 |
# File 'lib/sentdm/models/brand_data.rb', line 70 optional :contact_phone, String, api_name: :contactPhone, nil?: true |
#contact_phone_country_code ⇒ String?
Contact phone country code (e.g., “1” for US)
76 |
# File 'lib/sentdm/models/brand_data.rb', line 76 optional :contact_phone_country_code, String, api_name: :contactPhoneCountryCode, nil?: true |
#country ⇒ String?
Country code (e.g., US, CA)
82 |
# File 'lib/sentdm/models/brand_data.rb', line 82 optional :country, String, nil?: true |
#country_of_registration ⇒ String?
Country where the business is registered
88 |
# File 'lib/sentdm/models/brand_data.rb', line 88 optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true |
#destination_countries ⇒ Array<Sentdm::Models::DestinationCountry>?
List of destination countries for messaging
94 95 96 97 |
# File 'lib/sentdm/models/brand_data.rb', line 94 optional :destination_countries, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::DestinationCountry] }, api_name: :destinationCountries, nil?: true |
#entity_type ⇒ Symbol, ...
Business entity type
103 |
# File 'lib/sentdm/models/brand_data.rb', line 103 optional :entity_type, enum: -> { Sentdm::BrandData::EntityType }, api_name: :entityType, nil?: true |
#expected_messaging_volume ⇒ String?
Expected daily messaging volume
109 |
# File 'lib/sentdm/models/brand_data.rb', line 109 optional :expected_messaging_volume, String, api_name: :expectedMessagingVolume, nil?: true |
#is_tcr_application ⇒ Boolean?
Whether this is a TCR (Campaign Registry) application
115 |
# File 'lib/sentdm/models/brand_data.rb', line 115 optional :is_tcr_application, Sentdm::Internal::Type::Boolean, api_name: :isTcrApplication, nil?: true |
#notes ⇒ String?
Additional notes about the business or use case
121 |
# File 'lib/sentdm/models/brand_data.rb', line 121 optional :notes, String, nil?: true |
#phone_number_prefix ⇒ String?
Phone number prefix for messaging (e.g., “+1”)
127 |
# File 'lib/sentdm/models/brand_data.rb', line 127 optional :phone_number_prefix, String, api_name: :phoneNumberPrefix, nil?: true |
#postal_code ⇒ String?
Postal/ZIP code
133 |
# File 'lib/sentdm/models/brand_data.rb', line 133 optional :postal_code, String, api_name: :postalCode, nil?: true |
#primary_use_case ⇒ String?
Primary messaging use case description
139 |
# File 'lib/sentdm/models/brand_data.rb', line 139 optional :primary_use_case, String, api_name: :primaryUseCase, nil?: true |
#state ⇒ String?
State/province code
145 |
# File 'lib/sentdm/models/brand_data.rb', line 145 optional :state, String, nil?: true |
#street ⇒ String?
Street address
151 |
# File 'lib/sentdm/models/brand_data.rb', line 151 optional :street, String, nil?: true |
#tax_id ⇒ String?
Tax ID/EIN number
157 |
# File 'lib/sentdm/models/brand_data.rb', line 157 optional :tax_id, String, api_name: :taxId, nil?: true |
#tax_id_type ⇒ String?
Type of tax ID (e.g., us_ein, ca_bn)
163 |
# File 'lib/sentdm/models/brand_data.rb', line 163 optional :tax_id_type, String, api_name: :taxIdType, nil?: true |
#vertical ⇒ Symbol, Sentdm::Models::TcrVertical
Business vertical/industry category (required for TCR)
22 |
# File 'lib/sentdm/models/brand_data.rb', line 22 required :vertical, enum: -> { Sentdm::TcrVertical } |