Class Trem
Inherited Members
Namespace: Unimake.Business.DFe.Xml.MDFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlType(Namespace = "http://www.portalfiscal.inf.br/mdfe")]
public class Trem
Properties
DhTrem
Data e Hora do Trem
Declaration
[XmlIgnore]
public DateTimeOffset DhTrem { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhTremField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade "DhTrem" para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhTrem")]
public string DhTremField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QVag
Quantidade de Vagões
Declaration
[XmlElement("qVag")]
public int QVag { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
XDest
Destino do Trem
Declaration
[XmlElement("xDest")]
public string XDest { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XOri
Origem do Trem
Declaration
[XmlElement("xOri")]
public string XOri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XPref
Prefixo do Trem
Declaration
[XmlElement("xPref")]
public string XPref { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ShouldSerializeDhTremField()
Verifica se deve serializar o campo DhTremField (maior que DateTime.MinValue)
Declaration
public bool ShouldSerializeDhTremField()
Returns
| Type | Description |
|---|---|
| bool |