endBookingNowLiveData

abstract fun endBookingNowLiveData(booking: Booking): LiveData<SimpleResponse<Void>?>

Ends an existing booking. That call is used for currently ongoing bookings.

Returns a LiveData with the response of this operation (Response).

After logout LiveData.getValue is set to null. You need to re-observe this LiveData once the user is logged out!