Class: Increase::Models::EntityCreateParams::Corporation::BeneficialOwner

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

Defined Under Namespace

Modules: Prong Classes: Individual

Instance Attribute 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::Corporation::BeneficialOwner::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 docum

  • 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 286


Instance Attribute Details

#company_titleString?

This person’s role or title within the entity.

Returns:

  • (String, nil)


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

optional :company_title, String

#individualIncrease::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual

Personal details for the beneficial owner.



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

required :individual, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual }

#prongsArray<Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Prong>

Why this person is considered a beneficial owner of the entity. At least one option is required, if a person is both a control person and owner, submit an array containing both.



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

required :prongs,
-> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateParams::Corporation::BeneficialOwner::Prong] }