Preparing your design workspace

Loading the problem and your saved attempt…

Design a Delivery Slot Booking Domain

Model delivery-slot capacity, expiring holds, confirmation, cancellation, and concurrent booking outcomes.

Design the object-oriented domain for booking a delivery time slot. For this exercise, assume fulfillment operators publish capacity for a delivery area and time window. A customer can list availability, place a five-minute hold for an order, confirm it, cancel it, and recover the result of a timed-out request.

Active holds plus confirmed bookings must never exceed published capacity, repeated commands must return one durable outcome, and an operator request to reduce capacity below accepted consumption is rejected without changing capacity.

Keep route planning, payment, inventory picking, and courier assignment outside scope. Produce a class or component diagram, focused public contracts, and an interaction walkthrough; implementation code is not required.