Class: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo

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

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

Contact information for brand KYC

Parameters:

  • name (String)

    Primary contact name (required)

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

    Business/brand name

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

    Contact email address

  • 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/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb', line 42

Instance Attribute Details

#business_nameString?

Business/brand name

Returns:

  • (String, nil)


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

optional :business_name, String, api_name: :businessName, nil?: true

#emailString?

Contact email address

Returns:

  • (String, nil)


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

optional :email, String, nil?: true

#nameString

Primary contact name (required)

Returns:

  • (String)


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

required :name, String

#phoneString?

Contact phone number in E.164 format

Returns:

  • (String, nil)


28
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb', line 28

optional :phone, String, nil?: true

#phone_country_codeString?

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

Returns:

  • (String, nil)


34
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb', line 34

optional :phone_country_code, String, api_name: :phoneCountryCode, nil?: true

#roleString?

Contact’s role in the business

Returns:

  • (String, nil)


40
# File 'lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb', line 40

optional :role, String, nil?: true