Exception: OnlinePayments::SDK::DeclinedTransactionException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- OnlinePayments::SDK::DeclinedTransactionException
- Defined in:
- lib/onlinepayments/sdk/declined_transaction_exception.rb
Overview
Indicates that a transaction is declined by the Online Payments platform or one of its downstream partners/acquirers.
Direct Known Subclasses
DeclinedPaymentException, DeclinedPayoutException, DeclinedRefundException
Instance Attribute Summary
Attributes inherited from ApiException
#error_id, #errors, #response_body, #status_code
Instance Method Summary collapse
-
#initialize(status_code, response_body, error_id, errors, message = nil) ⇒ DeclinedTransactionException
constructor
Create a new DeclinedTransactionException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = nil) ⇒ DeclinedTransactionException
Create a new DeclinedTransactionException.
8 9 10 11 12 13 14 |
# File 'lib/onlinepayments/sdk/declined_transaction_exception.rb', line 8 def initialize(status_code, response_body, error_id, errors, = nil) if super(status_code, response_body, error_id, errors, ) else super(status_code, response_body, error_id, errors) end end |