public abstract class RideOffersRequest extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
RideOffersRequest.Builder
Builder to create
RideOffersRequest object. |
static class |
RideOffersRequest.SortType
How to sort the offers
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
RideOffersRequest() |
Modifier and Type | Method and Description |
---|---|
static RideOffersRequest.Builder |
builder()
Builder to create
RideOffersRequest object. |
abstract BookingConstraints |
getConstraints()
Conditions that the supplier must accommodate, such as number of passengers, wheelchair
access, etc.
|
abstract String |
getLocale()
The locale to use for the
RideOffer . |
abstract Integer |
getMaxNumberOfOffers()
Optional Maximum number of offers to be returned
|
abstract String |
getPassengerNote()
Optional note from the passenger.
|
abstract PaymentTypeFilter |
getPaymentTypeFilter()
Optional payment Type filter.
|
abstract Long |
getPrebookPickupTime()
Optional pre-booked pickup time, if the ride is requested for more than 30 minutes in the
future.
|
abstract PriceRange |
getPriceRange()
Optional price range acceptable to the passenger.
|
abstract RideWaypoints |
getRideWaypoints()
The requested route.
|
abstract RideOffersRequest.SortType |
getSortType()
Optional sort type.
|
abstract TransitOptions |
getTransitOptions()
Optional Transit options.
|
abstract Collection<RideOffer.TransitType> |
getTransportTypeFilter()
Optional Transport type Filter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public static RideOffersRequest.Builder builder()
RideOffersRequest
object.public abstract RideWaypoints getRideWaypoints()
public abstract BookingConstraints getConstraints()
public abstract Long getPrebookPickupTime()
public abstract PriceRange getPriceRange()
public abstract RideOffersRequest.SortType getSortType()
public abstract String getPassengerNote()
public abstract TransitOptions getTransitOptions()
public abstract String getLocale()
RideOffer
.
Indicates the language of passenger. Will be used to determine language of addresses and SMSs sent to demander.
Complies with the ISO 639-1 standard and defaults to MobilitySdk#getUserPreferences()#getLocale()
.public abstract Collection<RideOffer.TransitType> getTransportTypeFilter()
public abstract Integer getMaxNumberOfOffers()
public abstract PaymentTypeFilter getPaymentTypeFilter()