Class: Yoomoney::Models::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest

Inherits:
Yoomoney::Models::PersonalDataRequest show all
Defined in:
lib/yoomoney/models/personal_data_create_params.rb

Instance Attribute Summary collapse

Attributes inherited from Yoomoney::Models::PersonalDataRequest

#metadata, #type

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(first_name:, last_name:, middle_name: nil) ⇒ Object

Parameters:

  • first_name (String)

    Имя.

  • last_name (String)

    Фамилия.

  • middle_name (String) (defaults to: nil)

    Отчество.



# File 'lib/yoomoney/models/personal_data_create_params.rb', line 78

Instance Attribute Details

#first_nameString

Имя.

Returns:

  • (String)


64
# File 'lib/yoomoney/models/personal_data_create_params.rb', line 64

required :first_name, String

#last_nameString

Фамилия.

Returns:

  • (String)


70
# File 'lib/yoomoney/models/personal_data_create_params.rb', line 70

required :last_name, String

#middle_nameString?

Отчество.

Returns:

  • (String, nil)


76
# File 'lib/yoomoney/models/personal_data_create_params.rb', line 76

optional :middle_name, String