Class LegalEntity


  • public class LegalEntity
    extends Object
    LegalEntity
    • Constructor Detail

      • LegalEntity

        public LegalEntity()
    • Method Detail

      • getCapabilities

        public Map<String,​LegalEntityCapability> 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
      • setCapabilities

        public void setCapabilities​(Map<String,​LegalEntityCapability> 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 -
      • getDocumentDetails

        public List<DocumentReference> getDocumentDetails()
        List of documents uploaded for the legal entity.
        Returns:
        documentDetails
      • setDocumentDetails

        public void setDocumentDetails​(List<DocumentReference> documentDetails)
        List of documents uploaded for the legal entity.
        Parameters:
        documentDetails -
      • getDocuments

        @Deprecated
        public List<EntityReference> getDocuments()
        Deprecated.
        List of documents uploaded for the legal entity.
        Returns:
        documents
      • setDocuments

        @Deprecated
        public void setDocuments​(List<EntityReference> documents)
        Deprecated.
        List of documents uploaded for the legal entity.
        Parameters:
        documents -
      • getEntityAssociations

        public List<LegalEntityAssociation> getEntityAssociations()
        List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.
        Returns:
        entityAssociations
      • setEntityAssociations

        public void setEntityAssociations​(List<LegalEntityAssociation> entityAssociations)
        List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.
        Parameters:
        entityAssociations -
      • getId

        public String getId()
        The unique identifier of the legal entity.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the legal entity.
        Parameters:
        id -
      • getIndividual

        public Individual getIndividual()
        Get individual
        Returns:
        individual
      • setIndividual

        public void setIndividual​(Individual individual)
        individual
        Parameters:
        individual -
      • getOrganization

        public Organization getOrganization()
        Get organization
        Returns:
        organization
      • setOrganization

        public void setOrganization​(Organization organization)
        organization
        Parameters:
        organization -
      • getProblems

        public List<CapabilityProblem> getProblems()
        List of verification errors related to capabilities for the legal entity.
        Returns:
        problems
      • setProblems

        public void setProblems​(List<CapabilityProblem> problems)
        List of verification errors related to capabilities for the legal entity.
        Parameters:
        problems -
      • getReference

        public String getReference()
        Your reference for the legal entity, maximum 150 characters.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the legal entity, maximum 150 characters.
        Parameters:
        reference -
      • getSoleProprietorship

        public SoleProprietorship getSoleProprietorship()
        Get soleProprietorship
        Returns:
        soleProprietorship
      • setSoleProprietorship

        public void setSoleProprietorship​(SoleProprietorship soleProprietorship)
        soleProprietorship
        Parameters:
        soleProprietorship -
      • getTransferInstruments

        public List<TransferInstrumentReference> getTransferInstruments()
        List of transfer instruments that the legal entity owns.
        Returns:
        transferInstruments
      • setTransferInstruments

        public void setTransferInstruments​(List<TransferInstrumentReference> transferInstruments)
        List of transfer instruments that the legal entity owns.
        Parameters:
        transferInstruments -
      • getTrust

        public Trust getTrust()
        Get trust
        Returns:
        trust
      • setTrust

        public void setTrust​(Trust trust)
        trust
        Parameters:
        trust -
      • getType

        public LegalEntity.TypeEnum getType()
        The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.
        Returns:
        type
      • setType

        public void setType​(LegalEntity.TypeEnum type)
        The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.
        Parameters:
        type -
      • getVerificationDeadlines

        public List<VerificationDeadline> getVerificationDeadlines()
        List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.
        Returns:
        verificationDeadlines
      • setVerificationDeadlines

        public void setVerificationDeadlines​(List<VerificationDeadline> verificationDeadlines)
        List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.
        Parameters:
        verificationDeadlines -
      • verificationPlan

        public LegalEntity verificationPlan​(String verificationPlan)
      • getVerificationPlan

        public String getVerificationPlan()
        A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront).
        Returns:
        verificationPlan
      • setVerificationPlan

        public void setVerificationPlan​(String verificationPlan)
        A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront).
        Parameters:
        verificationPlan -
      • equals

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

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

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

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