Title: Deposit Funds
Primary Actor: Bank Customer
Goal in Context: The customer wants to deposit funds into their bank account.
Preconditions:
- The customer must have a valid bank account with the bank.
- The customer must have access to the bank's online banking system.
Trigger: The customer selects the "Deposit Funds" option in the online banking system.
Scenario:
- The system displays the "Deposit Funds" screen, which prompts the customer to select the account they want to deposit funds into.
- The customer selects the account they want to deposit funds into from a drop-down menu.
- The system displays the current balance of the selected account.
- The customer enters the amount they want to deposit into the account.
- The system prompts the customer to verify the amount they want to deposit.
- The customer confirms the deposit amount.
- The system prompts the customer to select the source of the funds (e.g., checking account, savings account, credit card, etc.).
- The customer selects the source of the funds from a drop-down menu.
- The system prompts the customer to confirm the deposit.
- The customer confirms the deposit.
- The system displays a confirmation screen with the details of the deposit, including the account number, the deposit amount, the source of the funds, and the date and time of the deposit.
- The system updates the account balance and transaction history.
Postconditions:
- The customer's account balance has been updated with the deposit amount.
- The customer can view the details of the deposit in their transaction history.
Exceptions:
- If the customer enters an invalid deposit amount, the system displays an error message and prompts the customer to enter a valid amount.
- If the customer selects an invalid account or source of funds, the system displays an error message and prompts the customer to select a valid option.
- If the customer cancels the deposit at any point in the process, the system cancels the transaction and returns the customer to the main menu.