ReceiptSummary constructor

const ReceiptSummary({
  1. required String receiptId,
  2. required String receiptType,
  3. required String timeStamp,
  4. required int totalCents,
  5. required KeckPaymentMethod paymentMethod,
  6. required bool signatureOk,
  7. required List<({String name, int quantity})> items,
  8. CancellationState? cancellationState,
  9. int? counter,
  10. ReceiptOperator? operator,
  11. String? cancellationOfReceiptId,
  12. String? cancellationReason,
  13. String? zeroKind,
  14. List<KeckPayment>? payments,
})

Implementation

const ReceiptSummary({
  required this.receiptId,
  required this.receiptType,
  required this.timeStamp,
  required this.totalCents,
  required this.paymentMethod,
  required this.signatureOk,
  required this.items,
  this.cancellationState,
  this.counter,
  this.operator,
  this.cancellationOfReceiptId,
  this.cancellationReason,
  this.zeroKind,
  this.payments,
});