# Google Maps FleetEngine V1 Client - Class LicensePlate (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.1 0.2.0 0.1.6 Reference documentation and code samples for the Google Maps FleetEngine V1 Client class LicensePlate.

The license plate information of the Vehicle. To avoid storing
personally-identifiable information, only the minimum information
about the license plate is stored as part of the entity.

Generated from protobuf message `maps.fleetengine.v1.LicensePlate`

## Namespace

Google \\ Maps \\ FleetEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ country_code` | `string` Required. CLDR Country/Region Code. For example, `US` for United States, or `IN` for India. |
| `↳ last_character` | `string` The last digit of the license plate or "-1" to denote no numeric value is present in the license plate. \* \* "ABC 1234" -\> "4" \* \* "AB 123 CD" -\> "3" \* \* "ABCDEF" -\> "-1" |

### getCountryCode

Required. CLDR Country/Region Code. For example, `US` for United States,
or `IN` for India.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCountryCode

Required. CLDR Country/Region Code. For example, `US` for United States,
or `IN` for India.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLastCharacter

The last digit of the license plate or "-1" to denote no numeric value
is present in the license plate.

- "ABC 1234" -\> "4"
- "AB 123 CD" -\> "3"
- "ABCDEF" -\> "-1"

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLastCharacter

The last digit of the license plate or "-1" to denote no numeric value
is present in the license plate.

- "ABC 1234" -\> "4"
- "AB 123 CD" -\> "3"
- "ABCDEF" -\> "-1"

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |