Class: Increase::Models::Entity::Trust

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/entity.rb

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: Address, Grantor, Trustee

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(city: , line1: , line2: , state: , zip: ) ⇒ Object

Some parameter documentations has been truncated, see Address for more details.

The trust’s address.

Parameters:

  • city (String) (defaults to: )

    The city of the address.

  • line1 (String) (defaults to: )

    The first line of the address.

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

    The second line of the address.

  • state (String) (defaults to: )

    The two-letter United States Postal Service (USPS) abbreviation for the state of

  • zip (String) (defaults to: )

    The ZIP code of the address.



# File 'lib/increase/models/entity.rb', line 1116


Instance Attribute Details

#addressIncrease::Models::Entity::Trust::Address

The trust’s address.



1071
# File 'lib/increase/models/entity.rb', line 1071

required :address, -> { Increase::Entity::Trust::Address }

#categorySymbol, Increase::Models::Entity::Trust::Category

Whether the trust is ‘revocable` or `irrevocable`.



1077
# File 'lib/increase/models/entity.rb', line 1077

required :category, enum: -> { Increase::Entity::Trust::Category }

#formation_document_file_idString?

The ID for the File containing the formation document of the trust.

Returns:

  • (String, nil)


1083
# File 'lib/increase/models/entity.rb', line 1083

required :formation_document_file_id, String, nil?: true

#formation_stateString?

The two-letter United States Postal Service (USPS) abbreviation for the state in which the trust was formed.

Returns:

  • (String, nil)


1090
# File 'lib/increase/models/entity.rb', line 1090

required :formation_state, String, nil?: true

#grantorIncrease::Models::Entity::Trust::Grantor?

The grantor of the trust. Will be present if the ‘category` is `revocable`.



1096
# File 'lib/increase/models/entity.rb', line 1096

required :grantor, -> { Increase::Entity::Trust::Grantor }, nil?: true

#nameString

The trust’s name.

Returns:

  • (String)


1102
# File 'lib/increase/models/entity.rb', line 1102

required :name, String

#tax_identifierString?

The Employer Identification Number (EIN) of the trust itself.

Returns:

  • (String, nil)


1108
# File 'lib/increase/models/entity.rb', line 1108

required :tax_identifier, String, nil?: true

#trusteesArray<Increase::Models::Entity::Trust::Trustee>

The trustees of the trust.



1114
# File 'lib/increase/models/entity.rb', line 1114

required :trustees, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Trust::Trustee] }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/entity.rb', line 1200