Class LegalEntityAssociation
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.LegalEntityAssociation
-
public class LegalEntityAssociation extends Object
LegalEntityAssociation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegalEntityAssociation.TypeEnumDefines the relationship of the legal entity to the current legal entity.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ASSOCIATOR_IDstatic StringJSON_PROPERTY_ENTITY_TYPEstatic StringJSON_PROPERTY_JOB_TITLEstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_RELATIONSHIPstatic StringJSON_PROPERTY_SETTLOR_EXEMPTION_REASONstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description LegalEntityAssociation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LegalEntityAssociationaddSettlorExemptionReasonItem(String settlorExemptionReasonItem)LegalEntityAssociationassociatorId(String associatorId)The unique identifier of another legal entity with which the `legalEntityId` is associated.LegalEntityAssociationentityType(String entityType)The legal entity type of associated legal entity.booleanequals(Object o)Return true if this LegalEntityAssociation object is equal to o.static LegalEntityAssociationfromJson(String jsonString)Create an instance of LegalEntityAssociation given an JSON stringStringgetAssociatorId()The unique identifier of another legal entity with which the `legalEntityId` is associated.StringgetEntityType()The legal entity type of associated legal entity.StringgetJobTitle()The individual's job title if the `type` is **uboThroughControl** or **signatory**.StringgetLegalEntityId()The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).StringgetName()The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id)StringgetRelationship()The individual's relationship to a legal representative if the `type` is **legalRepresentative**.List<String>getSettlorExemptionReason()Defines the KYC exemption reason for a settlor associated with a trust.LegalEntityAssociation.TypeEnumgetType()Defines the relationship of the legal entity to the current legal entity.inthashCode()LegalEntityAssociationjobTitle(String jobTitle)The individual's job title if the `type` is **uboThroughControl** or **signatory**.LegalEntityAssociationlegalEntityId(String legalEntityId)The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).LegalEntityAssociationname(String name)The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id)LegalEntityAssociationrelationship(String relationship)The individual's relationship to a legal representative if the `type` is **legalRepresentative**.voidsetAssociatorId(String associatorId)The unique identifier of another legal entity with which the `legalEntityId` is associated.voidsetEntityType(String entityType)The legal entity type of associated legal entity.voidsetJobTitle(String jobTitle)The individual's job title if the `type` is **uboThroughControl** or **signatory**.voidsetLegalEntityId(String legalEntityId)The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).voidsetName(String name)The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id)voidsetRelationship(String relationship)The individual's relationship to a legal representative if the `type` is **legalRepresentative**.voidsetSettlorExemptionReason(List<String> settlorExemptionReason)Defines the KYC exemption reason for a settlor associated with a trust.LegalEntityAssociationsettlorExemptionReason(List<String> settlorExemptionReason)Defines the KYC exemption reason for a settlor associated with a trust.voidsetType(LegalEntityAssociation.TypeEnum type)Defines the relationship of the legal entity to the current legal entity.StringtoJson()Convert an instance of LegalEntityAssociation to an JSON stringStringtoString()LegalEntityAssociationtype(LegalEntityAssociation.TypeEnum type)Defines the relationship of the legal entity to the current legal entity.
-
-
-
Field Detail
-
JSON_PROPERTY_ASSOCIATOR_ID
public static final String JSON_PROPERTY_ASSOCIATOR_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_TYPE
public static final String JSON_PROPERTY_ENTITY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JOB_TITLE
public static final String JSON_PROPERTY_JOB_TITLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ENTITY_ID
public static final String JSON_PROPERTY_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATIONSHIP
public static final String JSON_PROPERTY_RELATIONSHIP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SETTLOR_EXEMPTION_REASON
public static final String JSON_PROPERTY_SETTLOR_EXEMPTION_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
associatorId
public LegalEntityAssociation associatorId(String associatorId)
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.- Parameters:
associatorId-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
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)
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.- Parameters:
associatorId-
-
entityType
public LegalEntityAssociation entityType(String entityType)
The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**.- Parameters:
entityType-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
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)
The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**.- Parameters:
entityType-
-
jobTitle
public LegalEntityAssociation jobTitle(String jobTitle)
The individual's job title if the `type` is **uboThroughControl** or **signatory**.- Parameters:
jobTitle-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
getJobTitle
public String getJobTitle()
The individual's job title if the `type` is **uboThroughControl** or **signatory**.- Returns:
- jobTitle
-
setJobTitle
public void setJobTitle(String jobTitle)
The individual's job title if the `type` is **uboThroughControl** or **signatory**.- Parameters:
jobTitle-
-
legalEntityId
public LegalEntityAssociation legalEntityId(String legalEntityId)
The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).- Parameters:
legalEntityId-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
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)
The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).- Parameters:
legalEntityId-
-
name
public LegalEntityAssociation name(String name)
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`.- Parameters:
name-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
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)
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`.- Parameters:
name-
-
relationship
public LegalEntityAssociation relationship(String relationship)
The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**.- Parameters:
relationship-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
getRelationship
public String getRelationship()
The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**.- Returns:
- relationship
-
setRelationship
public void setRelationship(String relationship)
The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**.- Parameters:
relationship-
-
settlorExemptionReason
public LegalEntityAssociation settlorExemptionReason(List<String> settlorExemptionReason)
Defines the KYC exemption reason for a settlor associated with a trust. Only applicable to trusts in Australia. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**.- Parameters:
settlorExemptionReason-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
addSettlorExemptionReasonItem
public LegalEntityAssociation addSettlorExemptionReasonItem(String settlorExemptionReasonItem)
-
getSettlorExemptionReason
public List<String> getSettlorExemptionReason()
Defines the KYC exemption reason for a settlor associated with a trust. Only applicable to trusts in Australia. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**.- Returns:
- settlorExemptionReason
-
setSettlorExemptionReason
public void setSettlorExemptionReason(List<String> settlorExemptionReason)
Defines the KYC exemption reason for a settlor associated with a trust. Only applicable to trusts in Australia. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**.- Parameters:
settlorExemptionReason-
-
type
public LegalEntityAssociation type(LegalEntityAssociation.TypeEnum type)
Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership**- Parameters:
type-- Returns:
- the current
LegalEntityAssociationinstance, allowing for method chaining
-
getType
public LegalEntityAssociation.TypeEnum getType()
Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership**- Returns:
- type
-
setType
public void setType(LegalEntityAssociation.TypeEnum type)
Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this LegalEntityAssociation object is equal to o.
-
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
-
-