Class DiagnosisRequest


  • public class DiagnosisRequest
    extends Object
    It conveys Information related to the target POI for which the diagnosis is requested. Content of the Diagnosis Request message.
    • Constructor Detail

      • DiagnosisRequest

        public DiagnosisRequest()
    • Method Detail

      • POIID

        public DiagnosisRequest POIID​(String POIID)
        Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
        Parameters:
        POIID - Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
        Returns:
        the current DiagnosisRequest instance, allowing for method chaining
      • getPOIID

        public String getPOIID()
        Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
        Returns:
        POIID Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
      • setPOIID

        public void setPOIID​(String POIID)
        Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
        Parameters:
        POIID - Identification of a POI System or a POI Terminal for the Sale to POI protocol. MessageHeader.POIID.
      • hostDiagnosisFlag

        public DiagnosisRequest hostDiagnosisFlag​(Boolean hostDiagnosisFlag)
        Indicates if Host Diagnosis are required.
        Parameters:
        hostDiagnosisFlag - Indicates if Host Diagnosis are required.
        Returns:
        the current DiagnosisRequest instance, allowing for method chaining
      • getHostDiagnosisFlag

        public Boolean getHostDiagnosisFlag()
        Indicates if Host Diagnosis are required.
        Returns:
        hostDiagnosisFlag Indicates if Host Diagnosis are required.
      • setHostDiagnosisFlag

        public void setHostDiagnosisFlag​(Boolean hostDiagnosisFlag)
        Indicates if Host Diagnosis are required.
        Parameters:
        hostDiagnosisFlag - Indicates if Host Diagnosis are required.
      • acquirerID

        public DiagnosisRequest acquirerID​(List<Integer> acquirerID)
        Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
        Parameters:
        acquirerID - Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
        Returns:
        the current DiagnosisRequest instance, allowing for method chaining
      • getAcquirerID

        public List<Integer> getAcquirerID()
        Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
        Returns:
        acquirerID Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
      • setAcquirerID

        public void setAcquirerID​(List<Integer> acquirerID)
        Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
        Parameters:
        acquirerID - Identification of the Acquirer. Present if requesting the diagnosis of these hosts only.
      • includeNullValues

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

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