Class RetDistDFeInt
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.CTe
Assembly: Unimake.Business.DFe.dll
Syntax
[XmlRoot("retDistDFeInt", Namespace = "http://www.portalfiscal.inf.br/cte", IsNullable = false)]
public class RetDistDFeInt : XMLBase, IXmlSerializable
Properties
CStat
Código do status da resposta
Declaration
[XmlElement("cStat")]
public int CStat { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DhResp
Data e hora da resposta
Declaration
[XmlIgnore]
public DateTimeOffset DhResp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhRespField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhResp" para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhResp")]
public string DhRespField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoteDistDFeInt
Lote de documentos compactados
Declaration
[XmlElement("loteDistDFeInt")]
public LoteDistDFeInt LoteDistDFeInt { get; set; }
Property Value
| Type | Description |
|---|---|
| LoteDistDFeInt |
MaxNSU
Maior NSU retornado
Declaration
[XmlElement("maxNSU", DataType = "token")]
public string MaxNSU { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TpAmb
Tipo do Ambiente
Declaration
[XmlElement("tpAmb")]
public TipoAmbiente TpAmb { get; set; }
Property Value
| Type | Description |
|---|---|
| TipoAmbiente |
UltNSU
Último NSU retornado
Declaration
[XmlElement("ultNSU", DataType = "token")]
public string UltNSU { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VerAplic
Versão do Aplicativo
Declaration
[XmlElement("verAplic")]
public string VerAplic { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Versao
Versão do leiaute XML
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 XML RetDistDFeInt no objeto RetDistDFeInt
Declaration
public RetDistDFeInt LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML RetDistDFeInt |
Returns
| Type | Description |
|---|---|
| RetDistDFeInt | Objeto do RetDistDFeInt |
LoadFromXML(string)
Desserializar o XML RetDistDFeInt no objeto RetDistDFeInt
Declaration
public RetDistDFeInt LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | string do XML RetDistDFeInt |
Returns
| Type | Description |
|---|---|
| RetDistDFeInt | Objeto da RetDistDFeInt |