Class: Yoomoney::Models::PaymentCreateParams::Receiver::ReceiverBankAccount

Inherits:
Receiver show all
Defined in:
lib/yoomoney/models/payment_create_params.rb,
sig/yoomoney/models/payment_create_params.rbs

Instance Attribute Summary collapse

Attributes inherited from Receiver

#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 ⇒ ReceiverBankAccount

Returns a new instance of ReceiverBankAccount.

Parameters:

  • account_number: (String)
  • bic: (String)


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

Номер банковского счета.

Parameters:

  • _ (String)

Returns:

  • (String)


500
# File 'lib/yoomoney/models/payment_create_params.rb', line 500

required :account_number, String

#bic ⇒ String

Банковский идентификационный код (БИК) банка.

Parameters:

  • _ (String)

Returns:

  • (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 }

Returns:

  • ({ account_number: String, bic: String })


493
# File 'sig/yoomoney/models/payment_create_params.rbs', line 493

def to_hash: -> { account_number: String, bic: String }