Question
Need help ASAP in Software Engineering. This should be implemented in Java. Implement Check-out Customer use case using Java. The classes and their operations are
Need help ASAP in Software Engineering. This should be implemented in Java.
Implement Check-out Customer use case using Java. The classes and their operations are given below and a sample data for entity objects are also given. The logic (pseudocode) for operations provided by Check-out Manager class is specified. When your program requests authorizing a credit card from Bank, you need to enter an authorization number (4-digit number) through a screen provided by Bank Interface object. Also a credit card number will be entered by you via a screen provided by Card Reader Interface object. A receipt and a bill will be printed out on screens in Receipt Printer Interface and Bill Printer Interface objects respectively. State your assumptions if necessary.
Cuser interface> Desk Cerk Interface ocinterface Card Reader Interface checkOuttn Roomi, out Bill displayMessage( in BillPrinted) displayMessage in CCDenied) readCard in Card") Check-out Manager requestBilKin Roo, out Bill Bank Interface payByCreditCard(in Card) chargeCreditCard in Card, in Total, out Resu ocinterface ReceiptPringer Interface ccinterface BillPrinterInterface printRecciptin Card, in Total, in Reference printBilyin Ball Cuser interface> Desk Cerk Interface ocinterface Card Reader Interface checkOuttn Roomi, out Bill displayMessage( in BillPrinted) displayMessage in CCDenied) readCard in Card") Check-out Manager requestBilKin Roo, out Bill Bank Interface payByCreditCard(in Card) chargeCreditCard in Card, in Total, out Resu ocinterface ReceiptPringer Interface ccinterface BillPrinterInterface printRecciptin Card, in Total, in Reference printBilyin Ball
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started