All Implemented Interfaces:
Runnable

public class PrintRecCash extends OutputRequest
Output request executor for FiscalPrinter method PrintRecCash.
  • Constructor Details

    • PrintRecCash

      public PrintRecCash(FiscalPrinterProperties props, long amount)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      amount - Amount to be incremented or decremented.
  • Method Details

    • getAmount

      public long getAmount()
      FiscalPrinter method PrintRecCash parameter amount, see UPOS specification.
      Returns:
      PrintRecCash parameter amount.
    • invoke

      public void invoke() throws jpos.JposException
      Description copied from class: OutputRequest
      This function should be called whenever a printing method has been invoked. Therefore, it is the perfect place to signal processing has finished to implicitly waiting synchronous methods.
      Overrides:
      invoke in class OutputRequest
      Throws:
      jpos.JposException - If the invoked method throws an exception.