Class DB.SalesSummary

java.lang.Object
team75.model.DB.SalesSummary
Enclosing class:
DB

public static class DB.SalesSummary extends Object
Summary of sales data including hourly breakdown.
Author:
Raghu
  • Field Details

    • totalOrders

      public final int totalOrders
    • totalRevenue

      public final BigDecimal totalRevenue
    • hourlyBreakdown

      public final List<DB.HourlySales> hourlyBreakdown
  • Constructor Details

    • SalesSummary

      public SalesSummary(int totalOrders, BigDecimal totalRevenue, List<DB.HourlySales> hourlyBreakdown)
      Parameters:
      totalOrders - total number of orders in the period
      totalRevenue - total revenue in the period
      hourlyBreakdown - per-hour sales breakdown
  • Method Details