Class: YaKassa::V3::PaymentRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- YaKassa::V3::PaymentRequest
- Defined in:
- lib/ya_kassa/v3/payment_request.rb
Constant Summary
Constants included from Concerns::Validatable
Concerns::Validatable::VALIDATORS
Instance Attribute Summary
Attributes inherited from BaseRequest
Instance Method Summary collapse
-
#body ⇒ Object
amount_value and return_url are required.
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
amount_value and return_url are required
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/ya_kassa/v3/payment_request.rb', line 19 def body { amount: { value: amount_value, currency: amount_currency }, capture: capture, confirmation: { type: confirmation_type, return_url: return_url }, description: description } end |