public final class TerminalSettingsImmutable extends Object
Constructor and Description |
---|
TerminalSettingsImmutable(TerminalSettings settings)
Create immutable terminal settings from
TerminalSettings instance. |
Modifier and Type | Method and Description |
---|---|
String |
getBroadcastInterface()
Interface to use for broadcasting or empty string to broadcast on all available interfaces.
|
int |
getCardInsertionTimeout()
Timeout in seconds the terminal waits for a card to be inserted before
canceling an open transaction request.
|
int |
getCardRemovalTimeout()
Timeout in seconds the terminal waits for a card to be removed before
requesting attendant interaction.
|
int |
getCommitTimeout()
Timeout in seconds the terminal waits until the technical auto-reversal
is processed, if no commit received.
|
int |
getConnectionIPPort()
Listening Port of the EFT terminal in case of ConnectionMode OnFixIP.
|
String |
getConnectionIPString()
IP address of the EFT terminal in case of ConnectionMode OnFixIP.
|
ConnectionMode |
getConnectionMode()
Broadcast (default) or OnFixIP.
|
EnumSet<Guides> |
getGuides()
Required guides.
|
String |
getIntegratorId()
Integrator identifier.
|
String |
getLogDir()
Defines where the Log File has to be generated.
|
int |
getLogFileCountPerArchive()
Number of log files to keep before per archive file.
|
int |
getLogRetainArchiveCount()
Number of log file archives to keep before deleting them.
|
int |
getLogRetainFileCount()
Number of log files to keep before archiving them.
|
int |
getManufacturerFlags()
Manufacturer flags.
|
int |
getProceedTimeout()
Timeout in seconds the terminal waits in WaitForProceed state for an
additional function until an error is returned.
|
ProtocolType |
getProtocolType()
Protocol type.
|
int |
getRequestRepetition()
Number of send request repetitions or 0 to disable.
|
String |
getSaferpayBaseUrl()
Saferpay: Base URL.
|
String |
getSaferpayCredentials()
Saferpay: Base64 encoded user name + password.
|
String |
getSaferpayCustomerId()
Saferpay: Customer ID.
|
String |
getSaferpayTerminalId()
Saferpay: Terminal Id.
|
String |
getTerminalId()
Terminal ID to be broadcasted in case of ConnectionMode Broadcast.
|
boolean |
isAllowClosedCardInsert()
Allow card to be inserted before activation.
|
boolean |
isAutoCommit()
After executing the Transaction- function the API commits the transaction automatically.
|
boolean |
isAutoShiftManagement()
Shift management is handled automatically.
|
boolean |
isAutoShutterManagement()
Shutter management is handled automatically.
|
boolean |
isDcc()
Dcc shall be supported.
|
boolean |
isEnabledKeepAlive()
Enable Keep-Alive handling.
|
boolean |
isFastNtfMode()
Enable fast notification mode.
|
boolean |
isFetchBrands()
Automatically retrieves application information during logging in.
|
boolean |
isPartialApproval()
Partial approval shall be supported.
|
boolean |
isTipAllowed()
Tip is allowed for purchase transactions.
|
String |
toString()
String representation for debugging purpose.
|
public TerminalSettingsImmutable(TerminalSettings settings)
TerminalSettings
instance.settings
- Terminal settings instance. May not be null.public String getLogDir()
public int getLogRetainFileCount()
public int getLogFileCountPerArchive()
public int getLogRetainArchiveCount()
public String getTerminalId()
public ConnectionMode getConnectionMode()
public String getConnectionIPString()
public int getConnectionIPPort()
public String getBroadcastInterface()
public ProtocolType getProtocolType()
public String getIntegratorId()
public EnumSet<Guides> getGuides()
public int getManufacturerFlags()
public boolean isFetchBrands()
public boolean isAutoCommit()
public boolean isAutoShiftManagement()
public boolean isAutoShutterManagement()
public int getCardInsertionTimeout()
public int getCardRemovalTimeout()
public int getCommitTimeout()
public boolean isDcc()
public boolean isPartialApproval()
public int getProceedTimeout()
public boolean isAllowClosedCardInsert()
public boolean isTipAllowed()
Guides.GASTRO
is enabled.public boolean isFastNtfMode()
Guides.AUSTRIAN_USE_CASES
is enabled.public int getRequestRepetition()
public boolean isEnabledKeepAlive()
public String getSaferpayTerminalId()
public String getSaferpayCredentials()
public String getSaferpayCustomerId()
public String getSaferpayBaseUrl()