Package eu.ccvlab.mapi.core.terminal
Class ExternalTerminal
java.lang.Object
eu.ccvlab.mapi.core.terminal.ExternalTerminal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Deprecated.static enum
static enum
The type of terminal (attended / unattended) with the protocol it expects (opi-nl / opi-de) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OpiCommunicationDelegate
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 implementationprivate int
private String
private boolean
OPI_DE only, used to stop the ongoing payment when performing a recoverPayment.private String
private eu.ccvlab.mapi.core.terminal.LanguageCode
private String
private ExternalTerminal.Mode
private boolean
OPI_DE only PartialApprovalAllowed indicates the terminal if the ECR can process partial approvalsprivate PasswordLevel
private int
private final PrinterStatusType
private final 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)private boolean
private boolean
OPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined.private Integer
private ExternalTerminal.SocketMode
private boolean
OPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisationprivate eu.ccvlab.mapi.core.terminal.TerminalAccessedBy
private 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 String
private ExternalTerminal.TerminalType
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
4102 for OPI-NL and 20007 for OPI-DEThe customerEmailAddress is used to hand over the email address from the customer to the payment engine or further connected systems behind.boolean
int
hashCode()
The IP-address of the terminalboolean
eu.ccvlab.mapi.core.terminal.LanguageCode
LanguageCode is used to change the default language of the terminal for the duration of a transactionThe merchantEmailAddress is used to hand over the email address from the merchant to the payment engine or further connected systems behind.mode()
Dual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NLstatic lombok.Builder
Deprecated.use builder()int
port()
4100 for OPI-NL and 20002 for OPI-DEGets printer availability status.boolean
OPI_NL only RequestTransactionInformation is used to ask the terminal for additional info of the transaction in case the transaction is declined.The ShiftNumber is used to create a total during a specific shiftDual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NLboolean
OPI_NL UNATTENDED only supportMifareCards is used to allow the support of MifareCards while performing a CardDetection of PreAuthorisationList<eu.ccvlab.mapi.core.terminal.TerminalDisplayText>
The terminalDisplayText is used to show custom text on the terminal while performing an payment.The terminalId can be used to identify and control the configuration that is loaded on the terminalEnumType which contains terminal protocol combined attended/unattended typeThe WorkstationID is used to identify a specific POS.
-
Field Details
-
ipAddress
-
port
private int port -
compatibilityPort
private int compatibilityPort -
mode
-
socketMode
-
terminalType
-
languageCode
private eu.ccvlab.mapi.core.terminal.LanguageCode languageCode -
shiftNumber
-
workstationId
-
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
-
customerEmailAddress
-
printerStatus
-
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
-
-
Constructor Details
-
ExternalTerminal
public ExternalTerminal()
-
-
Method Details
-
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
Dual-Socket only used for OPI-NL Single-Socket used for OPI-DE and OPI-NL- Returns:
- the mode
-
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.use builder()- Returns:
- the backwards compatible builder
-
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
The ShiftNumber is used to create a total during a specific shift- Returns:
- the shiftNumber
-
workstationId
The WorkstationID is used to identify a specific POS. The WorkstationID must be unique in the LAN.- Returns:
- the workstationId
-
terminalId
The terminalId can be used to identify and control the configuration that is loaded on the terminal- Returns:
- the terminalId
-
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
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
The terminalDisplayText is used to show custom text on the terminal while performing an payment.- Returns:
- the merchantEmailAddress
-
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
-
hashCode
public int hashCode()
-
ExternalTerminal.SocketMode
instead