Class: Yoomoney::Models::Payout::Receipt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/yoomoney/models/payout.rb,
sig/yoomoney/models/payout.rbs

Overview

See Also:

  • Yoomoney::Models::Payout#receipt

Instance Attribute Summary collapse

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



233
# File 'sig/yoomoney/models/payout.rbs', line 233

def initialize: (

Instance Attribute Details

#amount ⇒ Yoomoney::Models::MonetaryAmount?



233
# File 'lib/yoomoney/models/payout.rb', line 233

optional :amount, -> { Yoomoney::MonetaryAmount }

#npd_receipt_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


238
# File 'lib/yoomoney/models/payout.rb', line 238

optional :npd_receipt_id, String

#service_name ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


228
# File 'lib/yoomoney/models/payout.rb', line 228

required :service_name, String

#url ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


243
# File 'lib/yoomoney/models/payout.rb', line 243

optional :url, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


240
# File 'sig/yoomoney/models/payout.rbs', line 240

def to_hash: -> {