Uses of Class
team75.model.DB.SalesSummary
Packages that use DB.SalesSummary
-
Uses of DB.SalesSummary in team75.model
Methods in team75.model that return DB.SalesSummaryModifier and TypeMethodDescriptionstatic DB.SalesSummaryDB.getSalesReport(Timestamp start, Timestamp end) Overall sales summary for a time window: total orders, total revenue, and an hour-by-hour breakdown.static DB.SalesSummaryDB.getXReport()X-Report: hourly sales breakdown for the current day of operation.static DB.SalesSummaryDB.getZReport()Z-Report: end-of-day report that totals all sales and resets counters for the next business day.Methods in team75.model with parameters of type DB.SalesSummaryModifier and TypeMethodDescriptionbyte[]SalesReportGenerator.generate(DB.SalesSummary summary, Timestamp start, Timestamp end) Generates the report and returns the raw PDF bytes, ready to be written to a file or streamed as an HTTP response.