Class: YaKassa::V3::PaymentCaptureRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- YaKassa::V3::PaymentCaptureRequest
- Defined in:
- lib/ya_kassa/v3/payment_capture_request.rb
Constant Summary
Constants included from Concerns::Validatable
Concerns::Validatable::VALIDATORS
Instance Attribute Summary
Attributes inherited from BaseRequest
Instance Method Summary collapse
Methods inherited from BaseRequest
Methods included from Concerns::Attributable
Methods included from Concerns::Validatable
Constructor Details
This class inherits a constructor from YaKassa::V3::BaseRequest
Instance Method Details
#body ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/ya_kassa/v3/payment_capture_request.rb', line 10 def body res = nil if amount_value && amount_currency res = { amount: { value: amount_value, currency: amount_currency } } end res end |