Class RetDistribuicaoNFSe
Classe que representa a resposta da consulta de distribuição de NFSe por NSU Desserializa o XML retornado pela API
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.NFSe.NACIONAL.Consulta
Assembly: Unimake.Business.DFe.dll
Syntax
[XmlRoot("temp")]
public class RetDistribuicaoNFSe : XMLBase, IXmlSerializable
Constructors
RetDistribuicaoNFSe()
Declaration
public RetDistribuicaoNFSe()
Properties
Alertas
Lista de alertas da resposta
Declaration
[XmlElement("Alerta")]
public List<Alertas> Alertas { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Alertas> |
DataHoraProcessamento
Data e hora do processamento
Declaration
[XmlElement("DataHoraProcessamento")]
public DateTime DataHoraProcessamento { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Erros
Único erro ou lista de erros da resposta (pode vir como elemento único ou múltiplo)
Declaration
[XmlElement("Erros")]
public List<Erros> Erros { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Erros> |
LoteDFe
Lista de documentos localizados
Declaration
[XmlElement("LoteDFe")]
public List<LoteDFe> LoteDFe { get; set; }
Property Value
| Type | Description |
|---|---|
| List<LoteDFe> |
StatusProcessamento
Status do processamento (ex: DOCUMENTOS_LOCALIZADOS, NENHUM_DOCUMENTO_LOCALIZADO, REJEICAO)
Declaration
[XmlElement("StatusProcessamento")]
public string StatusProcessamento { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TipoAmbiente
Tipo de ambiente (PRODUCAO, HOMOLOGACAO)
Declaration
[XmlElement("TipoAmbiente")]
public string TipoAmbiente { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VersaoAplicativo
Versão do aplicativo
Declaration
[XmlElement("VersaoAplicativo")]
public string VersaoAplicativo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
LoadFromFile(string)
Desserializar o XML RetDistribuicaoNFSe no objeto
Declaration
public RetDistribuicaoNFSe LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML |
Returns
| Type | Description |
|---|---|
| RetDistribuicaoNFSe | Objeto RetDistribuicaoNFSe |
LoadFromXML(string)
Desserializar o XML RetDistribuicaoNFSe no objeto
Declaration
public RetDistribuicaoNFSe LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | String do XML |
Returns
| Type | Description |
|---|---|
| RetDistribuicaoNFSe | Objeto RetDistribuicaoNFSe |