Module: Yoomoney::Models::Payment::PaymentMethod

Extended by:
Internal::Type::Union
Defined in:
lib/yoomoney/models/payment.rb,
sig/yoomoney/models/payment.rbs

Overview

Способ оплаты.

See Also:

  • Yoomoney::Models::Payment#payment_method

Defined Under Namespace

Classes: PaymentMethodAlfabank, PaymentMethodB2bSberbank, PaymentMethodBankCard, PaymentMethodElectronicCertificate, PaymentMethodMobileBalance, PaymentMethodSberbank, PaymentMethodSbp, PaymentMethodYooMoney

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(bank_id:, bic:) ⇒ Object

Parameters:

  • bank_id (String)
  • bic (String)


# File 'lib/yoomoney/models/payment.rb', line 379

#self?.variants ⇒ ::Array[Yoomoney::Models::Payment::payment_method]

Returns:

  • (::Array[Yoomoney::Models::Payment::payment_method])


629
# File 'sig/yoomoney/models/payment.rbs', line 629

def self?.variants: -> ::Array[Yoomoney::Models::Payment::payment_method]