Class RetConsStatServCte
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.CTe
Assembly: Unimake.Business.DFe.dll
Syntax
public class RetConsStatServCte : XMLBase, IXmlSerializable
Fields
FormatDate
Declaration
const string FormatDate = "yyyy-MM-ddTHH:mm:sszzz"
Field Value
Type | Description |
---|---|
System.String |
Properties
CStat
Código do status da resposta
Declaration
public int CStat { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CUF
Código da UF que atendeu a solicitação.
Declaration
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
public int CUFField { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DhRecbto
Data e hora de recebimento
Declaration
public DateTimeOffset DhRecbto { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
DhRecbtoField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhRecbto" para atribuir ou resgatar o valor)
Declaration
public string DhRecbtoField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DhRetorno
Data e hora de retorno
Declaration
public DateTimeOffset DhRetorno { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
DhRetornoField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhRetorno" para atribuir ou resgatar o valor)
Declaration
public string DhRetornoField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TMed
Tempo médio de resposta (em segundos)
Declaration
public int TMed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TpAmb
Tipo do Ambiente
Declaration
public TipoAmbiente TpAmb { get; set; }
Property Value
Type | Description |
---|---|
TipoAmbiente |
VerAplic
Versão do Aplicativo
Declaration
public string VerAplic { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Versao
Versão do leiaute XML
Declaration
public string Versao { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XMotivo
Descrição literal do status da resposta
Declaration
public string XMotivo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XObs
Observações
Declaration
public string XObs { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GerarXML()
Serializa o objeto (Converte o objeto para XML)
Declaration
public override XmlDocument GerarXML()
Returns
Type | Description |
---|---|
System.Xml.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 |
---|---|---|
System.Xml.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 |