Class: Buckaruby::StatusResponse
- Inherits:
-
ApiResponse
- Object
- Response
- ApiResponse
- Buckaruby::StatusResponse
- Includes:
- TransactionResponse
- Defined in:
- lib/buckaruby/response.rb
Overview
Response when getting the status of a transaction.
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods included from TransactionResponse
#collect_date, #consumer_bic, #consumer_iban, #consumer_name, #invoicenumber, #mandate_reference, #payment_id, #payment_method, #transaction_id, #transaction_status, #transaction_type
Methods inherited from ApiResponse
Methods inherited from Response
#additional, #custom, #initialize, #params, #status, #timestamp
Constructor Details
This class inherits a constructor from Buckaruby::ApiResponse
Instance Method Details
#cancellable? ⇒ Boolean
239 240 241 |
# File 'lib/buckaruby/response.rb', line 239 def cancellable? !params[:brq_transaction_cancelable].nil? && params[:brq_transaction_cancelable].casecmp('true').zero? end |
#refunded_transaction_id ⇒ Object
243 244 245 |
# File 'lib/buckaruby/response.rb', line 243 def refunded_transaction_id params[:brq_relatedtransaction_refund] end |
#reversed_transaction_id ⇒ Object
247 248 249 |
# File 'lib/buckaruby/response.rb', line 247 def reversed_transaction_id params[:brq_relatedtransaction_reversal] end |