Class ExternalTerminal


  • @Immutable
    public class ExternalTerminal
    extends java.lang.Object
    • Field Detail

      • ipAddress

        private java.lang.String ipAddress
      • port

        private int port
      • compatibilityPort

        private int compatibilityPort
      • languageCode

        private eu.ccvlab.mapi.core.terminal.LanguageCode languageCode
      • shiftNumber

        private java.lang.Integer shiftNumber
      • workstationId

        private java.lang.String workstationId
      • terminalId

        private java.lang.String terminalId
      • communicationDelegate

        private OpiCommunicationDelegate communicationDelegate
        This parameter will only be assigned when the socket-connection to the terminal is already established, this should not be used in the default local/SDK implementation
      • terminalAccessedBy

        private eu.ccvlab.mapi.core.terminal.TerminalAccessedBy terminalAccessedBy
      • merchantEmailAddress

        private java.lang.String merchantEmailAddress
      • customerEmailAddress

        private java.lang.String customerEmailAddress
      • terminalDisplayText

        private java.util.List<eu.ccvlab.mapi.core.terminal.TerminalDisplayText> terminalDisplayText
        UnAttended terminals only Only 2 TerminalDisplayText are allowed When 2 TerminalDisplayText objects are passed then both need to have a different TerminalDisplayTextWindow (ScreenWaitForCard and ScreenAtWaitForFollowUp)
      • requestTransactionInformation

        private boolean requestTransactionInformation
        OPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined.
      • supportMifareCards

        private boolean supportMifareCards
        OPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisation
      • partialApprovalAllowed

        private boolean partialApprovalAllowed
        OPI_DE only PartialApprovalAllowed indicates the terminal if the ECR can process partial approvals
    • Constructor Detail

      • ExternalTerminal

        public ExternalTerminal()
    • Method Detail

      • ipAddress

        public java.lang.String ipAddress()
        The IP-address of the terminal
        Returns:
        the string
      • port

        public int port()
        4100 for OPI-NL and 20002 for OPI-DE
        Returns:
        the int
      • compatibilityPort

        public int compatibilityPort()
        4102 for OPI-NL and 20007 for OPI-DE
        Returns:
        the int
      • mode

        public ExternalTerminal.Mode mode()
        Dual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NL
        Returns:
        the mode
      • socketMode

        public ExternalTerminal.SocketMode socketMode()
        Dual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NL
        Returns:
        the socketMode
      • isAttendedTerminal

        public boolean isAttendedTerminal()
      • newBuilder

        @Deprecated
        public static lombok.Builder newBuilder()
        Deprecated.
        use builder()
        Returns:
        the backwards compatible builder
      • terminalType

        public ExternalTerminal.TerminalType terminalType()
        EnumType which contains terminal protocol combined attended/unattended type
        Returns:
        the terminal type
      • languageCode

        public eu.ccvlab.mapi.core.terminal.LanguageCode languageCode()
        LanguageCode is used to change the default language of the terminal for the duration of a transaction
        Returns:
        the languageCode
      • shiftNumber

        public java.lang.Integer shiftNumber()
        The ShiftNumber is used to create a total during a specific shift
        Returns:
        the shiftNumber
      • workstationId

        public java.lang.String workstationId()
        The WorkstationID is used to identify a specific POS. The WorkstationID must be unique in the LAN.
        Returns:
        the workstationId
      • terminalId

        public java.lang.String terminalId()
        The terminalId can be used to identify and control the configuration that is loaded on the terminal
        Returns:
        the terminalId
      • merchantEmailAddress

        public java.lang.String merchantEmailAddress()
        The merchantEmailAddress is used to hand over the email address from the merchant to the payment engine or further connected systems behind.
        Returns:
        the merchantEmailAddress
      • customerEmailAddress

        public java.lang.String customerEmailAddress()
        The customerEmailAddress is used to hand over the email address from the customer to the payment engine or further connected systems behind.
        Returns:
        the customerEmailAddress
      • terminalDisplayText

        public java.util.List<eu.ccvlab.mapi.core.terminal.TerminalDisplayText> terminalDisplayText()
        The terminalDisplayText is used to show custom text on the terminal while performing an payment.
        Returns:
        the merchantEmailAddress
      • printerStatus

        public PrinterStatusType printerStatus()
        Gets printer availability status.
        Returns:
        the printer availability status
      • requestTransactionInformation

        public boolean requestTransactionInformation()
        OPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined.
        Returns:
        requestTransactionInformation
      • supportMifareCards

        public boolean supportMifareCards()
        OPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisation
        Returns:
        supportMifareCards
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object