Interface ReceiptFormatter

    • Method Detail

      • formatReceipt

        List<Receipt> formatReceipt​(Terminal terminal,
                                    ReceiptItems receiptItems)
        Format receipt using the provided fields. Result is a list of Receipt using "\n" as line breaks.
        Parameters:
        terminal - Terminal to retrieve certain field values from.
        receiptItems - Receipt items used to create receipt.