Exemplo n.º 1
0
        /// <summary>
        /// processaPag
        /// </summary>
        /// <param name="nodenfeProc"></param>
        private void processaPag(XmlNode nodenfeProc)
        {
            pag pagItem = new pag();

            pagItem.tPag = (TpcnFormaPagamento)this.readInt32(nodenfeProc, TpcnResources.tPag);
            pagItem.vPag = this.readDouble(nodenfeProc, TpcnResources.vPag);
            pagItem.tpIntegra = this.readInt32(nodenfeProc, TpcnResources.tpIntegra);
            pagItem.CNPJ = this.readValue(nodenfeProc, TpcnResources.CNPJ);
            pagItem.tBand = (TpcnBandeiraCartao)this.readInt32(nodenfeProc, TpcnResources.tBand);
            pagItem.cAut = this.readValue(nodenfeProc, TpcnResources.cAut);
            nfe.pag.Add(pagItem);
        }