# Google Maps FleetEngine V1 Client - Class TerminalLocation (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 TerminalLocation.

Describes the location of a waypoint.

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

## Namespace

Google \\ Maps \\ FleetEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ point` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html` Required. Denotes the location of a trip waypoint. |
| `↳ terminal_point_id` | `TerminalPointId` Deprecated: Specify the `point` field instead. |
| `↳ access_point_id` | `string` Deprecated: Specify the `point` field instead. |
| `↳ trip_id` | `string` Deprecated. |
| `↳ terminal_location_type` | `int` Deprecated: `Vehicle.waypoint` will have this data. |

### getPoint

Required. Denotes the location of a trip waypoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html|null` |   |

### hasPoint

### clearPoint

### setPoint

Required. Denotes the location of a trip waypoint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html` |

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

### getTerminalPointId

Deprecated: Specify the `point` field instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TerminalPointId|null` |   |

### hasTerminalPointId

### clearTerminalPointId

### setTerminalPointId

Deprecated: Specify the `point` field instead.

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

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

### getAccessPointId

Deprecated: Specify the `point` field instead.

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

### setAccessPointId

Deprecated: Specify the `point` field instead.

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

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

### getTripId

Deprecated.

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

### setTripId

Deprecated.

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

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

### getTerminalLocationType

Deprecated: `Vehicle.waypoint` will have this data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setTerminalLocationType

Deprecated: `Vehicle.waypoint` will have this data.

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

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