Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) Correctly describe the attributes name, and type for these actors A company wishes to develop a high performance platform to deal with order processing
a) Correctly describe the attributes name, and type for these actors
A company wishes to develop a high performance platform to deal with order processing for an e-commerce web site. ii) For each order, there is a set process which the order must be handled by Step1) The customer clicks on buy on the web site and their order is stored indicating product id, amount of product and delivery address. Step 2) If the product is out of stock, the order is set to pending status and the customer is informed and the process is delayed until the product is in-stock or the customer cancels the order Step 3) When the product is in stock, the customer's card details are checked for validity, and then a payment charged on the card. If the payment cannot be taken the order is changed to payment- waiting status. Step 4 ) If the payment is successful, the order moves to dispatch- waiting status Step 5) Orders that are in dispatch-waiting status are sent to the warehouse staff, once the order is picked, packaged and sent the order is moved to the sent status. Step 6) If/when the order is delivered by the courier, the order moves to the received status. Given you have the following actors for your system; Customer, Order, CustomerPaymentHandler, Warehouse-Staff, Courier and assuming that the Customer actor contains details of the customer's card details and delivery address. a) Describe the attributes, name and type we would need for the actors Order and CustomerPaymentHandler. [6 Marks] b) Show the messages and actor creation that would be needed for a new order assuming the product is in stock and payment and delivery are successful. [6 Marks)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