Package com.six.timapi.receipts
Interface ReceiptFormatter
-
- All Known Implementing Classes:
CompactReceiptFormatter
,CustomReceiptFormatter
,DelegatableReceiptFormatter
,NormalReceiptFormatter
,RdfReceiptFormatter
,SuperCompactReceiptFormatter
,UltraCompactReceiptFormatter
public interface ReceiptFormatter
Interface for classes knowing how to format transaction receipts using receipt item fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Receipt>
formatReceipt(Terminal terminal, ReceiptItems receiptItems)
Format receipt using the provided fields.
-
-
-
Method Detail
-
formatReceipt
List<Receipt> formatReceipt(Terminal terminal, ReceiptItems receiptItems)
Format receipt using the provided fields. Result is a list ofReceipt
using "\n" as line breaks.- Parameters:
terminal
- Terminal to retrieve certain field values from.receiptItems
- Receipt items used to create receipt.
-
-