Class: Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification

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

Overview

See Also:

Defined Under Namespace

Modules: Method Classes: DriversLicense, Other, Passport

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: , description: , file_id: , back_file_id: nil, expiration_date: nil) ⇒ Object

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

Information about the identification document provided. Required if ‘method` is equal to `other`.

Parameters:

  • country (String) (defaults to: )

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

  • description (String) (defaults to: )

    A description of the document submitted.

  • file_id (String) (defaults to: )

    The identifier of the File containing the front of the document.

  • back_file_id (String) (defaults to: nil)

    The identifier of the File containing the back of the document. Not every docume

  • expiration_date (Date) (defaults to: nil)

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



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

Instance Attribute Details

#drivers_licenseIncrease::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense?

Information about the United States driver’s license used for identification. Required if ‘method` is equal to `drivers_license`.



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

optional :drivers_license,
-> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense }

#method_Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Method

A method that can be used to verify the individual’s identity.



1843
1844
1845
1846
1847
# File 'lib/increase/models/entity_create_params.rb', line 1843

required :method_,
enum: -> {
  Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Method
},
api_name: :method

#numberString

An identification number that can be used to verify the individual’s identity, such as a social security number.

Returns:

  • (String)


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

required :number, String

#otherIncrease::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Other?

Information about the identification document provided. Required if ‘method` is equal to `other`.



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

optional :other, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other }

#passportIncrease::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport?

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



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

optional :passport,
-> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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