Exception: Ingenico::Direct::SDK::DeclinedTransactionException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/ingenico/direct/sdk/declined_transaction_exception.rb

Overview

Indicates that a transaction is declined by the Ingenico ePayments platform or one of its downstream partners/acquirers.

Instance Attribute Summary

Attributes inherited from ApiException

#error_id, #errors, #response_body, #status_code

Instance Method Summary collapse

Methods inherited from ApiException

#to_s

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/ingenico/direct/sdk/declined_transaction_exception.rb', line 8

def initialize(status_code, response_body, error_id, errors, message = nil)
  if message
    super(status_code, response_body, error_id, errors, message)
  else
    super(status_code, response_body, error_id, errors)
  end
end