Class VerificationError


  • public class VerificationError
    extends Object
    VerificationError
    • Constructor Detail

      • VerificationError

        public VerificationError()
    • Method Detail

      • capabilities

        public VerificationError capabilities​(List<VerificationError.CapabilitiesEnum> capabilities)
        Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
        Parameters:
        capabilities - Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getCapabilities

        public List<VerificationError.CapabilitiesEnum> getCapabilities()
        Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
        Returns:
        capabilities Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
      • setCapabilities

        public void setCapabilities​(List<VerificationError.CapabilitiesEnum> capabilities)
        Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
        Parameters:
        capabilities - Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
      • code

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

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

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

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

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

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

        public VerificationError remediatingActions​(List<RemediatingAction> remediatingActions)
        An object containing possible solutions to fix a verification error.
        Parameters:
        remediatingActions - An object containing possible solutions to fix a verification error.
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getRemediatingActions

        public List<RemediatingAction> getRemediatingActions()
        An object containing possible solutions to fix a verification error.
        Returns:
        remediatingActions An object containing possible solutions to fix a verification error.
      • setRemediatingActions

        public void setRemediatingActions​(List<RemediatingAction> remediatingActions)
        An object containing possible solutions to fix a verification error.
        Parameters:
        remediatingActions - An object containing possible solutions to fix a verification error.
      • subErrors

        public VerificationError subErrors​(List<VerificationErrorRecursive> subErrors)
        An array containing more granular information about the cause of the verification error.
        Parameters:
        subErrors - An array containing more granular information about the cause of the verification error.
        Returns:
        the current VerificationError instance, allowing for method chaining
      • getSubErrors

        public List<VerificationErrorRecursive> getSubErrors()
        An array containing more granular information about the cause of the verification error.
        Returns:
        subErrors An array containing more granular information about the cause of the verification error.
      • setSubErrors

        public void setSubErrors​(List<VerificationErrorRecursive> subErrors)
        An array containing more granular information about the cause of the verification error.
        Parameters:
        subErrors - An array containing more granular information about the cause of the verification error.
      • type

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

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

        public void setType​(VerificationError.TypeEnum type)
        The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
        Parameters:
        type - The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
      • includeNullValues

        public VerificationError 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 VerificationError 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 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