Class LegalArrangementEntityDetail
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.LegalArrangementEntityDetail
-
public class LegalArrangementEntityDetail extends Object
LegalArrangementEntityDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegalArrangementEntityDetail.LegalArrangementMembersEnumGets or Sets legalArrangementMembersstatic classLegalArrangementEntityDetail.LegalEntityTypeEnumThe legal entity type.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_BUSINESS_DETAILSstatic StringJSON_PROPERTY_EMAILstatic StringJSON_PROPERTY_FULL_PHONE_NUMBERstatic StringJSON_PROPERTY_INDIVIDUAL_DETAILSstatic StringJSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODEstatic StringJSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_REFERENCEstatic StringJSON_PROPERTY_LEGAL_ARRANGEMENT_MEMBERSstatic StringJSON_PROPERTY_LEGAL_ENTITY_TYPEstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_WEB_ADDRESS
-
Constructor Summary
Constructors Constructor Description LegalArrangementEntityDetail()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_DETAILS
public static final String JSON_PROPERTY_BUSINESS_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FULL_PHONE_NUMBER
public static final String JSON_PROPERTY_FULL_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INDIVIDUAL_DETAILS
public static final String JSON_PROPERTY_INDIVIDUAL_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE
public static final String JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_REFERENCE
public static final String JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ARRANGEMENT_MEMBERS
public static final String JSON_PROPERTY_LEGAL_ARRANGEMENT_MEMBERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ENTITY_TYPE
public static final String JSON_PROPERTY_LEGAL_ENTITY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE_NUMBER
public static final String JSON_PROPERTY_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_ADDRESS
public static final String JSON_PROPERTY_WEB_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public LegalArrangementEntityDetail address(ViasAddress address)
-
getAddress
public ViasAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(ViasAddress address)
-
businessDetails
public LegalArrangementEntityDetail businessDetails(BusinessDetails businessDetails)
-
getBusinessDetails
public BusinessDetails getBusinessDetails()
Get businessDetails- Returns:
- businessDetails
-
setBusinessDetails
public void setBusinessDetails(BusinessDetails businessDetails)
-
email
public LegalArrangementEntityDetail email(String email)
-
getEmail
public String getEmail()
The e-mail address of the entity.- Returns:
-
setEmail
public void setEmail(String email)
-
fullPhoneNumber
public LegalArrangementEntityDetail fullPhoneNumber(String fullPhoneNumber)
-
getFullPhoneNumber
public String getFullPhoneNumber()
The phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"- Returns:
- fullPhoneNumber
-
setFullPhoneNumber
public void setFullPhoneNumber(String fullPhoneNumber)
-
individualDetails
public LegalArrangementEntityDetail individualDetails(IndividualDetails individualDetails)
-
getIndividualDetails
public IndividualDetails getIndividualDetails()
Get individualDetails- Returns:
- individualDetails
-
setIndividualDetails
public void setIndividualDetails(IndividualDetails individualDetails)
-
legalArrangementEntityCode
public LegalArrangementEntityDetail legalArrangementEntityCode(String legalArrangementEntityCode)
-
getLegalArrangementEntityCode
public String getLegalArrangementEntityCode()
Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement entity. Use only when updating an account holder. If you include this field when creating an account holder, the request will fail.- Returns:
- legalArrangementEntityCode
-
setLegalArrangementEntityCode
public void setLegalArrangementEntityCode(String legalArrangementEntityCode)
-
legalArrangementEntityReference
public LegalArrangementEntityDetail legalArrangementEntityReference(String legalArrangementEntityReference)
-
getLegalArrangementEntityReference
public String getLegalArrangementEntityReference()
Your reference for the legal arrangement entity.- Returns:
- legalArrangementEntityReference
-
setLegalArrangementEntityReference
public void setLegalArrangementEntityReference(String legalArrangementEntityReference)
-
legalArrangementMembers
public LegalArrangementEntityDetail legalArrangementMembers(List<LegalArrangementEntityDetail.LegalArrangementMembersEnum> legalArrangementMembers)
-
addLegalArrangementMembersItem
public LegalArrangementEntityDetail addLegalArrangementMembersItem(LegalArrangementEntityDetail.LegalArrangementMembersEnum legalArrangementMembersItem)
-
getLegalArrangementMembers
public List<LegalArrangementEntityDetail.LegalArrangementMembersEnum> getLegalArrangementMembers()
An array containing the roles of the entity in the legal arrangement. The possible values depend on the legal arrangement `type`. - For `type` **Association**: **ControllingPerson** and **Shareholder**. - For `type` **Partnership**: **Partner** and **Shareholder**. - For `type` **Trust**: **Trustee**, **Settlor**, **Protector**, **Beneficiary**, and **Shareholder**.- Returns:
- legalArrangementMembers
-
setLegalArrangementMembers
public void setLegalArrangementMembers(List<LegalArrangementEntityDetail.LegalArrangementMembersEnum> legalArrangementMembers)
-
legalEntityType
public LegalArrangementEntityDetail legalEntityType(LegalArrangementEntityDetail.LegalEntityTypeEnum legalEntityType)
-
getLegalEntityType
public LegalArrangementEntityDetail.LegalEntityTypeEnum getLegalEntityType()
The legal entity type. Possible values: **Business**, **Individual**, **NonProfit**, **PublicCompany**, or **Partnership**.- Returns:
- legalEntityType
-
setLegalEntityType
public void setLegalEntityType(LegalArrangementEntityDetail.LegalEntityTypeEnum legalEntityType)
-
phoneNumber
public LegalArrangementEntityDetail phoneNumber(ViasPhoneNumber phoneNumber)
-
getPhoneNumber
public ViasPhoneNumber getPhoneNumber()
Get phoneNumber- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(ViasPhoneNumber phoneNumber)
-
webAddress
public LegalArrangementEntityDetail webAddress(String webAddress)
-
getWebAddress
public String getWebAddress()
The URL of the website of the contact.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
-
equals
public boolean equals(Object o)
Return true if this LegalArrangementEntityDetail object is equal to o.
-
fromJson
public static LegalArrangementEntityDetail fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of LegalArrangementEntityDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LegalArrangementEntityDetail
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to LegalArrangementEntityDetail
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of LegalArrangementEntityDetail to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-