public class RideEstimate
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RideEstimate.Estimate
Details of an estimate for a product that does not use up front pricing.
|
static class |
RideEstimate.Fare
Details of the fare for a product that uses up front pricing.
|
static class |
RideEstimate.Trip
Details of the estimated distance.
|
| Constructor and Description |
|---|
RideEstimate() |
| Modifier and Type | Method and Description |
|---|---|
RideEstimate.Estimate |
getEstimate()
Details of the estimate, if null, use
getFare(). |
RideEstimate.Fare |
getFare()
Details of the fare, if null, use
getEstimate(). |
java.lang.Integer |
getPickupEstimate()
The estimated time of vehicle arrival in minutes.
|
RideEstimate.Trip |
getTrip()
Details of the estimated distance.
|
@Nullable public RideEstimate.Fare getFare()
getEstimate().@Nullable public RideEstimate.Estimate getEstimate()
getFare().@Nullable public RideEstimate.Trip getTrip()
@Nullable public java.lang.Integer getPickupEstimate()