24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | public class ErrorDetails { /** * Universally unique transaction identifier assigned by the 3DS Server to identify a single transaction. It has * the same value as the corresponding received authentication request. This value has 36 characters in a format * defined in IETF RFC 4122. */ private String threeDSServerTransID; /** * Universally Unique transaction identifier assigned by the ACS to identify a single transaction. */ private String acsTransID; /** * Universally unique transaction identifier assigned by the DS to identify a single transaction. */ private String dsTransID; /** * Code indicating the type of problem identified. */ private ErrorCodeEnum errorCode; /** * Code indicating the 3-D Secure component that identified the error. */ private ErrorComponentEnum errorComponent; /** * Text describing the problem identified. */ private String errorDescription; /** * Additional detail regarding the problem identified. */ private String errorDetail; /** * Universally unique transaction identifier assigned by the 3DS SDK to identify a single transaction. */ private String sdkTransID; /** * The Message Type that was identified as erroneous. */ private MessageTypeEnum errorMessageType; } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | /** * Code indicating the type of problem identified in the message. */ public enum ErrorCodeEnum { /** * message received invalid. */ MESSAGE_RECEIVED_INVALID( "101" ), /** * message version number not supported. */ MESSAGE_VERSION_NUMBER_NOT_SUPPORTED( "102" ), /** * sent messages limit exceeded. Only used for PReq. */ SENT_MESSAGES_LIMIT_EXCEEDED( "103" ), /** * required element missing. */ REQUIRED_ELEMENT_MISSING( "201" ), /** * critical message extension not recognized. */ CRITICAL_MESSAGE_EXTENSION_NOT_RECOGNIZED( "202" ), /** * format on one or more elements is invalid according to the specs. */ FORMAT_ON_ONE_OR_MORE_ELEMENTS_INVALID_ACCORDING_SPECS( "203" ), /** * duplicate data element. */ DUPLICATE_DATA_ELEMENT( "204" ), /** * transaction id is not recognized. */ TRANSACTION_ID_NOT_RECOGNIZED( "301" ), /** * data decryption failure. */ DATA_DECRYPTION_FAILURE( "302" ), /** * access denied, invalid endpoint. */ ACCESS_DENIED_INVALID_ENDPOINT( "303" ), /** * ISO code is not valid. */ ISO_CODE_NOT_VALID( "304" ), /** * transaction data is not valid. */ TRANSACTION_DATA_NOT_VALID( "305" ), /** * merchant category code is not valid for payment system. */ MCC_NOT_VALID_FOR_PAYMENT_SYSTEM( "306" ), /** * serial number is not valid. */ SERIAL_NUMBER_NOT_VALID( "307" ), /** * transaction timed out. */ TRANSACTION_TIMED_OUT( "402" ), /** * transient system failure. */ TRANSIENT_SYSTEM_FAILURE( "403" ), /** * permanent system failure. */ PERMANENT_SYSTEM_FAILURE( "404" ), /** * system connection failure. */ SYSTEM_CONNECTION_FAILURE( "405" ) /** * UnionPay specific error code. Present when Data fields relevance check failed (ECI value and AV appearance are * inconsistent with transaction status). */ DATA_FIELDS_RELEVANCE_CHECK_FAILURE( "911" ), /** * UnionPay specific error code. Present when duplicated transaction ID (Transaction ID should be unique for each * AReq request). */ DUPLICATED_TRANSACTION_ID( "912" ); } |