CRL.Business.OnlinePay.Company.Bill99.GetDynNumContent.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/GetDynNumContent/customerId").InnerText;
            obj.token = xmlDoc.SelectSingleNode("MasMessage/GetDynNumContent/token").InnerText;
            obj.responseCode = xmlDoc.SelectSingleNode("MasMessage/GetDynNumContent/responseCode").InnerText;
            return obj;
        }
Response