Class SaleSoftware


  • public class SaleSoftware
    extends Object
    Information related to the software of the Sale System which manages the NEXO Sale to POI protocol.
    • Constructor Detail

      • SaleSoftware

        public SaleSoftware()
    • Method Detail

      • manufacturerID

        public SaleSoftware manufacturerID​(String manufacturerID)
        Identification of the Manufacturer.
        Parameters:
        manufacturerID - Identification of the Manufacturer.
        Returns:
        the current SaleSoftware instance, allowing for method chaining
      • getManufacturerID

        public String getManufacturerID()
        Identification of the Manufacturer.
        Returns:
        manufacturerID Identification of the Manufacturer.
      • setManufacturerID

        public void setManufacturerID​(String manufacturerID)
        Identification of the Manufacturer.
        Parameters:
        manufacturerID - Identification of the Manufacturer.
      • applicationName

        public SaleSoftware applicationName​(String applicationName)
        Name of the software product.
        Parameters:
        applicationName - Name of the software product.
        Returns:
        the current SaleSoftware instance, allowing for method chaining
      • getApplicationName

        public String getApplicationName()
        Name of the software product.
        Returns:
        applicationName Name of the software product.
      • setApplicationName

        public void setApplicationName​(String applicationName)
        Name of the software product.
        Parameters:
        applicationName - Name of the software product.
      • softwareVersion

        public SaleSoftware softwareVersion​(String softwareVersion)
        Version of the software product.
        Parameters:
        softwareVersion - Version of the software product.
        Returns:
        the current SaleSoftware instance, allowing for method chaining
      • getSoftwareVersion

        public String getSoftwareVersion()
        Version of the software product.
        Returns:
        softwareVersion Version of the software product.
      • setSoftwareVersion

        public void setSoftwareVersion​(String softwareVersion)
        Version of the software product.
        Parameters:
        softwareVersion - Version of the software product.
      • certificationCode

        public SaleSoftware certificationCode​(String certificationCode)
        Certification code of the software which manages the Sale to POI protocol.
        Parameters:
        certificationCode - Certification code of the software which manages the Sale to POI protocol.
        Returns:
        the current SaleSoftware instance, allowing for method chaining
      • getCertificationCode

        public String getCertificationCode()
        Certification code of the software which manages the Sale to POI protocol.
        Returns:
        certificationCode Certification code of the software which manages the Sale to POI protocol.
      • setCertificationCode

        public void setCertificationCode​(String certificationCode)
        Certification code of the software which manages the Sale to POI protocol.
        Parameters:
        certificationCode - Certification code of the software which manages the Sale to POI protocol.
      • includeNullValues

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

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