Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getProducts :: Settings -> LatLng -> IO (Response GET ProductsR)
- getProductDetails :: Settings -> ProductId -> IO (Response GET ProductDetailsR)
- getPriceEstimate :: Settings -> PriceEstimateParams -> IO (Response GET PriceEstimateR)
- getTimeEstimate :: Settings -> TimeEstimateParams -> IO (Response GET TimeEstimateR)
- getHistory :: Settings -> HistoryParams -> IO (Response GET HistoryR)
- getUserInfo :: Settings -> IO (Response GET UserInfoR)
- requestARide :: Settings -> RideReqParams -> IO (Response POST RequestRideR)
- getCurrentRequest :: Settings -> IO (Response GET CurrentRequestR)
- updateCurrentRequest :: Settings -> RidePatchParams -> IO (Response PATCH CurrentRequestR)
- cancelCurrentRequest :: Settings -> IO (Response DELETE CurrentRequestR)
- getRideEstimate :: Settings -> RideReqParams -> IO (Response POST RideEstimateR)
- type RideId = Text
- type PlaceId = Text
- type ReminderId = Text
- getRideStatus :: Settings -> RideId -> IO (Response GET RideR)
- cancelRide :: Settings -> RideId -> IO (Response GET RideR)
- updateRide :: Settings -> RideId -> RidePatchParams -> IO (Response PATCH RideR)
- getTrackingMap :: Settings -> RideId -> IO (Response GET TrackingMapR)
- getReceipt :: Settings -> RideId -> IO (Response GET ReceiptR)
- getAddress :: Settings -> PlaceId -> IO (Response GET PlaceR)
- updateAddress :: Settings -> PlaceId -> Address -> IO (Response PUT PlaceR)
- getPaymentMethods :: Settings -> IO (Response GET PaymentMethodR)
- createReminder :: Settings -> ReminderParams -> IO (Response POST CreateReminderR)
- getReminderInfo :: Settings -> ReminderId -> IO (Response GET ReminderR)
- deleteReminder :: Settings -> ReminderId -> IO (Response DELETE ReminderR)
- updateReminder :: Settings -> ReminderId -> ReminderPatchParams -> IO (Response PATCH ReminderR)
- addV1 :: ClientSettings -> ClientSettings
- addV12 :: ClientSettings -> ClientSettings
Documentation
getProducts :: Settings -> LatLng -> IO (Response GET ProductsR) Source
Returns information about the Uber products offered at a given location
getProductDetails :: Settings -> ProductId -> IO (Response GET ProductDetailsR) Source
Returns information aboit a specific Uber product
getPriceEstimate :: Settings -> PriceEstimateParams -> IO (Response GET PriceEstimateR) Source
Returns an estimated price range for each product offered at a given location
getTimeEstimate :: Settings -> TimeEstimateParams -> IO (Response GET TimeEstimateR) Source
Returns ETAs for all products offered at a given location
getHistory :: Settings -> HistoryParams -> IO (Response GET HistoryR) Source
Returns data about a user’s activity with Uber
getUserInfo :: Settings -> IO (Response GET UserInfoR) Source
Returns information about the Uber user that has authorized with the application
requestARide :: Settings -> RideReqParams -> IO (Response POST RequestRideR) Source
Requests a ride on behalf of an Uber user
getCurrentRequest :: Settings -> IO (Response GET CurrentRequestR) Source
Returns the real-time details for an ongoing trip
updateCurrentRequest :: Settings -> RidePatchParams -> IO (Response PATCH CurrentRequestR) Source
Updates an ongoing request’s destination
cancelCurrentRequest :: Settings -> IO (Response DELETE CurrentRequestR) Source
Cancels the user's current trip
getRideEstimate :: Settings -> RideReqParams -> IO (Response POST RideEstimateR) Source
Gets a ride's estimates given the desired product, start, and end locations
type ReminderId = Text Source
getRideStatus :: Settings -> RideId -> IO (Response GET RideR) Source
Gets the status of an ongoing or completed trip
cancelRide :: Settings -> RideId -> IO (Response GET RideR) Source
Cancels an ongoing Request on behalf of a rider
updateRide :: Settings -> RideId -> RidePatchParams -> IO (Response PATCH RideR) Source
Updates an ongoing request’s destination
getTrackingMap :: Settings -> RideId -> IO (Response GET TrackingMapR) Source
Gets a map for an accepted Request
getReceipt :: Settings -> RideId -> IO (Response GET ReceiptR) Source
Gets the receipt information of the completed request
getAddress :: Settings -> PlaceId -> IO (Response GET PlaceR) Source
Retrieves home and work addresses from an Uber user's profile
updateAddress :: Settings -> PlaceId -> Address -> IO (Response PUT PlaceR) Source
Updates home and work addresses for an Uber user's profile
getPaymentMethods :: Settings -> IO (Response GET PaymentMethodR) Source
Retrievs the list of user’s available payment methods
createReminder :: Settings -> ReminderParams -> IO (Response POST CreateReminderR) Source
Sets a reminder for a future trip
getReminderInfo :: Settings -> ReminderId -> IO (Response GET ReminderR) Source
Gets the status of an existing ride reminder
deleteReminder :: Settings -> ReminderId -> IO (Response DELETE ReminderR) Source
Removes any reminder in the pending state from being sent
updateReminder :: Settings -> ReminderId -> ReminderPatchParams -> IO (Response PATCH ReminderR) Source
Updates an existing reminder