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, 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

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

Parameters:

  • country (String) (defaults to: )

    The country that issued the passport.

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

Instance Attribute Details

#countryString

The country that issued the passport.

Returns:

  • (String)


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

required :country, String

#expiration_dateDate

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

Returns:

  • (Date)


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

required :expiration_date, Date

#file_idString

The identifier of the File containing the passport.

Returns:

  • (String)


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

required :file_id, String