Class ErrorMessage
java.lang.Object
com.netcetera.threeds.sdk.api.transaction.challenge.ErrorMessage
Represents an error message that is returned by the ACS to the 3DS SDK or an error message that is generated by the
3DS SDK to be returned to the ACS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the error code.Returns the error component that created the protocol error message.Returns the error description.Returns the error details.Returns the error message type.Returns the message/protocol version.Returns the Transaction ID.toString()
-
Constructor Details
-
ErrorMessage
public ErrorMessage(String transactionID, String errorCode, String errorDescription, String errorDetail, String errorComponent, String errorMessageType, String messageVersionNumber) Constructor.- Parameters:
transactionID-StringTransaction ID.errorCode-StringError code.errorDescription-StringText describing the error.errorDetail-StringAdditional error details (not mandatory)errorComponent-StringAdditional error detailserrorMessageType-StringAdditional error details (not mandatory)messageVersionNumber-StringAdditional error details
-
-
Method Details
-
getTransactionID
Returns the Transaction ID.- Returns:
String
-
getErrorCode
Returns the error code.- Returns:
String
-
getErrorDescription
Returns the error description.- Returns:
String
-
getErrorDetails
Returns the error details.- Returns:
String
-
getErrorComponent
Returns the error component that created the protocol error message.- Returns:
String
-
getErrorMessageType
Returns the error message type.- Returns:
String
-
getMessageVersionNumber
Returns the message/protocol version.- Returns:
String
-
toString
-