Interface TerminalListener

    • Method Detail

      • connectCompleted

        void connectCompleted​(TimEvent event)
        Called if an Terminal.connect() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • activateCompleted

        void activateCompleted​(TimEvent event,
                               ActivateResponse data)
        Called if an Terminal.activateAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains activation sequence counter and print information for the merchant.
      • applicationInformationCompleted

        void applicationInformationCompleted​(TimEvent event)
        Called if an Terminal.applicationInformationAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • balanceCompleted

        void balanceCompleted​(TimEvent event,
                              BalanceResponse data)
        Called if an Terminal.balanceAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains counters and print information for the merchant.
      • changeSettingsCompleted

        void changeSettingsCompleted​(TimEvent event)
        Called if an Terminal.changeSettingsAsync(java.util.Map) started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • commitCompleted

        void commitCompleted​(TimEvent event,
                             PrintData data)
        Called if an Terminal.commitAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • deactivateCompleted

        void deactivateCompleted​(TimEvent event,
                                 DeactivateResponse data)
        Called if an Terminal.deactivateAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains counters and print information for the merchant.
      • dccRatesCompleted

        void dccRatesCompleted​(TimEvent event,
                               PrintData data)
        Called if an Terminal.dccRatesAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains print information for merchant.
      • hardwareInformationCompleted

        void hardwareInformationCompleted​(TimEvent event,
                                          HardwareInformationResponse data)
        Called if an Terminal.hardwareInformationAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains information about EFT Terminal hardware and EMV kernels and configuration parameters supported by the EFT Terminal.
      • initTransactionWithDialogCompleted

        void initTransactionWithDialogCompleted​(TimEvent event,
                                                InitTransactionResponse data)
        Called if an Terminal#initTransactionWithDialogAsync(Amount, ShowDialogRequest) started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • loginCompleted

        void loginCompleted​(TimEvent event)
        Called if an Terminal.loginAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • logoutCompleted

        void logoutCompleted​(TimEvent event)
        Called if an Terminal.logoutAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • rebootCompleted

        void rebootCompleted​(TimEvent event)
        Called if an Terminal.rebootAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • reconciliationCompleted

        void reconciliationCompleted​(TimEvent event,
                                     ReconciliationResponse data)
        Called if an Terminal.reconciliationAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains counters and print information for the merchant.
      • receiptRequestCompleted

        void receiptRequestCompleted​(TimEvent event,
                                     ReceiptRequestResponse data)
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains all requested receipts up to a maximum number of receipts the EFT Terminal can send. if HasMoreReceipts is True not all receipts could be send by the EFT Terminal. call ReceiptRequest again to obtain more receipts.
      • transactionInfoRequestCompleted

        void transactionInfoRequestCompleted​(TimEvent event,
                                             TransactionInfoRequestResponse data)
        Called if an Terminal.transactionInfoRequestAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains all requested receipts up to a maximum number of receipts the EFT Terminal can send. if HasMoreReceipts is True not all receipts could be send by the EFT Terminal. call ReceiptRequest again to obtain more receipts.
      • reconfigCompleted

        void reconfigCompleted​(TimEvent event,
                               PrintData data)
        Called if an Terminal.reconfigAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains print information for the merchant.
      • rollbackCompleted

        void rollbackCompleted​(TimEvent event,
                               PrintData data)
        Called if an Terminal.rollbackAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains print information for the merchant and cardholder.
      • softwareUpdateCompleted

        void softwareUpdateCompleted​(TimEvent event,
                                     UpdateStatus data)
        Called if an Terminal.softwareUpdateAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains update status.
      • systemInformationCompleted

        void systemInformationCompleted​(TimEvent event,
                                        SystemInformationResponse data)
        Called if an Terminal.systemInformationAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains configuration and network information of the terminal.
      • terminalStatusChanged

        void terminalStatusChanged​(Terminal terminal)
        Called if the state of the terminal changed. Retrieve the state using event.getTerminal().getTerminalState().
        Parameters:
        terminal - Terminal sending the notification.
      • disconnected

        void disconnected​(Terminal terminal,
                          TimException exception)
        Connection to terminal closed. Called if user disconnected or connection has been lost.
        Parameters:
        terminal - Terminal sending the notification.
      • closeReaderCompleted

        void closeReaderCompleted​(TimEvent event)
        Called if an Terminal.closeReaderAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • openReaderCompleted

        void openReaderCompleted​(TimEvent event)
        Called if an Terminal.openReaderAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • ejectCardCompleted

        void ejectCardCompleted​(TimEvent event)
        Called if an Terminal.ejectCardAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • openMaintenanceWindowCompleted

        void openMaintenanceWindowCompleted​(TimEvent event)
        Called if an Terminal.openMaintenanceWindowAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • closeMaintenanceWindowCompleted

        void closeMaintenanceWindowCompleted​(TimEvent event)
        Called if an Terminal.closeMaintenanceWindowAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • activateServiceMenuCompleted

        void activateServiceMenuCompleted​(TimEvent event)
        Called if an Terminal.activateServiceMenuAsync() started request finished. Supported only if Guides.UNATTENDED is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • openDialogModeCompleted

        void openDialogModeCompleted​(TimEvent event)
        Called if an Terminal.openDialogModeAsync() started request finished. Supported only if Guides.DIALOG is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • closeDialogModeCompleted

        void closeDialogModeCompleted​(TimEvent event)
        Called if an Terminal.closeDialogModeAsync() started request finished. Supported only if Guides.DIALOG is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • printOnTerminal

        void printOnTerminal​(TimEvent event)
        Called if an Terminal#printOnTerminalAsync() started request finished. Supported only if Guides.DIALOG is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • keyPressed

        void keyPressed​(Terminal terminal,
                        Reason reason)
        Called if a Key Pressed Notification has been received. Supported only if Guides.UNATTENDED is enabled.
      • errorNotification

        void errorNotification​(Terminal terminal,
                               TimException error)
        Called if a terminal send an Error Notification.
      • licenseChanged

        void licenseChanged​(Terminal terminal)
        Deprecated.
        Functionality removed
        Called if a terminal send a LicenseChanged notification. Get license with Terminal.getLicense().
      • loyaltyDataCompleted

        void loyaltyDataCompleted​(TimEvent event,
                                  CardData data)
        Called if an Terminal#loyaltyDataAsync() started request finished. Supported only if Guides.VALUE_ADDED_SERVICES is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • provideLoyaltyBasketCompleted

        void provideLoyaltyBasketCompleted​(TimEvent event,
                                           List<LoyaltyItem> data)
        Called if an Terminal#provideLoyaltyBasketAsync() started request finished. Supported only if Guides.VALUE_ADDED_SERVICES is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • provideVasResultCompleted

        void provideVasResultCompleted​(TimEvent event,
                                       VasResult data)
        Called if an Terminal#provideVasResultAsync() started request finished. Supported only if Guides.VALUE_ADDED_SERVICES is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • mobileTopupCompleted

        void mobileTopupCompleted​(TimEvent event,
                                  MobileTopupData data)
        Called if an Terminal#mobileTopupAsync() started request finished. Supported only if Guides.VALUE_ADDED_SERVICES is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • thirdPartyAppData

        void thirdPartyAppData​(Terminal terminal,
                               ThirdPartyAppPayload data)
        Called if an ThirdPartyAppData notification has been received. Supported only if Guides.VALUE_ADDED_SERVICES is enabled.
        Parameters:
        terminal - Terminal sending notification.
        data - Received
      • requestAliasCompleted

        void requestAliasCompleted​(TimEvent event,
                                   String data)
        Called if an Terminal#requestAlias() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • deviceMaintenanceCompleted

        void deviceMaintenanceCompleted​(TimEvent event)
        Called if an Terminal#deviceMaintenanceAsync() started request finished. Supported only if Guides.REMOTE is enabled.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
      • ageCheckCompleted

        void ageCheckCompleted​(TimEvent event,
                               TransactionInformation data)
        Called if an Terminal#ageCheckAsync() started request finished.
        Parameters:
        event - Contains the terminal sending the event and error information if the request failed.
        data - Contains transaction result information and print information for the merchant and cardholder.