Class LegalEntityAssociation


  • public class LegalEntityAssociation
    extends Object
    LegalEntityAssociation
    • Constructor Detail

      • LegalEntityAssociation

        public LegalEntityAssociation()
    • Method Detail

      • getAssociatorId

        public String getAssociatorId()
        The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations.
        Returns:
        associatorId
      • setAssociatorId

        public void setAssociatorId​(String associatorId)
      • getEntityType

        public String getEntityType()
        The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**.
        Returns:
        entityType
      • setEntityType

        public void setEntityType​(String entityType)
      • getJobTitle

        public String getJobTitle()
        The individual's job title if the `type` is **uboThroughControl** or **signatory**.
        Returns:
        jobTitle
      • setJobTitle

        public void setJobTitle​(String jobTitle)
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
      • getName

        public String getName()
        The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getType

        public LegalEntityAssociation.TypeEnum getType()
        Defines the relationship of the legal entity to the current legal entity. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**.
        Returns:
        type
      • equals

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

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

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

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