Class ExternalTerminal

java.lang.Object
eu.ccvlab.mapi.core.terminal.ExternalTerminal

@Immutable public class ExternalTerminal extends Object
  • Field Details

    • ipAddress

      private String ipAddress
    • port

      private int port
    • compatibilityPort

      private int compatibilityPort
    • mode

      private ExternalTerminal.Mode mode
    • socketMode

      private ExternalTerminal.SocketMode socketMode
    • terminalType

      private ExternalTerminal.TerminalType terminalType
    • languageCode

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

      private Integer shiftNumber
    • workstationId

      private String workstationId
    • terminalId

      private 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 String merchantEmailAddress
    • customerEmailAddress

      private String customerEmailAddress
    • printerStatus

      private final PrinterStatusType printerStatus
    • terminalDisplayText

      private 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
    • passwordLevel

      private PasswordLevel passwordLevel
    • partialApprovalAllowed

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

      private final ReceiptMode receiptMode
      OPI_DE only, used to set a specific way of receiving the transaction receipts (Default via DeviceRequest, No receipts or in the (Card)ServiceResponse)
    • cutPreviousConnection

      private boolean cutPreviousConnection
      OPI_DE only, used to stop the ongoing payment when performing a recoverPayment.
    • requestToken

      private boolean requestToken
  • Constructor Details

    • ExternalTerminal

      public ExternalTerminal()
  • Method Details

    • ipAddress

      public 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 Integer shiftNumber()
      The ShiftNumber is used to create a total during a specific shift
      Returns:
      the shiftNumber
    • workstationId

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

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

      public 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 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 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object