class YaKassa::V3::PaymentCaptureRequest
Public Instance Methods
body()
click to toggle source
# 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
Private Instance Methods
api_client()
click to toggle source
# File lib/ya_kassa/v3/payment_capture_request.rb, line 25 def api_client api_client_post end
url()
click to toggle source
# File lib/ya_kassa/v3/payment_capture_request.rb, line 29 def url router.payment_confirmation_url end