RE_UC4 - luist18/feup-aeda-proj GitHub Wiki
Use Case 4: Manage rented vehicles
Description
Managing a vehicle is an operation that can be performed by either the client or the client company, both referred as a renter from now on. The renter has a set of operations related to the vehicles that they are currently renting, such as deliver vehicle.
The process of delivering a vehicle consists of scheduling a date to deliver the vehicle earlier than the predefined date - by default, the delivery date is the final date of the contract. The remaining hours will still be charged.
Actors
Primary actor
- Renter
Stakeholders
- Renter
- Company
Pre-conditions
The renter must be renting at least one vehicle.
Success guarantees
A vehicle is delivered.
Steps
- The renter requests the management of their rented vehicles.
- The systems asks the renter to select the operation.
- The renter intends to schedule the vehicle delivery date.
- The systems asks to select an active rental.
- The renter selects a rental.
- The system asks for a suitable delivery date.
- The renter inserts a delivery date.
- The system registers the delivery date.
Suitable delivery date, a date before the final date of the contract and within the working interval of the company.
Variations
The renter wishes to cancel the use case.
The use case is aborted.
-
The delivery date is invalid.
The system asks for a new delivery date (step 4).
Issues
None.