Dashboard > Sample Bank > Example - Banking Account System > Story 3
  Sample Bank Log In View a printable version of the current page.  
  Story 3
Added by Louis Thibault, last edited by JC Huet on Mar 31, 2008  (view change)
Labels: 
(None)

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.
Begin Info
Story #3: The system calculates the proper withdraw fees depending on the type of account and the type of withdraw.
Actor: System
Business rules:
  • Before the withdraw is made in an account, the system calculate the fees to be charged depending on the type of account and the type of withdraw.
  • We have 2 types of account: Checking and Saving
  • We have 3 types of withdraw: ATM, Interact, Personal Check
  • Fees are charged at the moment of the withdraw
End Info

BUSINESS RULES: Calculation of withdrawal fees

Rule For Withdrawal Fees
Account Type Withdraw Type Fees?
Savings ATM $1.50
Savings Interact $2.50
Savings Personal Check $.50
Checking ATM $0.00
Checking Interact $2.50
Checking Personal Check $0.00

Example:

Do with bank
Create savings account 12345-15925 for Fred   Flintstone with balance of $900.50
Withdraw $100.25 from account 12345-15925 using ATM
Check that balance of account 12345-15925 is 798.75
Withdraw 50.00 from account 12345-15925 using Personal Check
Check that balance of account 12345-15925 is 748.25

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