public class Ride
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ride.Status
Represents all possible Ride statuses
|
| Constructor and Description |
|---|
Ride() |
| Modifier and Type | Method and Description |
|---|---|
Location |
getDestination() |
Driver |
getDriver()
The object that contains driver details.
|
Location |
getLocation()
The object that contains the location information of the vehicle and driver.
|
Location |
getPickup() |
java.lang.String |
getProductId()
The product ID associated to the Ride.
|
java.lang.String |
getRideId()
The unique ID of the ride.
|
Ride.Status |
getStatus()
The status of the ride indicating state.
|
java.lang.Float |
getSurgeMultiplier()
The surge pricing multiplier used to calculate the increased price of a Request.
|
Vehicle |
getVehicle()
The object that contains vehicle details.
|
boolean |
isShared()
Indicates whether the ride is a shared ride or not.
|
public java.lang.String getRideId()
public Ride.Status getStatus()
@Nullable public Driver getDriver()
@Nullable public Location getLocation()
@Nullable public Vehicle getVehicle()
@Nullable public java.lang.Float getSurgeMultiplier()
public java.lang.String getProductId()
public boolean isShared()
@Nullable public Location getPickup()
@Nullable public Location getDestination()