Module: Yoomoney::Models::PaymentCreateParams::PaymentMethodData

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

Overview

Данные для оплаты конкретным способом.

Defined Under Namespace

Classes: PaymentMethodDataB2bSberbank, PaymentMethodDataBankCard, PaymentMethodDataCash, PaymentMethodDataElectronicCertificate, PaymentMethodDataMobileBalance, PaymentMethodDataSberbank

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, 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

Class Method Details

.variants ⇒ Array(Yoomoney::Models::B2bSberbankCalculatedVatData, Yoomoney::Models::B2bSberbankUntaxedVatData, Yoomoney::Models::B2bSberbankMixedVatData)



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

Instance Method Details

#initialize(phone: nil) ⇒ Object

Parameters:

  • phone (String) (defaults to: nil)


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

#self?.variants ⇒ ::Array[Yoomoney::Models::PaymentCreateParams::payment_method_data]

Returns:

  • (::Array[Yoomoney::Models::PaymentCreateParams::payment_method_data])


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

def self?.variants: -> ::Array[Yoomoney::Models::PaymentCreateParams::payment_method_data]