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