> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/mobile-sdk/native/android/api-reference/classes/driverlicensedata.md).

# DriverLicenseData

**public class** DriverLicenseData **implements** Serializable

↳ **package** com.onekosmos.blockid.sdk.cameramodule.camera.dlModule.model

***

Model class to represent Drivers License document data.

**NOTE**: Refer [this](https://docs.scandit.com/parser/dlid.html) page to get more details on all the attributes used in DriverLicenseData model class.

### Constructor

**public** DriverLicenseData(String documentType, String documentId, String firstName, String lastName, String middleName, String city, String country, String height, String gender, String state, String zipCode, String street, String dob, String doe, String doi, String eyeColor)

* Creates an object of DriverLicenseData.

| Parameter    |                                                             |
| ------------ | ----------------------------------------------------------- |
| documentType | **String**: Type of document.                               |
| documentId   | **String**: Document identifier.                            |
| firstName    | **String**: First name of the Drivers License holder.       |
| lastName     | **String**: Last name of the Drivers License holder.        |
| middleName   | **String**: Middle name of the Drivers License holder.      |
| city         | **String**: City of the Drivers License holder.             |
| country      | **String**: Country of the Drivers License holder.          |
| height       | **String**: Height of the Drivers License holder.           |
| gender       | **String**: Gender of the Drivers License holder.           |
| state        | **String**: State of the Drivers License holder.            |
| zipCode      | **String**: Zipcode of the Drivers License holder.          |
| street       | **String**: Street details of the Drivers License holder.   |
| dob          | **String**: Date of birth of the Drivers License holder.    |
| doe          | **String**: Date of expiry of the Drivers License document. |
| doi          | **String**: Date of issue of the Drivers License document.  |
| eyeColor     | **String**: Eye colour of the Drivers License holder.       |

### Method Summary

| Type       | Name                            | Summary                                                                         |
| ---------- | ------------------------------- | ------------------------------------------------------------------------------- |
| **String** | getAkaDateOfBirth()             | Returns date of birth of Drivers License document holder.                       |
| **String** | getAkaFamilyName()              | Returns family name of Drivers License document holder.                         |
| **String** | getAkaFirstName()               | Returns first name of Drivers License document holder.                          |
| **String** | getAkaGivenName()               | Returns given name of Drivers License document holder.                          |
| **String** | getAkaLastName()                | Returns last name of Drivers License document holder.                           |
| **String** | getAkaMiddleName()              | Returns middle name of Drivers License document holder.                         |
| **String** | getAkaSocialSecurityNumber()    | Returns the SSN (Social Security Number) of Drivers License document holder.    |
| **String** | getAkaSuffix()                  | Returns the suffix detail of Drivers License document holder.                   |
| **String** | getCity()                       | Returns the city of Drivers License document holder.                            |
| **String** | getClassificationCode()         | Returns the classification code of Drivers License document.                    |
| **String** | getComplianceType()             | Returns the compliance type details of Drivers License document.                |
| **String** | getCountry()                    | Returns the country of Drivers License document holder.                         |
| **String** | getDateOfBirth()                | Returns date of birth of Drivers License document holder.                       |
| **String** | getDateOfExpiry()               | Returns date of expiry of Drivers License document.                             |
| **String** | getDateOfIssue()                | Returns date of issue of Drivers License document.                              |
| **String** | getDiscriminatorNumber()        | Returns discrimination number of Drivers License document.                      |
| **String** | getDocumentId()                 | Returns document ID (number) of Drivers License document.                       |
| **String** | getDocumentType()               | Returns document type of Drivers License document.                              |
| **String** | getEndorsementsCode()           | Returns endorsement code of Drivers License document.                           |
| **String** | getEyeColor()                   | Returns eye colour detail of Drivers License document holder.                   |
| **String** | getFamilyName()                 | Returns family name of Drivers License document holder.                         |
| **String** | getFirstName()                  | Returns first name of Drivers License document holder.                          |
| **String** | getFullName()                   | Returns full name of Drivers License document holder.                           |
| **String** | getGender()                     | Returns gender information of Drivers License document holder.                  |
| **String** | getGivenName()                  | Returns given name of Drivers License document holder.                          |
| **String** | getHeight()                     | Returns height of Drivers License document holder.                              |
| **String** | getInventoryControlNumber()     | Returns inventory control number of Drivers License document.                   |
| **String** | getIssuerIdentificationNumber() | Returns IIN (Issuer Identification Number) details of Drivers License document. |
| **String** | getLastName()                   | Returns last name of Drivers License document holder.                           |
| **String** | getMiddleName()                 | Returns middle name of Drivers License document holder.                         |
| **String** | getNameSuffix()                 | Returns name suffix detail of Drivers License document holder.                  |
| **String** | getOrganDonor()                 | Returns the organ donor information of Drivers License document holder.         |
| **String** | getPlaceOfBirth()               | Returns the place of birth of Drivers License document holder.                  |
| **String** | getResidenceCity()              | Returns the resident city of Drivers License document holder.                   |
| **String** | getResidenceState()             | Returns the resident state of Drivers License document holder.                  |
| **String** | getResidenceZipCode()           | Returns the resident zipcode associated with Drivers License document.          |
| **String** | getRestrictionCode()            | Returns the restriction code associated with Drivers License document.          |
| **String** | getSocialSecurityNumber()       | Returns the SSN (Social Security Number) of Drivers License document holder.    |
| **String** | getState()                      | Returns the state of Drivers License document holder.                           |
| **String** | getStreet()                     | Returns the street details of Drivers License document holder.                  |
| **String** | getSuffixName()                 | Returns the suffix name of Drivers License document holder.                     |
| **String** | getVehicleCodes()               | Returns the vehicle codes associated with Drivers License document.             |
| **String** | getVeteran()                    | Returns veteran information associated with Drivers License document.           |
| **String** | getZipCode()                    | Returns the Zipcode associated with Drivers License document.                   |

### Method Detail

***

#### getAkaDateOfBirth

**public** String getAkaDateOfBirth()

* Returns date of birth of Drivers License document holder.

***

#### getAkaFamilyName

**public** String getAkaFamilyName()

* Returns family name of Drivers License document holder.

***

#### getAkaFirstName

**public** String getAkaFirstName()

* Returns first name of Drivers License document holder.

***

#### getAkaGivenName

**public** String getAkaGivenName()

* Returns given name of Drivers License document holder.

***

#### getAkaLastName

**public** String getAkaLastName()

* Returns last name of Drivers License document holder.

***

#### getAkaMiddleName

**public** String getAkaMiddleName()

* Returns middle name of Drivers License document holder.

***

#### getAkaSocialSecurityNumber

**public** String getAkaSocialSecurityNumber()

* Returns the SSN (Social Security Number) of Drivers License document holder.

***

#### getAkaSuffix

**public** String getAkaSuffix()

* Returns the suffix detail of Drivers License document holder.

***

#### getCity

**public** String getCity()

* Returns the city of Drivers License document holder.

***

#### getClassificationCode

**public** String getClassificationCode()

* Returns the classification code of Drivers License document.

***

#### getComplianceType

**public** String getComplianceType()

* Returns the compliance type details of Drivers License document.

***

#### getCountry

**public** String getCountry()

* Returns the country of Drivers License document holder.

***

#### getDateOfBirth

**public** String getDateOfBirth()

* Returns date of birth of Drivers License document holder.

***

#### getDateOfExpiry

**public** String getDateOfExpiry()

* Returns date of expiry of Drivers License document.

***

#### getDateOfIssue

**public** String getDateOfIssue()

* Returns date of issue of Drivers License document.

***

#### getDiscriminatorNumber

**public** String getDiscriminatorNumber()

* Returns discrimination number of Drivers License document.

***

#### getDocumentId

**public** String getDocumentId()

* Returns document ID (number) of Drivers License document.

***

#### getDocumentType

**public** String getDocumentType()

* Returns document type of Drivers License document.

***

#### getEndorsementsCode

**public** String getEndorsementsCode()

* Returns endorsement code of Drivers License document.

***

#### getEyeColor

**public** String getEyeColor()

* Returns eye colour detail of Drivers License document holder.

***

#### getFamilyName

**public** String getFamilyName()

* Returns family name of Drivers License document holder.

***

#### getFirstName

**public** String getFirstName()

* Returns first name of Drivers License document holder.

***

#### getFullName

**public** String getFullName()

* Returns full name of Drivers License document holder.

***

#### getGender

**public** String getGender()

* Returns gender information of Drivers License document holder.

***

#### getGivenName

**public** String getGivenName()

* Returns given name of Drivers License document holder.

***

#### getHeight

**public** String getHeight()

* Returns height of Drivers License document holder.

***

#### getInventoryControlNumber

**public** String getInventoryControlNumber()

* Returns inventory control number of Drivers License document.

***

#### getIssuerIdentificationNumber

**public** String getIssuerIdentificationNumber()

* Returns IIN (Issuer Identification Number) details of Drivers License document.

***

#### getLastName

**public** String getLastName()

* Returns last name of Drivers License document holder.

***

#### getMiddleName

**public** String getMiddleName()

* Returns middle name of Drivers License document holder.

***

#### getNameSuffix

**public** String getNameSuffix()

* Returns name suffix detail of Drivers License document holder.

***

#### getOrganDonor

**public** String getOrganDonor()

* Returns the organ donor information of Drivers License document holder.

***

#### getPlaceOfBirth

**public** String getPlaceOfBirth()

* Returns the place of birth of Drivers License document holder.

***

#### getResidenceCity

**public** String getResidenceCity()

* Returns the resident city of Drivers License document holder.

***

#### getResidenceState

**public** String getResidenceState()

* Returns the resident state of Drivers License document holder.

***

#### getResidenceZipCode

**public** String getResidenceZipCode()

* Returns the resident zipcode associated with Drivers License document.

***

#### getRestrictionCode

**public** String getRestrictionCode()

* Returns the restriction code associated with Drivers License document.

***

#### getSocialSecurityNumber

**public** String getSocialSecurityNumber()

* Returns the SSN (Social Security Number) of the driver's license document holder.

***

#### getState

**public** String getState()

* Returns the state of Drivers License document holder.

***

#### getStreet

**public** String getStreet()

* Returns the street details of Drivers License document holder.

***

#### getSuffixName

**public** String getSuffixName()

* Returns the suffix name of Drivers License document holder.

***

#### getVehicleCodes

**public** String getVehicleCodes()

* Returns the vehicle codes associated with the driver's license document.

***

#### getVeteran

**public** String getVeteran()

* Returns veteran information associated with the driver's license document.

***

#### getZipCode

**public** String getZipCode()

* Returns the ZIP code associated with the driver's license document.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.1kosmos.com/mobile-sdk/native/android/api-reference/classes/driverlicensedata.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
