ShiftSummaryReceipt constructor

const ShiftSummaryReceipt({
  1. required String kind,
  2. required bool blind,
  3. String? businessName,
  4. String? cashregisterId,
  5. String? cashregisterName,
  6. String? drawerName,
  7. required int number,
  8. String? openedAt,
  9. String? closedAt,
  10. String? openedByName,
  11. String? closedByName,
  12. int? openingFloatCents,
  13. required bool openingFloatTakenOver,
  14. Map<String, int>? openingDenominations,
  15. int? cashSalesCents,
  16. int? cashCancellationsCents,
  17. required int receiptCount,
  18. required int cancellationCount,
  19. List<NonCashAmount> nonCashByMethod = const [],
  20. List<ShiftReceiptMovement> movements = const [],
  21. List<ShiftTip> tips = const [],
  22. int? expectedCents,
  23. int? countedCents,
  24. Map<String, int>? countedDenominations,
  25. int? differenceCents,
  26. String? comment,
  27. required int openingsWithoutSale,
  28. AfterCount? afterCount,
  29. int? leftInDrawerCents,
})

Implementation

const ShiftSummaryReceipt({
  required super.kind,
  required super.blind,
  super.businessName,
  super.cashregisterId,
  super.cashregisterName,
  super.drawerName,
  required this.number,
  this.openedAt,
  this.closedAt,
  this.openedByName,
  this.closedByName,
  this.openingFloatCents,
  required this.openingFloatTakenOver,
  this.openingDenominations,
  this.cashSalesCents,
  this.cashCancellationsCents,
  required this.receiptCount,
  required this.cancellationCount,
  this.nonCashByMethod = const [],
  this.movements = const [],
  this.tips = const [],
  this.expectedCents,
  this.countedCents,
  this.countedDenominations,
  this.differenceCents,
  this.comment,
  required this.openingsWithoutSale,
  this.afterCount,
  this.leftInDrawerCents,
});