Module: Yoomoney::Models::Payment::Confirmation

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

Overview

Выбранный способ подтверждения платежа.

See Also:

  • Yoomoney::Models::Payment#confirmation

Defined Under Namespace

Classes: ConfirmationEmbedded, ConfirmationMobileApplication, ConfirmationQr, ConfirmationRedirect

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(confirmation_token: nil) ⇒ Object

Parameters:

  • confirmation_token (String) (defaults to: nil) —

    Токен для инициализации платежного виджета ЮKassa.



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

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

Returns:

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


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

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