Class: CancelRequest
- Inherits:
-
Object
- Object
- CancelRequest
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/request/cancel_request.rb
Overview
Model object of request to cancel an action
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#payment_status ⇒ Object
- PaymentStatus
-
CANCELED
payment status.
-
#tag ⇒ Object
- String
-
Custom data to add with the operation.
Instance Method Summary collapse
-
#initialize ⇒ CancelRequest
constructor
A new instance of CancelRequest.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize ⇒ CancelRequest
Returns a new instance of CancelRequest.
13 14 15 |
# File 'lib/mangopay/model/request/cancel_request.rb', line 13 def initialize self.payment_status = MangoModel::PaymentStatus::CANCELED end |
Instance Attribute Details
#payment_status ⇒ Object
- PaymentStatus
-
CANCELED
payment status
11 12 13 |
# File 'lib/mangopay/model/request/cancel_request.rb', line 11 def payment_status @payment_status end |
#tag ⇒ Object
- String
-
Custom data to add with the operation
8 9 10 |
# File 'lib/mangopay/model/request/cancel_request.rb', line 8 def tag @tag end |