Class: Yoomoney::Models::PaymentCaptureParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/yoomoney/models/payment_capture_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(idempotence_key:, airline: nil, amount: nil, deal: nil, receipt: nil, transfers: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/yoomoney/models/payment_capture_params.rb', line 45

Instance Attribute Details

#airlineYoomoney::Models::Airline?

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

Returns:



19
# File 'lib/yoomoney/models/payment_capture_params.rb', line 19

optional :airline, -> { Yoomoney::Airline }

#amountYoomoney::Models::MonetaryAmount?

Подтверждаемая сумма платежа.



25
# File 'lib/yoomoney/models/payment_capture_params.rb', line 25

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

#dealYoomoney::Models::PaymentDealInfo?

Данные о сделке.



31
# File 'lib/yoomoney/models/payment_capture_params.rb', line 31

optional :deal, -> { Yoomoney::PaymentDealInfo }

#idempotence_keyString

Returns:

  • (String)


13
# File 'lib/yoomoney/models/payment_capture_params.rb', line 13

required :idempotence_key, String

#receiptYoomoney::Models::ReceiptData?

Данные для формирования чека.



37
# File 'lib/yoomoney/models/payment_capture_params.rb', line 37

optional :receipt, -> { Yoomoney::ReceiptData }

#transfersArray<Yoomoney::Models::TransferData>?

Данные о распределении денег.

Returns:



43
# File 'lib/yoomoney/models/payment_capture_params.rb', line 43

optional :transfers, -> { Yoomoney::Internal::Type::ArrayOf[Yoomoney::TransferData] }