Dashboard > Sample Bank > Example - Banking Account System > Use Case 4
  Sample Bank Log In View a printable version of the current page.  
  Use Case 4
Added by Louis Thibault, last edited by François Beauregard on Oct 16, 2008  (view change)
Labels: 
(None)

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.
Begin Info
Use Case #4: The customer is allowed to withdraw money within certain rules.
Actor: Customer
Business rules:
  • The customer is allowed to withdraw if the balance of the account is sufficient (including the withdraw fees)
  • The customer is allowed to withdraw a maximum of 200.00$ from an ATM and Interact for savings and checking account.
End Info

BUSINESS RULES: Limit of withdrawal

Rule for Limit of withdrawal
Account Type Withdraw Type Limit?
Savings ATM $200.00
Savings Interact $100.00
Savings Personal Check nothing
Checking ATM $200.00
Checking Interact $200.00
Checking Interact $200.00
Checking Interact $200.00
Checking Interact $200.00
Checking Personal Check nothing
Checking Personal Check nothing

Examples:

Rule for Limit of withdrawal
Account Type Withdraw Type Limit?
Savings ATM $200.00
Savings Interact $200.00

Examples:

Scenario #1 : Create a saving account

Do with bank
Create savings account 12345-15555 for Fred   Flintstone with balance of $1200.25
Withdraw $100.25 from account 12345-15555 using ATM
Check that balance of account 12345-15555 is $1098.50
Accept withdraw $600.00 from account 12345-15555 using personal check
Reject withdraw $300.00 from account 12345-15555 using interact
Check that balance of account 12345-15555 is $498.00

Scenario #3 : Create a checking account

Create checking account 12345-16666 for Wilma   Flintstone with balance of $1500.00
Withdraw $400.00 from account 12345-16666 using personal check
Reject withdraw $250.00 from account 12345-16666 using ATM
Withdraw $200.00 from account 12345-16666 using Interact
Check that balance of account 12345-16666 is $897.50

Check information related to the accounts (type, owner and balance)

Set of Opened accounts
Number Type Owner name Balance
12345-15555 savings Fred Flintstone $498.00

comment 1

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators