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 - List of document IDs to which the verification errors related to the capabilities correspond to.
        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 List of document IDs to which the verification errors related to the capabilities correspond to.
      • setDocuments

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

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

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

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

        public CapabilityProblemEntity type​(CapabilityProblemEntity.TypeEnum type)
        Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
        Parameters:
        type - Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
        Returns:
        the current CapabilityProblemEntity instance, allowing for method chaining
      • getType

        public CapabilityProblemEntity.TypeEnum getType()
        Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
        Returns:
        type Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
      • setType

        public void setType​(CapabilityProblemEntity.TypeEnum type)
        Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
        Parameters:
        type - Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
      • 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