ShiftRunningTotals constructor

const ShiftRunningTotals({
  1. required int cashSalesCents,
  2. required int cashCancellationsCents,
  3. required List<NonCashAmount> nonCashByMethod,
  4. int voucherRedeemedCents = 0,
  5. required int receiptCount,
  6. required int cancellationCount,
  7. required int cashInCents,
  8. required int cashOutCents,
  9. required List<ShiftTipTotals> tips,
  10. required int openingsWithoutSale,
  11. List<ShiftOwnerTip>? ownerTips,
  12. int? unassignedTipCents,
  13. List<ShiftDiscount>? discounts,
  14. 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,
});