Class LegalEntityInfo


  • public class LegalEntityInfo
    extends Object
    LegalEntityInfo
    • Constructor Detail

      • LegalEntityInfo

        public LegalEntityInfo()
    • 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 -
      • 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 -
      • 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 -
      • 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 -
      • getTrust

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

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

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

        public void setType​(LegalEntityInfo.TypeEnum type)
        The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.
        Parameters:
        type -
      • 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 LegalEntityInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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