Programming language is Java.
Programming Assignment 3: UML Class Diagrams
Create a skeleton of a digital store system based on the set of UML Class diagrams below.
All classes have constructors with parameters for each class field. The fields should be set to the corresponding parameter.
Date - year: int
OrderStatus
Credit
Order
Debit
Total: double
Item
Cart
Check - name: String, bankID: int
AddToCart(item: Item)
ClearCart()
Electronic
Produce
MiscItem
PricePerWeight:
You do NOT need to implement any methods other than the getter and setter methods. You only need to make sure the method header is correct and the method returns the correct type. When returning from methods, you can create variables with some made-up default values. e.g., 0 for integers. You need to implement constructors for each class based on the class fields.