Example #1
0
 public HpsCreditException(int transactionId, HpsExceptionCodes code, string message, string issuerCode, string issuerMessage, Exception e = null)
     : base(message, e)
 {
     TransactionId = transactionId;
     Code          = code;
     Details       = new HpsCreditExceptionDetails
     {
         IssuerResponseCode = issuerCode,
         IssuerResponseText = issuerMessage
     };
 }
 public HpsCreditException(int transactionId, HpsExceptionCodes code, string message, string issuerCode, string issuerMessage, Exception e = null)
     : base(message, e)
 {
     TransactionId = transactionId;
     Code = code;
     Details = new HpsCreditExceptionDetails
     {
         IssuerResponseCode = issuerCode,
         IssuerResponseText = issuerMessage
     };
 }
 public HpsCreditException(long transactionId, HpsExceptionCodes code, string message, string issuerCode, string issuerMessage, Exception e = null, AuthRspStatusType authRsp = null)
     : base(message, e)
 {
     TransactionId = transactionId;
     Code          = code;
     Details       = new HpsCreditExceptionDetails
     {
         IssuerResponseCode = issuerCode,
         IssuerResponseText = issuerMessage,
         EMVIssuerResp      = authRsp?.EMVIssuerResp
     };
 }