Options
All
  • Public
  • Public/Protected
  • All
Menu

The details for a trip returned by Fleet Engine.

Hierarchy

  • Trip

Index

Properties

actualDropOffLocation: null | LatLngLiteral

Location where the customer was dropped off.

actualPickupLocation: null | LatLngLiteral

Location where the customer was picked up.

dropOffTime: null | Date

The estimated future time when the passengers will be dropped off, or the actual time when they were dropped off.

latestVehicleLocationUpdate: null | VehicleLocationUpdate

Information specific to the last location update.

name: string

In the format "providers/{provider_id}/trips/{trip_id}". The trip_id must be a unique identifier.

passengerCount: number

Number of passengers on this trip; does not include the driver.

pickupTime: null | Date

The estimated future time when the passengers will be picked up, or the actual time when they were picked up.

plannedDropOffLocation: null | LatLngLiteral

Location where the customer indicates they will be dropped off.

plannedPickupLocation: null | LatLngLiteral

Location where customer indicates they will be picked up.

remainingWaypoints: VehicleWaypoint[]

An array of waypoints indicating the path from the current location to the drop-off point.

status: string

Current status of the trip. Possible values are UNKNOWN_TRIP_STATUS, NEW, ENROUTE_TO_PICKUP, ARRIVED_AT_PICKUP, ARRIVED_AT_INTERMEDIATE_DESTINATION, ENROUTE_TO_INTERMEDIATE_DESTINATION, ENROUTE_TO_DROPOFF, COMPLETE, or CANCELED.

type: string

The type of the trip. Possible values are UNKNOWN_TRIP_TYPE, SHARED or EXCLUSIVE.

vehicleId: string

ID of the vehicle making this trip.

Generated using TypeDoc