Package com.six.timapi
Class Hardware
- java.lang.Object
-
- com.six.timapi.Hardware
-
public class Hardware extends Object
Contains information about a piece of hardware in the terminal or devices attached to it. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description Hardware(HardwareType hardwareType, String serialNumber, TimeDate productionDate, String productVersion, String firmwareVersion, SecurityStatus securityStatus, TimeDate lastCleaningDate, String imsi, String imei, String iccid, String hardwareAddress, String hardwareDescription)
Create hardware information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFirmwareVersion()
Firmware version of the specified hardware.String
getHardwareAddress()
Hardware address.String
getHardwareDescription()
Hardware description.HardwareType
getHardwareType()
Specifies the hardware.String
getIccid()
Iccid.String
getImei()
Imei.String
getImsi()
Imsi.TimeDate
getLastCleaningDate()
Available if HardwareType is ContactReader or MagStripeReader.TimeDate
getProductionDate()
Production date of the specified hardware.String
getProductVersion()
Product version of the specified hardware.SecurityStatus
getSecurityStatus()
Security status of the specified hardware.String
getSerialNumber()
Serial number of the specified hardware.String
toString()
String representation.
-
-
-
Constructor Detail
-
Hardware
public Hardware(HardwareType hardwareType, String serialNumber, TimeDate productionDate, String productVersion, String firmwareVersion, SecurityStatus securityStatus, TimeDate lastCleaningDate, String imsi, String imei, String iccid, String hardwareAddress, String hardwareDescription)
Create hardware information.
-
-
Method Detail
-
getHardwareType
public HardwareType getHardwareType()
Specifies the hardware.
-
getSerialNumber
public String getSerialNumber()
Serial number of the specified hardware.
-
getProductionDate
public TimeDate getProductionDate()
Production date of the specified hardware.
-
getProductVersion
public String getProductVersion()
Product version of the specified hardware.
-
getFirmwareVersion
public String getFirmwareVersion()
Firmware version of the specified hardware.
-
getSecurityStatus
public SecurityStatus getSecurityStatus()
Security status of the specified hardware.
-
getLastCleaningDate
public TimeDate getLastCleaningDate()
Available if HardwareType is ContactReader or MagStripeReader.
-
getImsi
public String getImsi()
Imsi.
-
getImei
public String getImei()
Imei.
-
getIccid
public String getIccid()
Iccid.
-
getHardwareAddress
public String getHardwareAddress()
Hardware address.
-
getHardwareDescription
public String getHardwareDescription()
Hardware description.
-
-