Class GravarMotorista
Solicita a inclusão ou atualização de um motorista na eFrete.
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.CIOT
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlType(Namespace = "http://www.antt.gov.br/ciot")]
[XmlRoot("GravarMotorista", Namespace = "http://www.antt.gov.br/ciot", IsNullable = false)]
public class GravarMotorista : XMLBase, IXmlSerializable
Properties
CNH
Número da CNH.
Declaration
[XmlElement("CNH")]
public string CNH { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CPF
CPF do motorista.
Declaration
[XmlElement("CPF")]
public string CPF { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DataNascimento
Data de nascimento.
Declaration
[XmlIgnore]
[JsonIgnore]
public DateTimeOffset DataNascimento { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DataNascimentoField
Data de nascimento no formato utilizado pelo XML.
Declaration
[XmlElement("DataNascimento")]
[JsonProperty("DataNascimento")]
public string DataNascimentoField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Endereco
Endereço do motorista.
Declaration
[XmlIgnore]
public EnderecoCIOT Endereco { get; set; }
Property Value
| Type | Description |
|---|---|
| EnderecoCIOT |
EnderecoField
Endereço na ordem do contrato de cadastro da eFrete.
Declaration
[XmlElement("Endereco")]
[JsonIgnore]
public EnderecoCadastroEFrete EnderecoField { get; set; }
Property Value
| Type | Description |
|---|---|
| EnderecoCadastroEFrete |
Nome
Nome completo do motorista.
Declaration
[XmlElement("Nome")]
public string Nome { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProvedorCIOT
Provedor CIOT. Este serviço é exclusivo da eFrete.
Declaration
[XmlElement("ProvedorCIOT")]
[JsonIgnore]
public ProvedorCIOT? ProvedorCIOT { get; set; }
Property Value
| Type | Description |
|---|---|
| ProvedorCIOT? |
Telefones
Telefones do motorista.
Declaration
[XmlElement("Telefones")]
public TelefonesCIOT Telefones { get; set; }
Property Value
| Type | Description |
|---|---|
| TelefonesCIOT |
Methods
ShouldSerializeDataNascimento()
Impede a serialização da propriedade tipada.
Declaration
public bool ShouldSerializeDataNascimento()
Returns
| Type | Description |
|---|---|
| bool |
ShouldSerializeDataNascimentoField()
Indica se a data deve ser serializada.
Declaration
public bool ShouldSerializeDataNascimentoField()
Returns
| Type | Description |
|---|---|
| bool |
ShouldSerializeProvedorCIOT()
Indica se o provedor deve ser serializado.
Declaration
public bool ShouldSerializeProvedorCIOT()
Returns
| Type | Description |
|---|---|
| bool |