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

  1. The renter requests the management of their rented vehicles.
  2. The systems asks the renter to select the operation.
  3. The renter intends to schedule the vehicle delivery date.
  4. The systems asks to select an active rental.
  5. The renter selects a rental.
  6. The system asks for a suitable delivery date.
  7. The renter inserts a delivery date.
  8. 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.

  1. The delivery date is invalid.

    The system asks for a new delivery date (step 4).

Issues

None.