Class: Increase::Models::EntityCreateParams::NaturalPerson::Identification::Passport

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

Overview

See Also:

  • Increase::Models::EntityCreateParams::NaturalPerson::Identification#passport

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

#initializeObject



1263
# File 'sig/increase/models/entity_create_params.rbs', line 1263

def initialize: (

Instance Attribute Details

#countryString

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

Parameters:

  • value (String)

Returns:

  • (String)


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

required :country, String

#expiration_dateDate

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

Parameters:

  • value (Date)

Returns:

  • (Date)


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

required :expiration_date, Date

#file_idString

The identifier of the File containing the passport.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :file_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


1269
# File 'sig/increase/models/entity_create_params.rbs', line 1269

def to_hash: -> {