Question: Homework Description Implement the main sequence for Make Order Request use case using an object-oriented programming language (such as Java, C++ or C#) as specified






Homework Description Implement the main sequence for Make Order Request use case using an object-oriented programming language (such as Java, C++ or C#) as specified in the communication diagram (Fig. 1). The classes and their operations are given below and the sample data for entity objects are also given. The pseudocode for operations provided by Customer Interface and Purchase Order Manager classes are specified. A customer makes an order request with the order contents and account ID. Assume that the customer account data are stored in the system (see table below) and three order requests had been made (see table below). When the system request authorization from a bank, you need to enter an approval number to the system via the bank interface object. For email confirmation, the system needs to display an email address via the email system interface object. Fig. 1 Main Sequence for Make Order Request use case request(in item, in quantity, in totalPrice, in AccountID, out Result) MI: Order Request M13: Customer Output requestOrder in item, in quantity, in M2 totalPrice in AccountID, out Result) M12: Order Request out CardNo, out CustEmail) M3: Account authorize(in CardNo, out Result) M5: Authorize Credit Card Request Customer BankIntertice M&: Credit Card M4 [Available: Account Io M7: [Approval] Approved Mt6: Authorize MIl: Send Order Confirmation Email M9 Create Orde createOrderfin item, in in CustEmail) quantity, in totalPrice, i AccountID, in system out OrderConfirmation Email Homework Description Implement the main sequence for Make Order Request use case using an object-oriented programming language (such as Java, C++ or C#) as specified in the communication diagram (Fig. 1). The classes and their operations are given below and the sample data for entity objects are also given. The pseudocode for operations provided by Customer Interface and Purchase Order Manager classes are specified. A customer makes an order request with the order contents and account ID. Assume that the customer account data are stored in the system (see table below) and three order requests had been made (see table below). When the system request authorization from a bank, you need to enter an approval number to the system via the bank interface object. For email confirmation, the system needs to display an email address via the email system interface object. Fig. 1 Main Sequence for Make Order Request use case request(in item, in quantity, in totalPrice, in AccountID, out Result) MI: Order Request M13: Customer Output requestOrder in item, in quantity, in M2 totalPrice in AccountID, out Result) M12: Order Request out CardNo, out CustEmail) M3: Account authorize(in CardNo, out Result) M5: Authorize Credit Card Request Customer BankIntertice M&: Credit Card M4 [Available: Account Io M7: [Approval] Approved Mt6: Authorize MIl: Send Order Confirmation Email M9 Create Orde createOrderfin item, in in CustEmail) quantity, in totalPrice, i AccountID, in system out OrderConfirmation Email
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
