Class RetConsStatServCte
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.CTe
Assembly: Unimake.Business.DFe.dll
Syntax
[XmlRoot("retConsStatServCte", Namespace = "http://www.portalfiscal.inf.br/cte", IsNullable = false)]
public class RetConsStatServCte : XMLBase, IXmlSerializable
Properties
CStat
Código do status da resposta
Declaration
[XmlElement("cStat")]
public int CStat { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
CUF
Código da UF que atendeu a solicitação.
Declaration
[XmlIgnore]
public UFBrasil CUF { get; set; }
Property Value
| Type | Description |
|---|---|
| UFBrasil |
CUFField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "CUF" para atribuir ou resgatar o valor)
Declaration
[XmlElement("cUF")]
public int CUFField { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DhRecbto
Data e hora de recebimento
Declaration
[XmlIgnore]
public DateTimeOffset DhRecbto { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhRecbtoField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhRecbto" para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhRecbto")]
public string DhRecbtoField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DhRetorno
Data e hora de retorno
Declaration
[XmlIgnore]
public DateTimeOffset DhRetorno { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhRetornoField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhRetorno" para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhRetorno")]
public string DhRetornoField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TMed
Tempo médio de resposta (em segundos)
Declaration
[XmlElement("tMed")]
public int TMed { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TpAmb
Tipo do Ambiente
Declaration
[XmlElement("tpAmb")]
public TipoAmbiente TpAmb { get; set; }
Property Value
| Type | Description |
|---|---|
| TipoAmbiente |
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 |
XObs
Observações
Declaration
[XmlElement("xObs")]
public string XObs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GerarXML()
Serializa o objeto (Converte o objeto para XML)
Declaration
public override XmlDocument GerarXML()
Returns
| Type | Description |
|---|---|
| XmlDocument | Conteúdo do XML |
Overrides
LerXML<T>(XmlDocument)
Desserializar XML (Converte o XML para um objeto)
Declaration
public override T LerXML<T>(XmlDocument doc) where T : new()
Parameters
| Type | Name | Description |
|---|---|---|
| XmlDocument | doc | Conteúdo do XML a ser desserializado |
Returns
| Type | Description |
|---|---|
| T | Retorna o objeto com o conteúdo do XML desserializado |
Type Parameters
| Name | Description |
|---|---|
| T | Tipo do objeto |