internal TransactionResponse(XmlNode n) { if (n.Attributes["mode"] != null) { Mode = (TransactionMode) Enum.Parse(typeof (TransactionMode), n.Attributes["mode"].Value, true); } TransactionId = n.SelectSingleNode("TransactionID").InnerText; ProcessingStatus = new ProcessingStatus(n.SelectSingleNode("PROCESSING_STATUS")); }
internal TransactionResponse(XmlNode n) { if (n.Attributes["mode"] != null) { Mode = (TransactionMode)Enum.Parse(typeof(TransactionMode), n.Attributes["mode"].Value, true); } TransactionId = n.SelectSingleNode("TransactionID").InnerText; ProcessingStatus = new ProcessingStatus(n.SelectSingleNode("PROCESSING_STATUS")); }