Class EnviNFe
Classe de lote da NFe/NFCe
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.NFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlRoot("enviNFe", Namespace = "http://www.portalfiscal.inf.br/nfe", IsNullable = false)]
public class EnviNFe : XMLBase, IXmlSerializable
Properties
IdLote
Número do lote
Declaration
[XmlElement("idLote")]
public string IdLote { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IndSinc
Indicador de processamento síncrono
Declaration
[XmlElement("indSinc")]
public SimNao IndSinc { get; set; }
Property Value
| Type | Description |
|---|---|
| SimNao |
NFe
NFe/NFCe
Declaration
[XmlElement("NFe")]
public List<NFe> NFe { get; set; }
Property Value
| Type | Description |
|---|---|
| List<NFe> |
Versao
Versão do schema do XML do lote da NFe/NFCe
Declaration
[XmlAttribute(AttributeName = "versao", DataType = "token")]
public string Versao { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GerarXML()
Serializa o objeto (Converte o objeto para XML)
Declaration
public override XmlDocument GerarXML()
Returns
| Type | Description |
|---|---|
| XmlDocument | Conteúdo do XML |
Overrides
LoadFromFile(string)
Desserializar o XML EnviNFe no objeto EnviNFe
Declaration
public EnviNFe LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML EnviNFe |
Returns
| Type | Description |
|---|---|
| EnviNFe | Objeto do EnviNFe |
LoadFromXML(string)
Desserializar o XML EnviNFe no objeto EnviNFe
Declaration
public EnviNFe LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | string do XML EnviNFe |
Returns
| Type | Description |
|---|---|
| EnviNFe | Objeto da EnviNFe |