Class: Yoomoney::Models::PersonalDataRequest
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::PersonalDataRequest
- Defined in:
- lib/yoomoney/models/personal_data_request.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Hash{Symbol=>String}?
Любые дополнительные данные, которые нужны вам для работы (например, номер заказа).
-
#type ⇒ Symbol, Yoomoney::Models::PersonalDataType
Тип персональных данных.
Instance Method Summary collapse
-
#initialize(type:, metadata: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see PersonalDataRequest for more details.
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(type:, metadata: nil) ⇒ Object
Some parameter documentations has been truncated, see Yoomoney::Models::PersonalDataRequest for more details.
|
|
# File 'lib/yoomoney/models/personal_data_request.rb', line 21
|
Instance Attribute Details
#metadata ⇒ Hash{Symbol=>String}?
Любые дополнительные данные, которые нужны вам для работы (например, номер заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.
19 |
# File 'lib/yoomoney/models/personal_data_request.rb', line 19 optional :metadata, Yoomoney::Internal::Type::HashOf[String] |
#type ⇒ Symbol, Yoomoney::Models::PersonalDataType
Тип персональных данных.
10 |
# File 'lib/yoomoney/models/personal_data_request.rb', line 10 required :type, enum: -> { Yoomoney::PersonalDataType } |