Class DB.SalesSummary
java.lang.Object
team75.model.DB.SalesSummary
- Enclosing class:
DB
Summary of sales data including hourly breakdown.
- Author:
- Raghu
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSalesSummary(int totalOrders, BigDecimal totalRevenue, List<DB.HourlySales> hourlyBreakdown) -
Method Summary
-
Field Details
-
totalOrders
public final int totalOrders -
totalRevenue
-
hourlyBreakdown
-
-
Constructor Details
-
SalesSummary
- Parameters:
totalOrders- total number of orders in the periodtotalRevenue- total revenue in the periodhourlyBreakdown- per-hour sales breakdown
-
-
Method Details
-
toString
-