Class: Increase::Models::BeneficialOwnerCreateParams::Individual::Identification::Passport

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

Overview

See Also:

  • Increase::Models::BeneficialOwnerCreateParams::Individual::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



289
# File 'sig/increase/models/beneficial_owner_create_params.rbs', line 289

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)


346
# File 'lib/increase/models/beneficial_owner_create_params.rb', line 346

required :country, String

#expiration_dateDate

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

Parameters:

  • value (Date)

Returns:

  • (Date)


352
# File 'lib/increase/models/beneficial_owner_create_params.rb', line 352

required :expiration_date, Date

#file_idString

The identifier of the File containing the passport.

Parameters:

  • value (String)

Returns:

  • (String)


358
# File 'lib/increase/models/beneficial_owner_create_params.rb', line 358

required :file_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


295
# File 'sig/increase/models/beneficial_owner_create_params.rbs', line 295

def to_hash: -> {