MPBooking Service
Functions
Link copied to clipboard
open fun cancelBooking(@NonNull booking: MPBooking, @NonNull listener: OnResultAndDataReadyListener<MPBooking>)
Content copied to clipboard
Cancels the booking
Link copied to clipboard
open fun getBookableLocations(@NonNull query: MPBookableQuery, @NonNull completion: OnResultAndDataReadyListener<List<MPLocation>>)
Content copied to clipboard
Performs a request for all available locations that fit the provided query.
Link copied to clipboard
open fun getBookingsUsingQuery(@NonNull query: MPBookingsQuery, @NonNull completion: OnResultAndDataReadyListener<List<MPBooking>>)
Content copied to clipboard
Performs a request for all bookings that fit the provided query.
Link copied to clipboard
Link copied to clipboard
open fun getLocationsConfiguredForBooking(completion: OnResultAndDataReadyListener<List<MPLocation>>)
Content copied to clipboard
Performs a request for all bookable locations.
Link copied to clipboard
open fun performBooking(@NonNull booking: MPBooking, @NonNull listener: OnResultAndDataReadyListener<MPBooking>)
Content copied to clipboard
Performs a request to the service provider to insert the provided booking
Link copied to clipboard
Adds authentication credentials to booking service requests.