Exemplo n.º 1
0
        protected static void Read(XmlReader reader, CCAcctInfo aInfo)
        {
            string lastName = String.Empty;

            while (reader.Read())
            {
                if (reader.NodeType == XmlNodeType.Element)
                {
                    lastName = reader.Name;
                }
                if (reader.NodeType == XmlNodeType.Text)
                {
                    string value = reader.Value.Trim();
                    switch (lastName)
                    {
                    case "ACCTID": aInfo.ACCTID = value; break;

                    case "ACCTKEY": aInfo.ACCTKEY = value; break;
                    }
                }
                if (reader.NodeType == XmlNodeType.EndElement && reader.Name == "CCACCTFROM")
                {
                    return;
                }
            }
        }
Exemplo n.º 2
0
 protected static void Read(XmlReader reader, CCAcctInfo aInfo)
 {
     string lastName = String.Empty;
     while (reader.Read())
     {
         if (reader.NodeType == XmlNodeType.Element)
         {
             lastName = reader.Name;
         }
         if (reader.NodeType == XmlNodeType.Text)
         {
             string value = reader.Value.Trim();
             switch (lastName)
             {
                 case "ACCTID": aInfo.ACCTID = value; break;
                 case "ACCTKEY": aInfo.ACCTKEY= value; break;                        
             }
         }
         if (reader.NodeType == XmlNodeType.EndElement && reader.Name == "CCACCTFROM")
         {
             return;
         }
     }
 }
Exemplo n.º 3
0
 public STMTRS() 
 {
     this._CCACCTFROM = null;
     this._BANKACCTFROM = null;
 }
Exemplo n.º 4
0
 public STMTRS()
 {
     this._CCACCTFROM   = null;
     this._BANKACCTFROM = null;
 }