Class: Yoomoney::Models::Payment::Confirmation::ConfirmationEmbedded

Inherits:
Confirmation show all
Defined in:
lib/yoomoney/models/payment.rb,
sig/yoomoney/models/payment.rbs

Instance Attribute Summary collapse

Attributes inherited from Confirmation

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

Returns a new instance of ConfirmationEmbedded.

Parameters:



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

def initialize: (?confirmation_token: String) -> void

Instance Attribute Details

#confirmation_token ⇒ String?

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

Parameters:

Returns:



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

optional :confirmation_token, String

Instance Method Details

#to_hash ⇒ { confirmation_token: String }

Returns:



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

def to_hash: -> { confirmation_token: String }