Class EvCTeRegPassagem
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.CTe
Assembly: Unimake.Business.DFe.dll
Syntax
[XmlRoot(ElementName = "evCTeRegPassagem")]
[XmlInclude(typeof(EventoDetalhe))]
public class EvCTeRegPassagem : IXmlSerializable
Properties
CPFFunc
CPF do funcionário que registrou a passagem.
Declaration
[XmlElement("CPFFunc")]
public string CPFFunc { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CUFTransito
Código da UF de trânsito.
Declaration
[XmlElement("cUFTransito")]
public string CUFTransito { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CUnidFiscal
Código da unidade fiscal.
Declaration
[XmlElement("cUnidFiscal")]
public string CUnidFiscal { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChMDFe
Chave de acesso do MDFe relacionado ao registro de passagem.
Declaration
[XmlElement("chMDFe")]
public string ChMDFe { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DescEvento
Descrição do evento de registro de passagem.
Declaration
[XmlElement("descEvento")]
public string DescEvento { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DhPass
Data e hora da passagem.
Declaration
[XmlIgnore]
public DateTimeOffset DhPass { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhPassField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhPass" para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhPass")]
public string DhPassField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Placa
Placa do veículo.
Declaration
[XmlElement("placa")]
public string Placa { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TpSentido
Tipo de sentido do registro de passagem.
Declaration
[XmlElement("tpSentido")]
public string TpSentido { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TpTransm
Tipo de transmissão do registro de passagem.
Declaration
[XmlElement("tpTransm")]
public string TpTransm { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XFunc
Nome do funcionário que registrou a passagem.
Declaration
[XmlElement("xFunc")]
public string XFunc { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XUnidFiscal
Descrição da unidade fiscal.
Declaration
[XmlElement("xUnidFiscal")]
public string XUnidFiscal { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ReadXml(XmlDocument)
Executa o processamento do XMLReader recebido na desserialização.
Declaration
public void ReadXml(XmlDocument document)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlDocument | document | XmlDocument recebido durante o processo de desserialização. |
WriteXml(StringWriter)
Executa o processamento do XMLReader recebido na serialização.
Declaration
public void WriteXml(StringWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| StringWriter | writer | string XML recebido durante o processo de serialização. |