Class POIStatus


  • public class POIStatus
    extends Object
    Indicate the availability of the POI Terminal components. The data element is absent if the component is not part of the POI Terminal. State of a POI Terminal.
    • Constructor Detail

      • POIStatus

        public POIStatus()
    • Method Detail

      • globalStatus

        public POIStatus globalStatus​(GlobalStatus globalStatus)
        globalStatus
        Parameters:
        globalStatus -
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getGlobalStatus

        public GlobalStatus getGlobalStatus()
        Get globalStatus
        Returns:
        globalStatus
      • setGlobalStatus

        public void setGlobalStatus​(GlobalStatus globalStatus)
        globalStatus
        Parameters:
        globalStatus -
      • securityOKFlag

        public POIStatus securityOKFlag​(Boolean securityOKFlag)
        Indicates if the security module of the POI is working and usable. If security module present.
        Parameters:
        securityOKFlag - Indicates if the security module of the POI is working and usable. If security module present.
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getSecurityOKFlag

        public Boolean getSecurityOKFlag()
        Indicates if the security module of the POI is working and usable. If security module present.
        Returns:
        securityOKFlag Indicates if the security module of the POI is working and usable. If security module present.
      • setSecurityOKFlag

        public void setSecurityOKFlag​(Boolean securityOKFlag)
        Indicates if the security module of the POI is working and usable. If security module present.
        Parameters:
        securityOKFlag - Indicates if the security module of the POI is working and usable. If security module present.
      • peDOKFlag

        public POIStatus peDOKFlag​(Boolean peDOKFlag)
        Indicates if the PED is working and usable. If PED present.
        Parameters:
        peDOKFlag - Indicates if the PED is working and usable. If PED present.
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getPeDOKFlag

        public Boolean getPeDOKFlag()
        Indicates if the PED is working and usable. If PED present.
        Returns:
        peDOKFlag Indicates if the PED is working and usable. If PED present.
      • setPeDOKFlag

        public void setPeDOKFlag​(Boolean peDOKFlag)
        Indicates if the PED is working and usable. If PED present.
        Parameters:
        peDOKFlag - Indicates if the PED is working and usable. If PED present.
      • cardReaderOKFlag

        public POIStatus cardReaderOKFlag​(Boolean cardReaderOKFlag)
        Indicates if the card readers are working and usable. If card reader device present.
        Parameters:
        cardReaderOKFlag - Indicates if the card readers are working and usable. If card reader device present.
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getCardReaderOKFlag

        public Boolean getCardReaderOKFlag()
        Indicates if the card readers are working and usable. If card reader device present.
        Returns:
        cardReaderOKFlag Indicates if the card readers are working and usable. If card reader device present.
      • setCardReaderOKFlag

        public void setCardReaderOKFlag​(Boolean cardReaderOKFlag)
        Indicates if the card readers are working and usable. If card reader device present.
        Parameters:
        cardReaderOKFlag - Indicates if the card readers are working and usable. If card reader device present.
      • printerStatus

        public POIStatus printerStatus​(PrinterStatus printerStatus)
        printerStatus
        Parameters:
        printerStatus -
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getPrinterStatus

        public PrinterStatus getPrinterStatus()
        Get printerStatus
        Returns:
        printerStatus
      • setPrinterStatus

        public void setPrinterStatus​(PrinterStatus printerStatus)
        printerStatus
        Parameters:
        printerStatus -
      • communicationOKFlag

        public POIStatus communicationOKFlag​(Boolean communicationOKFlag)
        Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
        Parameters:
        communicationOKFlag - Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getCommunicationOKFlag

        public Boolean getCommunicationOKFlag()
        Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
        Returns:
        communicationOKFlag Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
      • setCommunicationOKFlag

        public void setCommunicationOKFlag​(Boolean communicationOKFlag)
        Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
        Parameters:
        communicationOKFlag - Indicates if the communication infrastructure is working and usable. If communication infrastructure present.
      • fraudPreventionFlag

        public POIStatus fraudPreventionFlag​(Boolean fraudPreventionFlag)
        Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
        Parameters:
        fraudPreventionFlag - Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
        Returns:
        the current POIStatus instance, allowing for method chaining
      • getFraudPreventionFlag

        public Boolean getFraudPreventionFlag()
        Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
        Returns:
        fraudPreventionFlag Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
      • setFraudPreventionFlag

        public void setFraudPreventionFlag​(Boolean fraudPreventionFlag)
        Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
        Parameters:
        fraudPreventionFlag - Indicates a suspicion of fraud by the POI System. Could be set to True by the POI system to notify to the Sale system and the Cashier that a suspicion of fraud had been detected on the POI as an unexpected reboot of the POI.
      • includeNullValues

        public POIStatus includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this POIStatus object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static POIStatus fromJson​(String jsonString)
                                  throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of POIStatus given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of POIStatus
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to POIStatus
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of POIStatus to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException