Class: ModernTreasury::Models::LegalEntityWealthEmploymentDetail

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb

Defined Under Namespace

Modules: EmploymentStatus, IncomeSource, Industry, Occupation, SourceOfFunds, WealthSource

Instance Attribute Summary collapse

Class Method 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(id: , annual_income: , created_at: , discarded_at: , employer_country: , employer_name: , employer_state: , employment_status: , income_country: , income_source: , income_state: , industry: , live_mode: , object: , occupation: , source_of_funds: , updated_at: , wealth_source: ) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::LegalEntityWealthEmploymentDetail for more details.

Parameters:



# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 120

Instance Attribute Details

#annual_incomeInteger?

The annual income of the individual.

Returns:

  • (Integer, nil)


15
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 15

required :annual_income, Integer, nil?: true

#created_atTime

Returns:

  • (Time)


20
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 20

required :created_at, Time

#discarded_atTime?

Returns:

  • (Time, nil)


25
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 25

required :discarded_at, Time, nil?: true

#employer_countryString?

The country in which the employer is located.

Returns:

  • (String, nil)


31
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 31

required :employer_country, String, nil?: true

#employer_nameString?

The name of the employer.

Returns:

  • (String, nil)


37
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 37

required :employer_name, String, nil?: true

#employer_stateString?

The state in which the employer is located.

Returns:

  • (String, nil)


43
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 43

required :employer_state, String, nil?: true

#employment_statusSymbol, ...

The employment status of the individual.



49
50
51
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 49

required :employment_status,
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus },
nil?: true

#idString

Returns:

  • (String)


9
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 9

required :id, String

#income_countryString?

The country in which the individual’s income is earned.

Returns:

  • (String, nil)


57
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 57

required :income_country, String, nil?: true

#income_sourceSymbol, ...

The source of the individual’s income.



63
64
65
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 63

required :income_source,
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource },
nil?: true

#income_stateString?

The state in which the individual’s income is earned.

Returns:

  • (String, nil)


71
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 71

required :income_state, String, nil?: true

#industrySymbol, ...

The industry of the individual.



77
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 77

required :industry, enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::Industry }, nil?: true

#live_modeBoolean

This field will be true if this object exists in the live environment or false if it exists in the test environment.

Returns:

  • (Boolean)


84
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 84

required :live_mode, ModernTreasury::Internal::Type::Boolean

#objectString

Returns:

  • (String)


89
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 89

required :object, String

#occupationSymbol, ...

The occupation of the individual.



95
96
97
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 95

required :occupation,
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation },
nil?: true

#source_of_fundsSymbol, ...

The source of the individual’s funds.



103
104
105
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 103

required :source_of_funds,
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds },
nil?: true

#updated_atTime

Returns:

  • (Time)


110
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 110

required :updated_at, Time

#wealth_sourceSymbol, ...

The source of the individual’s wealth.



116
117
118
# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 116

required :wealth_source,
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb', line 172