Class: Yoomoney::Models::PaymentCreateParams::Receiver::ReceiverDigitalWallet

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 ⇒ ReceiverDigitalWallet

Returns a new instance of ReceiverDigitalWallet.

Parameters:

  • account_number: (String)


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

def initialize: (account_number: String) -> void

Instance Attribute Details

#account_number ⇒ String

Идентификатор электронного кошелька для пополнения.

Parameters:

  • _ (String)

Returns:

  • (String)


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

required :account_number, String

Instance Method Details

#to_hash ⇒ { account_number: String }

Returns:

  • ({ account_number: String })


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

def to_hash: -> { account_number: String }