Class: Sentdm::Models::ProfileDetail::Brand

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

Overview

See Also:

Defined Under Namespace

Modules: IdentityStatus, Status Classes: Business, Compliance, Contact

Instance Attribute Summary collapse

Class Method 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(business_name: nil, email: nil, name: nil, phone: nil, phone_country_code: nil, role: nil) ⇒ Object

Contact information for the brand

Parameters:

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

    Business/brand name

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

    Contact email address

  • name (String) (defaults to: nil)

    Primary contact name

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

    Contact phone number in E.164 format

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

    Contact phone country code (e.g., “1” for US)

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

    Contact’s role in the business



# File 'lib/sentdm/models/profile_detail.rb', line 330

Instance Attribute Details

#businessSentdm::Models::ProfileDetail::Brand::Business?

Business details and address information



258
# File 'lib/sentdm/models/profile_detail.rb', line 258

optional :business, -> { Sentdm::ProfileDetail::Brand::Business }, nil?: true

#complianceSentdm::Models::ProfileDetail::Brand::Compliance?

Compliance and TCR-related information



264
# File 'lib/sentdm/models/profile_detail.rb', line 264

optional :compliance, -> { Sentdm::ProfileDetail::Brand::Compliance }, nil?: true

#contactSentdm::Models::ProfileDetail::Brand::Contact?

Contact information for the brand



270
# File 'lib/sentdm/models/profile_detail.rb', line 270

optional :contact, -> { Sentdm::ProfileDetail::Brand::Contact }, nil?: true

#created_atTime?

When the brand was created

Returns:

  • (Time, nil)


276
# File 'lib/sentdm/models/profile_detail.rb', line 276

optional :created_at, Time

#csp_idString?

CSP (Campaign Service Provider) ID

Returns:

  • (String, nil)


282
# File 'lib/sentdm/models/profile_detail.rb', line 282

optional :csp_id, String, nil?: true

#idString?

Unique identifier for the brand

Returns:

  • (String, nil)


252
# File 'lib/sentdm/models/profile_detail.rb', line 252

optional :id, String

#identity_statusSymbol, ...



287
# File 'lib/sentdm/models/profile_detail.rb', line 287

optional :identity_status, enum: -> { Sentdm::ProfileDetail::Brand::IdentityStatus }, nil?: true

#is_inheritedBoolean?

Whether this brand is inherited from the parent organization

Returns:

  • (Boolean, nil)


293
# File 'lib/sentdm/models/profile_detail.rb', line 293

optional :is_inherited, Sentdm::Internal::Type::Boolean

#statusSymbol, ...



298
# File 'lib/sentdm/models/profile_detail.rb', line 298

optional :status, enum: -> { Sentdm::ProfileDetail::Brand::Status }, nil?: true

#submitted_atTime?

When the brand was submitted to TCR

Returns:

  • (Time, nil)


304
# File 'lib/sentdm/models/profile_detail.rb', line 304

optional :submitted_at, Time, nil?: true

#submitted_to_tcrBoolean?

Whether this brand has been submitted to TCR

Returns:

  • (Boolean, nil)


310
# File 'lib/sentdm/models/profile_detail.rb', line 310

optional :submitted_to_tcr, Sentdm::Internal::Type::Boolean

#tcr_brand_idString?

TCR brand ID (populated after TCR submission)

Returns:

  • (String, nil)


316
# File 'lib/sentdm/models/profile_detail.rb', line 316

optional :tcr_brand_id, String, nil?: true

#universal_einString?

Universal EIN from TCR

Returns:

  • (String, nil)


322
# File 'lib/sentdm/models/profile_detail.rb', line 322

optional :universal_ein, String, nil?: true

#updated_atTime?

When the brand was last updated

Returns:

  • (Time, nil)


328
# File 'lib/sentdm/models/profile_detail.rb', line 328

optional :updated_at, Time, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/sentdm/models/profile_detail.rb', line 587