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 \ V1Methods
__construct
Constructor.
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.
string
setCountryCode
Required. CLDR Country/Region Code. For example, US
for United States,
or IN
for India.
var
string
$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"
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"
var
string
$this