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

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

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Sentdm::Internal::Type::BaseModel

Instance Attribute Details

#business_nameString?

Business/brand name

Returns:

  • (String, nil)


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

optional :business_name, String, nil?: true

#emailString?

Contact email address

Returns:

  • (String, nil)


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

optional :email, String, nil?: true

#nameString?

Primary contact name

Returns:

  • (String, nil)


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

optional :name, String

#phoneString?

Contact phone number in E.164 format

Returns:

  • (String, nil)


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

optional :phone, String, nil?: true

#phone_country_codeString?

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

Returns:

  • (String, nil)


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

optional :phone_country_code, String, nil?: true

#roleString?

Contact’s role in the business

Returns:

  • (String, nil)


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

optional :role, String, nil?: true