Class NfeProc
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Unimake.Business.DFe.Xml.NFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
public class NfeProc : XMLBase, IXmlSerializable
Properties
NFe
Declaration
public NFe NFe { get; set; }
Property Value
Type | Description |
---|---|
NFe |
NomeArquivoDistribuicao
Nome do arquivo de distribuição
Declaration
public string NomeArquivoDistribuicao { get; }
Property Value
Type | Description |
---|---|
System.String |
ProtNFe
Declaration
public ProtNFe ProtNFe { get; set; }
Property Value
Type | Description |
---|---|
ProtNFe |
Versao
Declaration
public string Versao { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GerarXML()
Declaration
public override XmlDocument GerarXML()
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |
Overrides
LoadFromFile(String)
Desserializar o arquivo XML no objeto NfeProc
Declaration
public NfeProc LoadFromFile(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | Localização do arquivo XML de distribuição do NFe |
Returns
Type | Description |
---|---|
NfeProc | Objeto do XML de distribuição do NFe |
LoadFromXML(String)
Desserializar a string do XML NfeProc no objeto NfeProc
Declaration
public NfeProc LoadFromXML(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string do XML NfeProc |
Returns
Type | Description |
---|---|
NfeProc | Objeto da NfeProc |