Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="doc"></param>
        /// <returns></returns>
        public static string GetStoreId(XmlDocument doc)
        {
            XmlNode terminalNode = null;

            try {
                terminalNode = doc.DocumentElement.SelectSingleNode("/Transaction/Terminal");
            }
            catch (XPathException xpe) {
                throw xpe;
            }

            return(Summa.GetSummaSiteId(terminalNode.Attributes["SiteID"].Value));
        }
Exemple #2
0
 internal static string GetStoreId(XmlDocument doc)
 {
     return(Summa.GetSummaSiteId(doc.DocumentElement.Attributes["SiteID"].Value));
 }
Exemple #3
0
 private string GetStoreId(XmlNode customerNode)
 {
     return(Summa.GetSummaSiteId(customerNode.Attributes["SiteID"].Value));
 }