public HpsGatewayException(HpsExceptionCodes code, string sdkMessage, int gatewayResponseCode, string gatewayResponseMessage, Exception innerException = null)
     : base(sdkMessage, innerException)
 {
     Code = code;
     Details = new HpsGatewayExceptionDetails
     {
         GatewayResponseCode = gatewayResponseCode,
         GatewayResponseMessage = gatewayResponseMessage
     };
 }
Exemple #2
0
 public HpsGatewayException(HpsExceptionCodes code, string sdkMessage, int gatewayResponseCode, string gatewayResponseMessage, Exception innerException = null)
     : base(sdkMessage, innerException)
 {
     Code    = code;
     Details = new HpsGatewayExceptionDetails
     {
         GatewayResponseCode    = gatewayResponseCode,
         GatewayResponseMessage = gatewayResponseMessage
     };
 }