Class: Yoomoney::Models::PaymentCreateParams::Receiver::ReceiverBankAccount
- Inherits:
-
Receiver
- Object
- Internal::Type::BaseModel
- Receiver
- Yoomoney::Models::PaymentCreateParams::Receiver::ReceiverBankAccount
- Defined in:
- lib/yoomoney/models/payment_create_params.rb,
sig/yoomoney/models/payment_create_params.rbs
Instance Attribute Summary collapse
-
#account_number ⇒ String
Номер банковского счета.
-
#bic ⇒ String
Банковский идентификационный код (БИК) банка.
Attributes inherited from Receiver
Instance Method Summary collapse
-
#initialize ⇒ ReceiverBankAccount
constructor
A new instance of ReceiverBankAccount.
- #to_hash ⇒ { account_number: String, bic: String }
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 ⇒ ReceiverBankAccount
Returns a new instance of ReceiverBankAccount.
491 |
# File 'sig/yoomoney/models/payment_create_params.rbs', line 491
def initialize: (account_number: String, bic: String) -> void
|
Instance Attribute Details
#account_number ⇒ String
Номер банковского счета.
500 |
# File 'lib/yoomoney/models/payment_create_params.rb', line 500 required :account_number, String |
#bic ⇒ String
Банковский идентификационный код (БИК) банка.
506 |
# File 'lib/yoomoney/models/payment_create_params.rb', line 506 required :bic, String |
Instance Method Details
#to_hash ⇒ { account_number: String, bic: String }
493 |
# File 'sig/yoomoney/models/payment_create_params.rbs', line 493
def to_hash: -> { account_number: String, bic: String }
|