Class POISoftware


  • public class POISoftware
    extends Object
    Information related to the software of the POI System which manages the Sale to POI protocol. In a session allows identifying the product features of a POI System.
    • Constructor Detail

      • POISoftware

        public POISoftware()
    • Method Detail

      • manufacturerID

        public POISoftware manufacturerID​(String manufacturerID)
        Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
        Parameters:
        manufacturerID - Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
        Returns:
        the current POISoftware instance, allowing for method chaining
      • getManufacturerID

        public String getManufacturerID()
        Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
        Returns:
        manufacturerID Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
      • setManufacturerID

        public void setManufacturerID​(String manufacturerID)
        Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
        Parameters:
        manufacturerID - Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
      • applicationName

        public POISoftware applicationName​(String applicationName)
        Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
        Parameters:
        applicationName - Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
        Returns:
        the current POISoftware instance, allowing for method chaining
      • getApplicationName

        public String getApplicationName()
        Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
        Returns:
        applicationName Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
      • setApplicationName

        public void setApplicationName​(String applicationName)
        Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
        Parameters:
        applicationName - Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
      • softwareVersion

        public POISoftware softwareVersion​(String softwareVersion)
        Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
        Parameters:
        softwareVersion - Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
        Returns:
        the current POISoftware instance, allowing for method chaining
      • getSoftwareVersion

        public String getSoftwareVersion()
        Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
        Returns:
        softwareVersion Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
      • setSoftwareVersion

        public void setSoftwareVersion​(String softwareVersion)
        Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
        Parameters:
        softwareVersion - Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
      • certificationCode

        public POISoftware certificationCode​(String certificationCode)
        Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
        Parameters:
        certificationCode - Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
        Returns:
        the current POISoftware instance, allowing for method chaining
      • getCertificationCode

        public String getCertificationCode()
        Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
        Returns:
        certificationCode Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
      • setCertificationCode

        public void setCertificationCode​(String certificationCode)
        Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
        Parameters:
        certificationCode - Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
      • includeNullValues

        public POISoftware 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 POISoftware 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 POISoftware fromJson​(String jsonString)
                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of POISoftware given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of POISoftware
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to POISoftware
      • toJson

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