Class: Straddle::Models::ComplianceProfile::BusinessComplianceProfile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::ComplianceProfile::BusinessComplianceProfile
- Defined in:
- lib/straddle/models/compliance_profile.rb,
sig/straddle/models/compliance_profile.rbs
Instance Attribute Summary collapse
-
#ein ⇒ String?
Masked Employer Identification Number in
**-*******format. -
#legal_business_name ⇒ String?
Official registered business name associated with
ein. -
#representatives ⇒ Array<Straddle::Models::BusinessCustomerRepresentative>?
Representatives associated with the business.
-
#website ⇒ String?
Official business website URL.
Instance Method Summary collapse
-
#initialize(ein:, legal_business_name:, representatives: nil, website: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BusinessComplianceProfile for more details.
- #to_hash ⇒ {
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.
|
|
# File 'lib/straddle/models/compliance_profile.rb', line 59
|
Instance Attribute Details
#ein ⇒ String?
Masked Employer Identification Number in **-******* format.
36 |
# File 'lib/straddle/models/compliance_profile.rb', line 36 required :ein, String, nil?: true |
#legal_business_name ⇒ String?
Official registered business name associated with ein.
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.
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.
57 |
# File 'lib/straddle/models/compliance_profile.rb', line 57 optional :website, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
46 |
# File 'sig/straddle/models/compliance_profile.rbs', line 46
def to_hash: -> {
|