Class Order
java.lang.Object
app.model.Order
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final intprivate final intprivate final LocalDateTimeprivate final Stringprivate final BigDecimalprivate final BigDecimal -
Constructor Summary
ConstructorsConstructorDescriptionOrder(int orderId, int employeeId, String customerName, LocalDateTime orderTimestamp, String paymentType, BigDecimal totalCost, BigDecimal salesTax) -
Method Summary
Modifier and TypeMethodDescriptionintint
-
Field Details
-
orderId
private final int orderId -
employeeId
private final int employeeId -
customerName
-
orderTimestamp
-
paymentType
-
totalCost
-
salesTax
-
-
Constructor Details
-
Order
public Order(int orderId, int employeeId, String customerName, LocalDateTime orderTimestamp, String paymentType, BigDecimal totalCost, BigDecimal salesTax)
-
-
Method Details
-
getOrderId
public int getOrderId() -
getEmployeeId
public int getEmployeeId() -
getCustomerName
-
getOrderTimestamp
-
getPaymentType
-
getTotalCost
-
getSalesTax
-