Class: Straddle::Models::ComplianceProfile::BusinessComplianceProfile

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/straddle/models/compliance_profile.rb,
sig/straddle/models/compliance_profile.rbs

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(ein:, legal_business_name:, representatives: nil, website: nil) ⇒ Object

Some parameter documentations has been truncated, see Straddle::Models::ComplianceProfile::BusinessComplianceProfile for more details.

Parameters:

  • ein (String, nil) —

    Masked Employer Identification Number in **-******* format.

  • legal_business_name (String, nil) —

    Official registered business name associated with ein.

  • representatives (Array<Straddle::Models::BusinessCustomerRepresentative>, nil) (defaults to: nil) —

    Representatives associated with the business. Valid only for business customer

  • website (String, nil) (defaults to: nil) —

    Official business website URL.



# File 'lib/straddle/models/compliance_profile.rb', line 59

Instance Attribute Details

#ein ⇒ String?

Masked Employer Identification Number in **-******* format.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


36
# File 'lib/straddle/models/compliance_profile.rb', line 36

required :ein, String, nil?: true

Official registered business name associated with ein.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


42
# File 'lib/straddle/models/compliance_profile.rb', line 42

required :legal_business_name, String, nil?: true

#representatives ⇒ Array<Straddle::Models::BusinessCustomerRepresentative>?

Representatives associated with the business. Valid only for business customers.

Parameters:

Returns:



49
50
51
# File 'lib/straddle/models/compliance_profile.rb', line 49

optional :representatives,
-> { Straddle::Internal::Type::ArrayOf[Straddle::BusinessCustomerRepresentative] },
nil?: true

#website ⇒ String?

Official business website URL.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


57
# File 'lib/straddle/models/compliance_profile.rb', line 57

optional :website, String, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


46
# File 'sig/straddle/models/compliance_profile.rbs', line 46

def to_hash: -> {