CRL.Business.OnlinePay.Company.Bill99.PciQueryContent.Response.FromXml C# (CSharp) Method

FromXml() public static method

public static FromXml ( XmlDocument xmlDoc ) : Response
xmlDoc System.Xml.XmlDocument
return Response
        public static Response FromXml(XmlDocument xmlDoc)
        {
            var obj = new Response();
            obj.customerId = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/customerId").InnerText;
            obj.cardType = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/cardType").InnerText;
            obj.responseCode = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/responseCode").InnerText;
            obj.bankId = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/pciInfos/pciInfo/bankId").InnerText;
            obj.storablePan = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/pciInfos/pciInfo/storablePan").InnerText;
            obj.phoneNO = xmlDoc.SelectSingleNode("MasMessage/PciQueryContent/pciInfos/pciInfo/phoneNO").InnerText;
            return obj;
        }
Response