Class ServiceError2


  • public class ServiceError2
    extends Object
    ServiceError2
    • Constructor Detail

      • ServiceError2

        public ServiceError2()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
        Get errorCode
        Returns:
        errorCode
      • setErrorCode

        public void setErrorCode​(String errorCode)
      • getErrorType

        public String getErrorType()
        Get errorType
        Returns:
        errorType
      • setErrorType

        public void setErrorType​(String errorType)
      • getMessage

        public String getMessage()
        Get message
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
      • getPspReference

        public String getPspReference()
        Get pspReference
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • equals

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

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

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

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