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 StringgetFirmwareVersion()Firmware version of the specified hardware.StringgetHardwareAddress()Hardware address.StringgetHardwareDescription()Hardware description.HardwareTypegetHardwareType()Specifies the hardware.StringgetIccid()Iccid.StringgetImei()Imei.StringgetImsi()Imsi.TimeDategetLastCleaningDate()Available if HardwareType is ContactReader or MagStripeReader.TimeDategetProductionDate()Production date of the specified hardware.StringgetProductVersion()Product version of the specified hardware.SecurityStatusgetSecurityStatus()Security status of the specified hardware.StringgetSerialNumber()Serial number of the specified hardware.StringtoString()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.
-
-