Interface TerminalOutputDelegate

All Known Subinterfaces:
CardReadDelegate, PaymentDelegate, TerminalDelegate, TokenDelegate

public interface TerminalOutputDelegate
Callback passed to mAPI from the PoS. mAPI calls this callback whenever something needs to be displayed on the PoS display.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    askCashierInput(CashierInput cashierInput, eu.ccvlab.mapi.core.InputCallback inputCallback)
    Pass the text to be displayed on the PoS back to the PoS Pass the input command to be asked on the PoS
    default void
    cardUID(String cardUID)
    Use for unattended terminals Pass the cardUID to the PoS
    default void
    showOnCustomerDisplay(MainTextRequest mainTextRequest, DisplayTextRequest subTextRequest)
    Use for unattended terminals Pass the text to be displayed on the CustomerDisplay back to the PoS
    default void
    showOnCustomerDisplay(List<TextLine> customerDisplayTextLines)
    Use for OPI-DE terminals Pass the text to be displayed on the CustomerDisplay back to the PoS
    default void
    Deprecated.
    default void
    Use for attended terminals Pass the text to be displayed on the PoS back to the PoS
    default void
    showTerminalOutputMenu(eu.ccvlab.mapi.core.MenuInputCallback callback, eu.ccvlab.mapi.core.Menu menu)
     
    default void
     
  • Method Details

    • showTerminalOutput

      @Deprecated default void showTerminalOutput(List<String> lines)
      Deprecated.
      Use for attended terminals Pass the text to be displayed on the PoS back to the PoS
      Parameters:
      lines - List of lines to be displayed
    • showTerminalOutputLines

      default void showTerminalOutputLines(List<TextLine> lines)
      Use for attended terminals Pass the text to be displayed on the PoS back to the PoS
      Parameters:
      lines - List of lines to be displayed
    • showOnCustomerDisplay

      default void showOnCustomerDisplay(MainTextRequest mainTextRequest, DisplayTextRequest subTextRequest)
      Use for unattended terminals Pass the text to be displayed on the CustomerDisplay back to the PoS
      Parameters:
      mainTextRequest - The main text
      subTextRequest - The sub text
    • showOnCustomerDisplay

      default void showOnCustomerDisplay(List<TextLine> customerDisplayTextLines)
      Use for OPI-DE terminals Pass the text to be displayed on the CustomerDisplay back to the PoS
      Parameters:
      customerDisplayTextLines - List of lines to be displayed
    • askCashierInput

      default void askCashierInput(CashierInput cashierInput, eu.ccvlab.mapi.core.InputCallback inputCallback)
      Pass the text to be displayed on the PoS back to the PoS Pass the input command to be asked on the PoS
      Parameters:
      cashierInput - The input required by the cashier
      inputCallback - Callback hook towards the caller to inform regarding success/status/failure
    • showTerminalOutputMenu

      default void showTerminalOutputMenu(eu.ccvlab.mapi.core.MenuInputCallback callback, eu.ccvlab.mapi.core.Menu menu)
    • stopMenu

      default void stopMenu()
    • cardUID

      default void cardUID(String cardUID)
      Use for unattended terminals Pass the cardUID to the PoS
      Parameters:
      cardUID - The UID read by the terminal