Interface OpiNLApi


  • public interface OpiNLApi
    • Method Detail

      • displayStartMenu

        default void displayStartMenu​(ExternalTerminal terminal,
                                      TerminalDelegate terminalDelegate)
        Display the Start Menu on the terminal. As long as the start menu is open, the connection to the terminal is kept open and the terminal will not be available for other actions (payment, ...). The connection needs to be kept open because the terminal will send messages to the PoS upon invoking certain menu actions.
        Parameters:
        terminal - Connection information to reach the terminal, containing IP address, ports, terminalType with opi-language and socket mode.
        terminalDelegate - Callback hook towards the caller to inform regarding success/status/failure
      • displaySubMenu

        default void displaySubMenu​(ExternalTerminal terminal,
                                    TerminalDelegate terminalDelegate)
        With DisplaySubMenu you can connect to the terminal and request the terminal menu to navigate through the menu on your own device.
        Parameters:
        terminal - Connection information to reach the terminal, containing IP address, ports, terminalType with opi-language and socket mode.
        terminalDelegate - Callback hook towards the caller to inform regarding success/status/failure