Class TachographCompanyCard
- Namespace
- Geotab.Checkmate.ObjectModel.Tachograph.CompanyCards
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a tachograph company card used to identify transport companies in EU countries.
public class TachographCompanyCard : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
TachographCompanyCard
- Implements
- Inherited Members
Constructors
TachographCompanyCard()
Initializes a new instance of the TachographCompanyCard class.
public TachographCompanyCard()
TachographCompanyCard(Id?)
Initializes a new instance of the TachographCompanyCard class.
public TachographCompanyCard(Id? id)
Parameters
id
IdThe identifier.
TachographCompanyCard(Id?, long?, string?, string?, DateTime?, DateTime?, string?, string?, string?, DateTime?, DateTime?, string?)
Initializes a new instance of the TachographCompanyCard class.
public TachographCompanyCard(Id? id, long? icc, string? companyName, string? address, DateTime? validity, DateTime? expiry, string? cardNumber, string? cardAuthority, string? source, DateTime? lastUpdate, DateTime? registrationTime, string? status)
Parameters
id
IdThe identifier
icc
long?The icc number of the card.
companyName
stringThe company name on the card.
address
stringThe company's address.
validity
DateTime?The validity of the company card.
expiry
DateTime?The expiry of the company card.
cardNumber
stringThe card number.
cardAuthority
stringThe card authority.
source
stringThe source.
lastUpdate
DateTime?The last time this card was updated.
registrationTime
DateTime?The time when this card was registered on the system.
status
stringThe status of the card.
Properties
Address
Gets or sets the company's address.
public string? Address { get; set; }
Property Value
CardAuthority
Gets or sets the card authority.
public string? CardAuthority { get; set; }
Property Value
CardNumber
Gets or sets the card number.
public string? CardNumber { get; set; }
Property Value
CompanyName
Gets or sets the company name of the card.
public string? CompanyName { get; set; }
Property Value
Expiry
Gets or sets the expiry of the card.
public DateTime? Expiry { get; set; }
Property Value
Icc
Gets or sets the ICC number of the card.
public long? Icc { get; set; }
Property Value
LastUpdate
Gets or sets the last time this card was updated.
public DateTime? LastUpdate { get; set; }
Property Value
RegistrationTime
Gets or sets the time this card was registered on the system.
public DateTime? RegistrationTime { get; set; }
Property Value
Source
Gets or sets the source of the card.
public string? Source { get; set; }
Property Value
Status
Gets or sets the status of the card. The available values are:
public string? Status { get; set; }
Property Value
Validity
Gets or sets the validity of the card.
public DateTime? Validity { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
ToString()
Returns a string that represents this instance.
public override string ToString()