DeviceVitals

public final class DeviceVitals

Represents DeviceVitals.

Fields

mGlobalStatus

final int mGlobalStatus

mHostStatus

final ArrayList<HostStatus> mHostStatus

mIsCardReaderOk

final Boolean mIsCardReaderOk

mIsCommunicationOk

final Boolean mIsCommunicationOk

mIsFraudPreventionDetected

final Boolean mIsFraudPreventionDetected

mIsPedOk

final Boolean mIsPedOk

mIsSecurityOk

final Boolean mIsSecurityOk

mPrinterStatus

final PrinterStatus mPrinterStatus

Constructors

DeviceVitals

public DeviceVitals(int globalStatus, PrinterStatus printerStatus, Boolean isSecurityOk, Boolean isPedOk, Boolean isCardReaderOk, Boolean isCommunicationOk, Boolean isFraudPreventionDetected, ArrayList<HostStatus> hostStatus)

Methods

getGlobalStatus

public int getGlobalStatus()

The overall status of the terminal. Possible values are SUCCESS/BUSY/UNAVAILABLE

getHostStatus

public ArrayList<HostStatus> getHostStatus()

List of hosts connected to the terminal and their reachability status.

getIsCardReaderOk

public Boolean getIsCardReaderOk()

Indicates if the card reader is working and usable.

getIsCommunicationOk

public Boolean getIsCommunicationOk()

Indicates if the communication infrastructure is working and usable.

getIsFraudPreventionDetected

public Boolean getIsFraudPreventionDetected()

Indicates a suspicion of fraud detected by the terminal.

getIsPedOk

public Boolean getIsPedOk()

Indicates if the PIN-entry device is working and usable.

getIsSecurityOk

public Boolean getIsSecurityOk()

Indicates if the security module of the terminal is working and usable.

getPrinterStatus

public PrinterStatus getPrinterStatus()

Indicates if the printer is working and usable. PrinterStatus

toString

public String toString()