Barcode.DriverLicense

public static class Barcode.DriverLicense extends Object

A driver license or ID card.

Public Method Summary

String
getAddressCity()
Gets city of holder's address.
String
getAddressState()
Gets state of holder's address.
String
getAddressStreet()
Gets holder's street address.
String
getAddressZip()
Gets postal code of holder's address.
String
getBirthDate()
Gets birth date of the holder.
String
getDocumentType()
Gets "DL" for driver licenses, "ID" for ID cards.
String
getExpiryDate()
Gets expiry date of the license.
String
getFirstName()
Gets holder's first name.
String
getGender()
Gets holder's gender.
String
getIssueDate()
Gets issue date of the license.
String
getIssuingCountry()
Gets the three-letter country code in which DL/ID was issued.
String
getLastName()
Gets holder's last name.
String
getLicenseNumber()
Gets driver license ID number.
String
getMiddleName()
Gets holder's middle name.

Inherited Method Summary

Public Methods

public String getAddressCity ()

Gets city of holder's address.

Returns null if not available.

public String getAddressState ()

Gets state of holder's address.

Returns null if not available.

public String getAddressStreet ()

Gets holder's street address.

Returns null if not available.

public String getAddressZip ()

Gets postal code of holder's address.

Returns null if not available.

public String getBirthDate ()

Gets birth date of the holder.

Returns null if not available.

public String getDocumentType ()

Gets "DL" for driver licenses, "ID" for ID cards.

Returns null if not available.

public String getExpiryDate ()

Gets expiry date of the license.

Returns null if not available.

public String getFirstName ()

Gets holder's first name.

Returns null if not available.

public String getGender ()

Gets holder's gender. 1 - male, 2 - female.

Returns null if not available.

public String getIssueDate ()

Gets issue date of the license.

The date format depends on the issuing country. MMDDYYYY for the US, YYYYMMDD for Canada.

Returns null if not available.

public String getIssuingCountry ()

Gets the three-letter country code in which DL/ID was issued.

Returns null if not available.

public String getLastName ()

Gets holder's last name.

Returns null if not available.

public String getLicenseNumber ()

Gets driver license ID number.

Returns null if not available.

public String getMiddleName ()

Gets holder's middle name.

Returns null if not available.