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 boolean
canPowerManagement()
Power management supported by hardware.boolean
canSetAlertTones()
The alert tones can be set.boolean
canSetDisplayBrightness()
The display brightness can be set.boolean
canSetDisplayContrast()
The display contrast can be set.boolean
canSetKeypadTones()
The keypad tones can be set.com.six.timapi.internal.TimSavedState
createSavedState()
For internal use only.String[]
getSupportedLanguages()
Supported languages.boolean
hasCardholderDisplay()
The device has a cardholder display.boolean
hasMerchantDisplay()
The device has a merchant display.boolean
hasPrinter()
The device has a printer.String
toString()
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.
-
-