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
idIdThe 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
idIdThe identifier
icclong?The icc number of the card.
companyNamestringThe company name on the card.
addressstringThe company's address.
validityDateTime?The validity of the company card.
expiryDateTime?The expiry of the company card.
cardNumberstringThe card number.
cardAuthoritystringThe card authority.
sourcestringThe source.
lastUpdateDateTime?The last time this card was updated.
registrationTimeDateTime?The time when this card was registered on the system.
statusstringThe 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()