PickupPointOrder

  • Pickup point order determines how a list of pickup points is sorted for display to the user.

  • Ordering options include distance from the search location, walking time from the search location, and driving time from the pickup point to the user's destination.

  • By default, pickup points are ordered by their straight-line distance from the search location (DISTANCE_FROM_ORIGIN).

  • Ordering by driving time requires specifying a destination and enabling driving ETA calculation.

Value of the pickup point order.

Enums
PICKUP_POINT_ORDER_UNSPECIFIED Pickup point order unspecified. Default to DISTANCE_FROM_ORIGIN.
DISTANCE_FROM_SEARCH_LOCATION Ascending order of straight-line distance from the search location to the returned pickup point.
WALKING_ETA_FROM_SEARCH_LOCATION Ascending order by the consumer's walking time from the search location to the pickup point.
DRIVING_ETA_FROM_PICKUP_POINT_TO_DESTINATION Ascending order by driving ETA from pickup point to the consumer's destination. This mode can only be used when a destination is set and computeDrivingEta is true. When multiple travelModes are give in request, the ordering is based on the first travelMode in the request.