☑Kizspy.me 4.
LIST the main states of the Order entity during the order process and DRAW the state diagram
for Order. (1.5 points)
Part 2: REST API function design (3 points)
5.
6.
DRAW a class diagram (detailed design) showing the client-side and server-side classes
(Controller, Service, Repository) used for the "create order" function. (1.5 points)
DRAW a sequence diagram for the "create order" function between client and server (REST
API) with authentication and authorization. (1.5 points)
Part 3: Design pattern identification and analysis (2 points)
Given the following pseudocode:
public interface Pricing {
public double calculate Price (double basePrice, int quantity, String
customerType);
}
public class Regular Pricing implements Pricing (
public double calculate Price (double base Price, int quantity, String customerType)
Zoom
+ 100%
Close