Package com.esprit.models.products
Class Order
java.lang.Object
com.esprit.models.products.Order
The Order class represents an order made by a client.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
orderDate
-
status
-
client
-
orderItems
-
phoneNumber
private int phoneNumber -
address
-
-
Constructor Details
-
Order
Constructor without id for creating new order instances.- Parameters:
orderDate
- The date of the order.status
- The status of the order.client
- The client associated with the order.phoneNumber
- The telephone number associated with the order.address
- The address associated with the order.
-