コード例 #1
0
        public ResponseEBL execSaleEBL(RequestEBL creq)
        {
            ResponseEBL res = null;

            try
            {
                var jsonString = JsonConvert.SerializeObject(creq);
                log.Info(
                    "Request------" + jsonString);
                if (creq != null)
                {
                    res = this.saleEBL(creq.Amount, creq.CashBack, creq.TillNO, creq.TransKey, "100.1.0");
                }
            }
            catch (Exception e)
            {
                log.Error(e);
            }

            return(res);
        }
コード例 #2
0
 public static bool validSaleRequest(RequestEBL req, ref string msg)
 {
     return(validSaleRequest(req.Acquirer, req.Amount, req.CashBack, req.TillNO, req.TransKey, "100.1.0", ref msg));
 }