Exception: Ingenico::Connect::SDK::DeclinedTransactionException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/ingenico/connect/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 = false) ⇒ DeclinedTransactionException

Create a new DeclinedTransactionException.



11
12
13
14
15
16
17
# File 'lib/ingenico/connect/sdk/declined_transaction_exception.rb', line 11

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