public abstract class TransportationNetworkCompanyDataSource extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
wheelChairAccessibleRideType |
Constructor and Description |
---|
TransportationNetworkCompanyDataSource() |
Modifier and Type | Method and Description |
---|---|
List<ArrivalTime> |
getArrivalTimes(double latitude,
double longitude) |
List<RideEstimate> |
getRideEstimates(double startLatitude,
double startLongitude,
double endLatitude,
double endLongitude) |
abstract TransportationNetworkCompany |
getTransportationNetworkCompanyType() |
protected boolean |
productIsWheelChairAccessible(String productId) |
protected abstract List<ArrivalTime> |
queryArrivalTimes(Position position) |
protected abstract List<RideEstimate> |
queryRideEstimates(RideEstimateRequest request) |
protected String wheelChairAccessibleRideType
public TransportationNetworkCompanyDataSource()
public abstract TransportationNetworkCompany getTransportationNetworkCompanyType()
public List<ArrivalTime> getArrivalTimes(double latitude, double longitude) throws ExecutionException
ExecutionException
protected abstract List<ArrivalTime> queryArrivalTimes(Position position) throws IOException
IOException
public List<RideEstimate> getRideEstimates(double startLatitude, double startLongitude, double endLatitude, double endLongitude) throws ExecutionException
ExecutionException
protected abstract List<RideEstimate> queryRideEstimates(RideEstimateRequest request) throws IOException
IOException
protected boolean productIsWheelChairAccessible(String productId)
Copyright © 2020. All rights reserved.