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

The actual location where a stop (pickup/dropoff) happened.

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

## 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 actual location. |
| `↳ timestamp` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Indicates when the stop happened. |
| `↳ stop_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Input only. Deprecated. Use the timestamp field. |

### getPoint

Required. Denotes the actual location.

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

### hasPoint

### clearPoint

### setPoint

Required. Denotes the actual location.

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

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

### getTimestamp

Indicates when the stop happened.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasTimestamp

### clearTimestamp

### setTimestamp

Indicates when the stop happened.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getStopTime

Input only. Deprecated. Use the timestamp field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStopTime

### clearStopTime

### setStopTime

Input only. Deprecated. Use the timestamp field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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