Class CapabilityProblemEntity


  • public class CapabilityProblemEntity
    extends Object
    CapabilityProblemEntity
    • Constructor Detail

      • CapabilityProblemEntity

        public CapabilityProblemEntity()
    • Method Detail

      • documents

        public CapabilityProblemEntity documents​(List<String> documents)
        List of document IDs to which the verification errors related to the capabilities correspond to.
        Parameters:
        documents -
        Returns:
        the current CapabilityProblemEntity instance, allowing for method chaining
      • getDocuments

        public List<String> getDocuments()
        List of document IDs to which the verification errors related to the capabilities correspond to.
        Returns:
        documents
      • setDocuments

        public void setDocuments​(List<String> documents)
        List of document IDs to which the verification errors related to the capabilities correspond to.
        Parameters:
        documents -
      • id

        public CapabilityProblemEntity id​(String id)
        The ID of the entity.
        Parameters:
        id -
        Returns:
        the current CapabilityProblemEntity instance, allowing for method chaining
      • getId

        public String getId()
        The ID of the entity.
        Returns:
        id
      • setId

        public void setId​(String id)
        The ID of the entity.
        Parameters:
        id -
      • setType

        public void setType​(CapabilityProblemEntity.TypeEnum type)
        Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
        Parameters:
        type -
      • equals

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

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

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

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