Package eu.ccvlab.mapi.core.terminal
Class ExternalTerminal
java.lang.Object
eu.ccvlab.mapi.core.terminal.ExternalTerminal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.static enumstatic enumThe type of terminal (attended / unattended) with the protocol it expects (opi-nl / opi-de) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OpiCommunicationDelegateThis 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 implementationprivate int4102 for OPI-NL and 20007 for OPI-DEprivate StringThe customerEmailAddress is used to hand over the email address from the customer to the payment engine or further connected systems behind.private booleanOPI_DE only, used to stop the ongoing payment when performing a recoverPayment.private booleanOnly used for OPI-NL Terminals and getStatus callprivate booleanprivate Stringprivate eu.ccvlab.mapi.core.terminal.LanguageCodeLanguageCode is used to change the default language of the terminal for the duration of a transactionprivate StringThe merchantEmailAddress is used to hand over the email address from the merchant to the payment engine or further connected systems behind.private ExternalTerminal.ModeDual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NLprivate booleanOPI_DE only PartialApprovalAllowed indicates the terminal if the ECR can process partial approvalsprivate PasswordLevelprivate intprivate final PrinterStatusTypeGets printer availability status.private final ReceiptModeOPI_DE only, used to set a specific way of receiving the transaction receipts (Default via DeviceRequest, No receipts or in the (Card)ServiceResponse)private booleanprivate booleanOPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined.private IntegerThe ShiftNumber is used to create a total during a specific shiftprivate ExternalTerminal.SocketModeprivate booleanOPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisationprivate eu.ccvlab.mapi.core.terminal.TerminalAccessedByprivate List<eu.ccvlab.mapi.core.terminal.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)private Stringprivate ExternalTerminal.TerminalTypeprivate StringThe WorkstationID is used to identify a specific POS. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ipAddress
-
port
private int port -
compatibilityPort
private int compatibilityPort4102 for OPI-NL and 20007 for OPI-DE -
mode
Dual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NL -
socketMode
-
terminalType
-
languageCode
private eu.ccvlab.mapi.core.terminal.LanguageCode languageCodeLanguageCode is used to change the default language of the terminal for the duration of a transaction -
shiftNumber
The ShiftNumber is used to create a total during a specific shift -
workstationId
The WorkstationID is used to identify a specific POS. The WorkstationID must be unique in the LAN. -
terminalId
-
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
The merchantEmailAddress is used to hand over the email address from the merchant to the payment engine or further connected systems behind. -
customerEmailAddress
The customerEmailAddress is used to hand over the email address from the customer to the payment engine or further connected systems behind. -
printerStatus
Gets printer availability status. -
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 requestTransactionInformationOPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined. -
supportMifareCards
private boolean supportMifareCardsOPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisation -
passwordLevel
-
partialApprovalAllowed
private boolean partialApprovalAllowedOPI_DE only PartialApprovalAllowed indicates the terminal if the ECR can process partial approvals -
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 cutPreviousConnectionOPI_DE only, used to stop the ongoing payment when performing a recoverPayment. -
requestToken
private boolean requestToken -
includeFlexo
private boolean includeFlexo -
fullReport
private boolean fullReportOnly used for OPI-NL Terminals and getStatus call
-
-
Constructor Details
-
ExternalTerminal
public ExternalTerminal()
-
-
Method Details
-
newBuilder
Deprecated.use builder()- Returns:
- the backwards compatible builder
-
ExternalTerminal.SocketModeinstead