Class VerificationError


  • public class VerificationError
    extends Object
    VerificationError
    • Constructor Detail

      • VerificationError

        public VerificationError()
    • Method Detail

      • code

        public VerificationError code​(String code)
        The verification error code.
        Parameters:
        code -
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getCode

        public String getCode()
        The verification error code.
        Returns:
        code
      • setCode

        public void setCode​(String code)
        The verification error code.
        Parameters:
        code -
      • message

        public VerificationError message​(String message)
        The verification error message.
        Parameters:
        message -
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getMessage

        public String getMessage()
        The verification error message.
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
        The verification error message.
        Parameters:
        message -
      • remediatingActions

        public VerificationError remediatingActions​(List<RemediatingAction> remediatingActions)
        The actions that you can take to resolve the verification error.
        Parameters:
        remediatingActions -
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getRemediatingActions

        public List<RemediatingAction> getRemediatingActions()
        The actions that you can take to resolve the verification error.
        Returns:
        remediatingActions
      • setRemediatingActions

        public void setRemediatingActions​(List<RemediatingAction> remediatingActions)
        The actions that you can take to resolve the verification error.
        Parameters:
        remediatingActions -
      • subErrors

        public VerificationError subErrors​(List<VerificationErrorRecursive> subErrors)
        More granular information about the verification error.
        Parameters:
        subErrors -
        Returns:
        the current VerificationError instance, allowing for method chaining
      • setSubErrors

        public void setSubErrors​(List<VerificationErrorRecursive> subErrors)
        More granular information about the verification error.
        Parameters:
        subErrors -
      • type

        public VerificationError type​(VerificationError.TypeEnum type)
        The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.
        Parameters:
        type -
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getType

        public VerificationError.TypeEnum getType()
        The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.
        Returns:
        type
      • setType

        public void setType​(VerificationError.TypeEnum type)
        The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.
        Parameters:
        type -
      • equals

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

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

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

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