public abstract class RideOfferBase extends RideOffer implements Parcelable
RideOffer.TransitType, RideOffer.Visitor<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
RideOfferBase() |
Modifier and Type | Method and Description |
---|---|
abstract Long |
getEstimatedDropOffTime()
Deprecated.
This field is deprecated, please use
RideOfferBase.getEstimatedRideDurationSeconds() instead
to avoid timezone differences issues. |
abstract Long |
getEstimatedDurationMs()
Deprecated.
This field is deprecated, please use
RideOfferBase.getEstimatedRideDurationSeconds() instead
to avoid timezone differences issues. |
abstract Long |
getEstimatedPickupTime()
Deprecated.
This field is deprecated, please use
RideOfferBase.getEstimatedPickupTimeSeconds() instead
to avoid timezone differences issues. |
abstract Integer |
getEstimatedPickupTimeSeconds()
Optional.
|
abstract PriceEstimate |
getEstimatedPrice()
Price estimation, if provided by the supplier.
|
abstract Integer |
getEstimatedRideDurationSeconds()
Optional.
|
abstract PaymentTypeFilter |
getPaymentTypes()
The payment types relevant to this offer
|
abstract RideWaypoints |
getRoute()
The route which we can supply transport to.
|
abstract RideOffer.TransitType |
getType()
The type of the offer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract RideOffer.TransitType getType()
public abstract RideWaypoints getRoute()
@Deprecated public abstract Long getEstimatedPickupTime()
RideOfferBase.getEstimatedPickupTimeSeconds()
instead
to avoid timezone differences issues.@Deprecated public abstract Long getEstimatedDropOffTime()
RideOfferBase.getEstimatedRideDurationSeconds()
instead
to avoid timezone differences issues.public abstract Long getEstimatedDurationMs()
RideOfferBase.getEstimatedRideDurationSeconds()
instead
to avoid timezone differences issues.public abstract PriceEstimate getEstimatedPrice()
public abstract Integer getEstimatedPickupTimeSeconds()
String arrivalTime = "Your ride will arrive in " + RideOfferBase.getEstimatedPickupTimeSeconds()
+ " seconds"
public abstract Integer getEstimatedRideDurationSeconds()
public abstract PaymentTypeFilter getPaymentTypes()