TerminalReaderReaderResourceCart constructor

const TerminalReaderReaderResourceCart({
  1. required String currency,
  2. required List<TerminalReaderReaderResourceLineItem> lineItems,
  3. int? tax,
  4. required int total,
})

TerminalReaderReaderResourceCart

Represents a cart to be displayed on the reader

Implementation

const TerminalReaderReaderResourceCart({
  required this.currency,
  required this.lineItems,
  this.tax,
  required this.total,
});