NFe.ConvertTxt.nfeRead.processaPag C# (CSharp) Method

processaPag() private method

processaPag
private processaPag ( XmlNode nodenfeProc ) : void
nodenfeProc System.Xml.XmlNode
return void
        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);
        }