50 likes | 58 Views
Assist customers with credit card and cash payments, calculate tax and total amount, perform credit checks, process transactions, issue receipts, and handle various sales-related tasks.
E N D
credit agency sales clerk customer [more items] enter items [no more items] calculate tax and total [pay with credit card] [pay with cash] pay with cash submit credit card credit check [insufficient money] [card declined] [card approved] void the sale [enough money] record the payment issue a receipt CSC340 final, question B1 some variations are also correct
John’s small business buy materials supplier calculate labor cost <<extend>> <<include>> add to invoice customer do the work <<extend>> calculate material cost <<include>> <<extend>> appoint John get immed payment sched make appointment set up work schedule <<include>> <<include>> issue invoice pay on account update schedule <<include>> CSC340 final, question B2 some variations are also correct
pending A active C F B E on hold - inactive on hold - overdrawn closed D A creditAuthorized (authCode) [credit approved] / setAccountActive (account) B after [inactiveTime > 2 years] / setInactiveHold (account) C reactivateAcount (authCode) [manager approval] / setAccountActive (account) D after [inactiveTime > 6 years] / setAccountClosed (account) E withdraw (amount [accountBalance < zero] / setOverdraftHold (account) F deposit (amount) [acountBalance > minimumBalance] /setAccountActive (account) CSC340 final, question B3 some variations are also correct
CSC340 final, question B4 some variations are also correct please check notes on the next slide
:ATMScreen is a control object and also a boundary object • you could also argue that the :CashDispenser and the :CardReader are boundary objects too • the diagrams shown here contain more detail than was actually needed for full marks • adding parameters was useful but not necessary in this case CSC340 final, question B4 some variations are also correct