Use Case

USE CASE

I. Actors

  • Guest/User: Wants to book a room.

  • System (Booking Platform): Facilitates booking.

  • Hotel Staff: Manages bookings.

  • Payment Gateway: Processes payments.

II. Goal

Enable guests to book rooms online while updating hotel staff in real time.

III. Preconditions

  • Guest has internet access and a device.

  • Room availability is updated in the system.

  • Guest has a valid payment method.

IV. Postconditions

  • Room is successfully booked, and the guest receives confirmation.

  • System updates room inventory and processes payment.

V. Main Success Scenario

  1. Guest visits the booking platform.

  2. System shows available rooms based on selected dates.

  3. Guest selects room, enters details, and reviews the total price.

  4. Guest confirms booking with payment details.

  5. Payment is processed, and confirmation is sent to the guest.

  6. Hotel staff is notified, and room availability is updated.

VI. Alternative Flows

  • Room Not Available: System suggests alternative rooms/dates.

  • Payment Failure: Guest re-enters payment details or chooses another method.

  • Booking Modification: Guest can modify booking before confirmation.

VII. Exceptions

  • Internet Issues: Progress is saved, guest can resume later.

  • Overbooking: System notifies guest and suggests alternatives.

VIII. Assumptions

  • Guest has a valid payment method.

  • System handles high traffic and real-time updates.

IX. Special Requirements

  • Security: Must have encryption for payment and data security.

  • User-Friendly Interface: Platform should be intuitive and easy to use.