Class: Increase::Models::EntityCreateParams::Trust

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

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(country: , expiration_date: , file_id: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport for more details.

Information about the passport used for identification. Required if ‘method` is equal to `passport`.

Parameters:

  • country (String) (defaults to: )

    The two-character ISO 3166-1 code representing the country that issued the passp

  • expiration_date (Date) (defaults to: )

    The passport’s expiration date in YYYY-MM-DD format.

  • file_id (String) (defaults to: )

    The identifier of the File containing the passport.



# File 'lib/increase/models/entity_create_params.rb', line 1604

Instance Attribute Details

#addressIncrease::Models::EntityCreateParams::Trust::Address

The trust’s physical address. Mail receiving locations like PO Boxes and PMB’s are disallowed.



1556
# File 'lib/increase/models/entity_create_params.rb', line 1556

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

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

Whether the trust is ‘revocable` or `irrevocable`. Irrevocable trusts require their own Employer Identification Number. Revocable trusts require information about the individual `grantor` who created the trust.



1564
# File 'lib/increase/models/entity_create_params.rb', line 1564

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

#formation_document_file_idString?

The identifier of the File containing the formation document of the trust.

Returns:

  • (String, nil)


1582
# File 'lib/increase/models/entity_create_params.rb', line 1582

optional :formation_document_file_id, String

#formation_stateString?

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

Returns:

  • (String, nil)


1589
# File 'lib/increase/models/entity_create_params.rb', line 1589

optional :formation_state, String

#grantorIncrease::Models::EntityCreateParams::Trust::Grantor?

The grantor of the trust. Required if ‘category` is equal to `revocable`.



1595
# File 'lib/increase/models/entity_create_params.rb', line 1595

optional :grantor, -> { Increase::EntityCreateParams::Trust::Grantor }

#nameString

The legal name of the trust.

Returns:

  • (String)


1570
# File 'lib/increase/models/entity_create_params.rb', line 1570

required :name, String

#tax_identifierString?

The Employer Identification Number (EIN) for the trust. Required if ‘category` is equal to `irrevocable`.

Returns:

  • (String, nil)


1602
# File 'lib/increase/models/entity_create_params.rb', line 1602

optional :tax_identifier, String

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

The trustees of the trust.



1576
# File 'lib/increase/models/entity_create_params.rb', line 1576

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/entity_create_params.rb', line 1692