Automatic Teller Machine (ATM)
Use Cases

Overview

Use cases describe domain processes in a structured prose format. One of the primary objective of use cases is to identify the actors. An actor in a use case is an external agent that uses or interacts with the system. There is one initiator actor and possibly several participating actors. In a nutshell, use case

"A use case is our construct for a business process. It shows the course of events." "A use case is a sequence of transactions in a system whose task is to yield a result of measurable value to an individual actor of the system."

- Ivar Jacobson



Use Case Name : Login

Description : A banking customer will logon to the automatic teller machine, and thereby gain access to their account, to conduct transactions.

Actors : Banking customer (initiator).

Type : Primary/Analysis

Related Use Cases : None.

Preconditions :

Basic Course of Events :


  1. This use case begins when a banking customer inserts their bankcard into the automatic teller machine.
  2. The automatic teller machine (ATM) reads the bankcard and prompts the banking customer for their personal identification number (PIN).
  3. The banking customer enters their PIN number.
  4. The ATM prompts for a transaction type.

Post Conditions :


    None

Alternatives :


    None



Use Case Name : Logout

Description : A banking customer ends their transaction with the ATM.

Actors : Banking customer (initiator).

Type : Primary/Analysis

Related Use Cases : None.

Preconditions :

Basic Course of Events :


  1. This use case begins when a banking customer elects no further transactions.
  2. The ATM returns the customer's bankcard.

Post Conditions :


    Banking customer removes bankcard from the automatic teller machine.

Alternatives :


    None



Use Case Name : Withdraw Cash

Description : A banking customer withdraws cash from their account.

Actors : Banking customer (initiator).

Type : Primary/Analysis

Related Use Cases : None.

Preconditions :

Basic Course of Events :


  1. This use case begins when the banking customer elects to withdraw cash from their account.
  2. The ATM prompts for the amount to withdraw (in increments of $10).
  3. The banking customer enters the amout to withdraw.
  4. The ATM checks to see if the banking customer's daily limit of $200 has been reached.
  5. The ATM checks to see if the banking customer's account has sufficient funds to complete the transaction.
  6. The ATM dispenses the requested cash to the banking customer and the customer's account in the same amount as the cash dispensed.
  7. The ATM prints a transaction receipt.
  8. The ATM returns the customer's bankcard.

Post Conditions :


    Banking customer removes bankcard from the automatic teller machine.

Alternatives :