ShiftRunningTotals constructor
const
ShiftRunningTotals({
- required int cashSalesCents,
- required int cashCancellationsCents,
- required List<
NonCashAmount> nonCashByMethod, - int voucherRedeemedCents = 0,
- required int receiptCount,
- required int cancellationCount,
- required int cashInCents,
- required int cashOutCents,
- required List<
ShiftTipTotals> tips, - required int openingsWithoutSale,
- List<
ShiftOwnerTip> ? ownerTips, - int? unassignedTipCents,
- List<
ShiftDiscount> ? discounts, - int? invoicePaymentCents,
Implementation
const ShiftRunningTotals({
required this.cashSalesCents,
required this.cashCancellationsCents,
required this.nonCashByMethod,
this.voucherRedeemedCents = 0,
required this.receiptCount,
required this.cancellationCount,
required this.cashInCents,
required this.cashOutCents,
required this.tips,
required this.openingsWithoutSale,
this.ownerTips,
this.unassignedTipCents,
this.discounts,
this.invoicePaymentCents,
});