Class NotificationErrorContainer


  • public class NotificationErrorContainer
    extends Object
    NotificationErrorContainer
    • Constructor Detail

      • NotificationErrorContainer

        public NotificationErrorContainer()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
        The Adyen code that is mapped to the error message.
        Returns:
        errorCode
      • setErrorCode

        public void setErrorCode​(String errorCode)
      • getMessage

        public String getMessage()
        A short explanation of the issue.
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
      • equals

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

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

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

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