Class RetNfceDownloadXML
Estrutura XML do retorno do download de NFCe
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.NFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlRoot("retNfceDownloadXML", Namespace = "http://www.portalfiscal.inf.br/nfe", IsNullable = false)]
public class RetNfceDownloadXML : XMLBase, IXmlSerializable
Properties
CStat
Código do status da resposta
Declaration
[XmlElement("cStat")]
public string CStat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DhReq
Data e hora da requisição
Declaration
[XmlIgnore]
public DateTimeOffset DhReq { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhReqField
Data e hora da requisição (campo serializado)
Declaration
[XmlElement("dhReq")]
public string DhReqField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Proc
Informações do processamento da NFCe
Declaration
[XmlElement("proc")]
public RetNfceDownloadXMLProc Proc { get; set; }
Property Value
| Type | Description |
|---|---|
| RetNfceDownloadXMLProc |
TpAmb
Tipo do ambiente
Declaration
[XmlElement("tpAmb")]
public TipoAmbiente TpAmb { get; set; }
Property Value
| Type | Description |
|---|---|
| TipoAmbiente |
VerAplic
Versão da aplicação que processou a solicitação
Declaration
[XmlElement("verAplic")]
public string VerAplic { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Versao
Versão do leiaute
Declaration
[XmlAttribute(AttributeName = "versao", DataType = "token")]
public string Versao { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XMotivo
Descrição literal do status da resposta
Declaration
[XmlElement("xMotivo")]
public string XMotivo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
LoadFromFile(string)
Desserializar o arquivo XML no objeto RetNfceDownloadXML
Declaration
public RetNfceDownloadXML LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML |
Returns
| Type | Description |
|---|---|
| RetNfceDownloadXML | Objeto do RetNfceDownloadXML |
LoadFromXML(string)
Desserializar a string do XML RetNfceDownloadXML
Declaration
public RetNfceDownloadXML LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | String do XML |
Returns
| Type | Description |
|---|---|
| RetNfceDownloadXML | Objeto do RetNfceDownloadXML |