Package com.six.timapi
Class FeaturesHardware
- java.lang.Object
-
- com.six.timapi.FeaturesHardware
-
public class FeaturesHardware extends Object
Hardware features supported by the terminal. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description FeaturesHardware(boolean cardholderDisplay, boolean merchantDisplay, boolean printer, boolean displayBrightness, boolean displayContrast, boolean alertTones, boolean keypadTones, boolean powerManagement, String[] supportedLanguages)Create hardware features.FeaturesHardware(com.six.timapi.internal.TimSavedState savedState)For internal use only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPowerManagement()Power management supported by hardware.booleancanSetAlertTones()The alert tones can be set.booleancanSetDisplayBrightness()The display brightness can be set.booleancanSetDisplayContrast()The display contrast can be set.booleancanSetKeypadTones()The keypad tones can be set.com.six.timapi.internal.TimSavedStatecreateSavedState()For internal use only.String[]getSupportedLanguages()Supported languages.booleanhasCardholderDisplay()The device has a cardholder display.booleanhasMerchantDisplay()The device has a merchant display.booleanhasPrinter()The device has a printer.StringtoString()String representation for debugging purpose.
-
-
-
Constructor Detail
-
FeaturesHardware
public FeaturesHardware(boolean cardholderDisplay, boolean merchantDisplay, boolean printer, boolean displayBrightness, boolean displayContrast, boolean alertTones, boolean keypadTones, boolean powerManagement, String[] supportedLanguages)Create hardware features.
-
FeaturesHardware
public FeaturesHardware(com.six.timapi.internal.TimSavedState savedState)
For internal use only.
-
-
Method Detail
-
hasCardholderDisplay
public boolean hasCardholderDisplay()
The device has a cardholder display.
-
hasMerchantDisplay
public boolean hasMerchantDisplay()
The device has a merchant display.
-
hasPrinter
public boolean hasPrinter()
The device has a printer.
-
canSetDisplayBrightness
public boolean canSetDisplayBrightness()
The display brightness can be set.
-
canSetDisplayContrast
public boolean canSetDisplayContrast()
The display contrast can be set.
-
canSetAlertTones
public boolean canSetAlertTones()
The alert tones can be set.
-
canSetKeypadTones
public boolean canSetKeypadTones()
The keypad tones can be set.
-
canPowerManagement
public boolean canPowerManagement()
Power management supported by hardware.
-
getSupportedLanguages
public String[] getSupportedLanguages()
Supported languages.
-
toString
public String toString()
String representation for debugging purpose.
-
createSavedState
public com.six.timapi.internal.TimSavedState createSavedState()
For internal use only.
-
-