fun delete(version: Int, identifier: String): Unit
Deletes a booking.
version - current version of the entity
identifier - identifier of booking
com.srv4pos.server.api.exceptions.VersionConflictJsonException - if version mismatch
com.srv4pos.server.api.exceptions.NotFoundJsonException - if booking or seller wasn't found
com.srv4pos.server.api.exceptions.ForbiddenJsonException - see:
ForbiddenErrorType.INSUFFICIENT_ACCESS_RIGHTS