Module: Straddle::Models::ComplianceProfile

Extended by:
Internal::Type::Union
Defined in:
lib/straddle/models/compliance_profile.rb,
sig/straddle/models/compliance_profile.rbs

Defined Under Namespace

Classes: BusinessComplianceProfile, IndividualComplianceProfile

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(Straddle::Models::ComplianceProfile::IndividualComplianceProfile, Straddle::Models::ComplianceProfile::BusinessComplianceProfile)



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

Instance Method Details

#initialize(dob:, ssn:) ⇒ Object

Parameters:

  • dob (String, nil) —

    Masked date of birth in ****-**-** format.

  • ssn (String, nil) —

    Masked Social Security number in ***-**-**** format.



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

#self?.variants ⇒ ::Array[Straddle::Models::compliance_profile]

Returns:

  • (::Array[Straddle::Models::compliance_profile])


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

def self?.variants: -> ::Array[Straddle::Models::compliance_profile]