Class: Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Passport

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

Overview

See Also:

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::Trust::Grantor::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 2350

Instance Attribute Details

#countryString

The two-character ISO 3166-1 code representing the country that issued the passport (e.g., ‘US`).

Returns:

  • (String)


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

required :country, String

#expiration_dateDate

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

Returns:

  • (Date)


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

required :expiration_date, Date

#file_idString

The identifier of the File containing the passport.

Returns:

  • (String)


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

required :file_id, String