public SaleRequest() { Username = ConfigurationManager.AppSettings["EPayUser"]; Password = ConfigurationManager.AppSettings["EPayPassword"]; LocalDateTime = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"); TXID = Guid.NewGuid().ToString(); Currency = 986; Type = "SALE"; TerminalId = new TerminalId(); Card = new Card(); Receipt = new Receipt(); }
public SaleCancellation() { Username = ConfigurationManager.AppSettings["EPayUser"]; Password = ConfigurationManager.AppSettings["EPayPassword"]; LocalDateTime = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"); TXID = Guid.NewGuid().ToString(); Type = "CANCEL"; Mode = "AUTOMATIC"; Currency = 986; TerminalId = new TerminalId(); Card = new Card(); }