Class NFComProc
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlRoot("nfcomProc", Namespace = "http://www.portalfiscal.inf.br/nfcom", IsNullable = false)]
public class NFComProc : XMLBase, IXmlSerializable
Properties
DhConexao
Declaration
[XmlIgnore]
public DateTimeOffset DhConexao { get; set; }
Property Value
DhConexaoField
Declaration
[XmlAttribute(AttributeName = "dhConexao", DataType = "token")]
public string DhConexaoField { get; set; }
Property Value
IpTransmissor
Declaration
[XmlAttribute(AttributeName = "ipTransmissor", DataType = "token")]
public string IpTransmissor { get; set; }
Property Value
NFCom
Declaration
[XmlElement("NFCom")]
public NFCom NFCom { get; set; }
Property Value
NPortaCon
Declaration
[XmlAttribute(AttributeName = "nPortaCon", DataType = "token")]
public string NPortaCon { get; set; }
Property Value
NomeArquivoDistribuicao
Nome do arquivo de distribuição
Declaration
[XmlIgnore]
public string NomeArquivoDistribuicao { get; }
Property Value
ProtNFCom
Declaration
[XmlElement("protNFCom")]
public ProtNFCom ProtNFCom { get; set; }
Property Value
Versao
Declaration
[XmlAttribute(AttributeName = "versao", DataType = "token")]
public string Versao { get; set; }
Property Value
Methods
GerarXML()
Serializa o objeto (Converte o objeto para XML)
Declaration
public override XmlDocument GerarXML()
Returns
Overrides
LoadFromFile(string)
Desserializar o arquivo XML no objeto NFComProc
Declaration
public NFComProc LoadFromFile(string filename)
Parameters
| Type |
Name |
Description |
| string |
filename |
Localização do arquivo XML de distribuição do NFCom
|
Returns
| Type |
Description |
| NFComProc |
Objeto do XML de distribuição do NFCom
|
LoadFromXML(string)
Desserializar a string do XML NFComProc no objeto NFComProc
Declaration
public NFComProc LoadFromXML(string xml)
Parameters
| Type |
Name |
Description |
| string |
xml |
string do XML NFComProc
|
Returns
| Type |
Description |
| NFComProc |
Objeto da NFComProc
|
ShouldSerializeDhConexaoField()
Declaration
public bool ShouldSerializeDhConexaoField()
Returns
ShouldSerializeIpTransmissor()
Declaration
public bool ShouldSerializeIpTransmissor()
Returns
ShouldSerializeNPortaCon()
Declaration
public bool ShouldSerializeNPortaCon()
Returns
Implements