public class ProcessingException extends ClientException
getter
methods.Constructor and Description |
---|
ProcessingException(String message,
de.firstdata.ipg.api.schema.IPGApiOrderResponse response)
creates an instance of this class taking an error message and an
unmarhalled response object as arguments - note that you should never
call this constructor, since it is internally invoked by
IPGApiClient#commitTransaction(de.firstdata.ipgapi.client.IPGApiTransaction)
when receiving a processing error from the First Data API Web Service |
Modifier and Type | Method and Description |
---|---|
String |
getApprovalCode()
returns the code which is created by the credit card processor when
having processing this transaction - note that this element might be
empty in case the transaction fas failed before reaching the credit card
processor
|
String |
getAVSResponse()
returns the address verification response (AVS) - currently, AVS is not
supported by the First Data API, i.e.
|
String |
getBrand() |
String |
getCommercialServiceProvider()
returns the commetcial service provider
|
String |
getErrorMessage()
returns the processing error message starting with the error code
followed by an error description - in case the error has been found by
the credit card processor, this description is the same as the one
returned by
getProcessorResponseMessage() |
String |
getExternalMerchantID() |
Long |
getIpgTransactionId()
returns the transaction ID with which this transaction can be referred to
- note that this ID cannot be provided for any follow-up transactions
since the transaction has failed
|
String |
getOrderId()
returns the order ID with which this transaction can be referred to -
note that this ID cannot be provided for any follow-up transactions since
the transaction has failed
|
String |
getProcessorReferenceNumber()
returns the reference number the credit card processor uses for referring
to this transaction - note that this element might be empty in case the
transaction fas failed before reaching the credit card processor
|
String |
getProcessorResponseCode() |
String |
getProcessorResponseMessage()
returns the processing error message returned by the credit card
processor - note that this element might be empty in case the transaction
fas failed before reaching the credit card processor
|
de.firstdata.ipg.api.schema.IPGApiOrderResponse |
getResponse() |
String |
getTDate()
returns the tDate of this transaction - note that this tDate cannot be
used when voiding the transaction since it has failed
|
String |
getTransactionResult()
returns the transaction result which is either DECLINE or
FRAUD depending on the error cause
|
String |
getTransactionTime()
returns the time stamp set by the First Data API Web Service before
returning the transaction result
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProcessingException(String message, de.firstdata.ipg.api.schema.IPGApiOrderResponse response)
IPGApiClient#commitTransaction(de.firstdata.ipgapi.client.IPGApiTransaction)
when receiving a processing error from the First Data API Web Servicemessage
- a string describing the errorresponse
- an unmarshalled response objectpublic String getCommercialServiceProvider()
public String getTransactionTime()
public String getProcessorReferenceNumber()
public String getProcessorResponseMessage()
public String getErrorMessage()
getProcessorResponseMessage()
public String getOrderId()
public Long getIpgTransactionId()
public String getApprovalCode()
public String getAVSResponse()
public String getTDate()
public String getTransactionResult()
public String getProcessorResponseCode()
public de.firstdata.ipg.api.schema.IPGApiOrderResponse getResponse()
public String getExternalMerchantID()
public String getBrand()
Copyright © 2019. All rights reserved.