Class ShareholderContact
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.ShareholderContact
-
public class ShareholderContact extends Object
ShareholderContact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShareholderContact.ShareholderTypeEnumSpecifies how the person is associated with the account holder.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_EMAILstatic StringJSON_PROPERTY_FULL_PHONE_NUMBERstatic StringJSON_PROPERTY_JOB_TITLEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PERSONAL_DATAstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_SHAREHOLDER_CODEstatic StringJSON_PROPERTY_SHAREHOLDER_REFERENCEstatic StringJSON_PROPERTY_SHAREHOLDER_TYPEstatic StringJSON_PROPERTY_WEB_ADDRESS
-
Constructor Summary
Constructors Constructor Description ShareholderContact()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- 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_JOB_TITLE
public static final String JSON_PROPERTY_JOB_TITLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERSONAL_DATA
public static final String JSON_PROPERTY_PERSONAL_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE_NUMBER
public static final String JSON_PROPERTY_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHAREHOLDER_CODE
public static final String JSON_PROPERTY_SHAREHOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHAREHOLDER_REFERENCE
public static final String JSON_PROPERTY_SHAREHOLDER_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHAREHOLDER_TYPE
public static final String JSON_PROPERTY_SHAREHOLDER_TYPE
- 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 ShareholderContact address(ViasAddress address)
-
getAddress
public ViasAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(ViasAddress address)
-
email
public ShareholderContact email(String email)
-
getEmail
public String getEmail()
The e-mail address of the person.- Returns:
-
setEmail
public void setEmail(String email)
-
fullPhoneNumber
public ShareholderContact fullPhoneNumber(String fullPhoneNumber)
-
getFullPhoneNumber
public String getFullPhoneNumber()
The phone number of the person 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)
-
jobTitle
public ShareholderContact jobTitle(String jobTitle)
-
getJobTitle
public String getJobTitle()
Job title of the person. Required when the `shareholderType` is **Controller**. Example values: **Chief Executive Officer**, **Chief Financial Officer**, **Chief Operating Officer**, **President**, **Vice President**, **Executive President**, **Managing Member**, **Partner**, **Treasurer**, **Director**, or **Other**.- Returns:
- jobTitle
-
setJobTitle
public void setJobTitle(String jobTitle)
-
name
public ShareholderContact name(ViasName name)
-
getName
public ViasName getName()
Get name- Returns:
- name
-
setName
public void setName(ViasName name)
-
personalData
public ShareholderContact personalData(ViasPersonalData personalData)
-
getPersonalData
public ViasPersonalData getPersonalData()
Get personalData- Returns:
- personalData
-
setPersonalData
public void setPersonalData(ViasPersonalData personalData)
-
phoneNumber
public ShareholderContact phoneNumber(ViasPhoneNumber phoneNumber)
-
getPhoneNumber
public ViasPhoneNumber getPhoneNumber()
Get phoneNumber- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(ViasPhoneNumber phoneNumber)
-
shareholderCode
public ShareholderContact shareholderCode(String shareholderCode)
-
getShareholderCode
public String getShareholderCode()
The unique identifier (UUID) of the shareholder entry. >**If, during an Account Holder create or update request, this field is left blank (but other fields provided), a new Shareholder will be created with a procedurally-generated UUID.** >**If, during an Account Holder create request, a UUID is provided, the creation of Account Holder will fail with a validation Error..** >**If, during an Account Holder update request, a UUID that is not correlated with an existing Shareholder is provided, the update of the Shareholder will fail.** >**If, during an Account Holder update request, a UUID that is correlated with an existing Shareholder is provided, the existing Shareholder will be updated.**- Returns:
- shareholderCode
-
setShareholderCode
public void setShareholderCode(String shareholderCode)
-
shareholderReference
public ShareholderContact shareholderReference(String shareholderReference)
-
getShareholderReference
public String getShareholderReference()
Your reference for the shareholder entry.- Returns:
- shareholderReference
-
setShareholderReference
public void setShareholderReference(String shareholderReference)
-
shareholderType
public ShareholderContact shareholderType(ShareholderContact.ShareholderTypeEnum shareholderType)
-
getShareholderType
public ShareholderContact.ShareholderTypeEnum getShareholderType()
Specifies how the person is associated with the account holder. Possible values: * **Owner**: Individuals who directly or indirectly own 25% or more of a company. * **Controller**: Individuals who are members of senior management staff responsible for managing a company or organization.- Returns:
- shareholderType
-
setShareholderType
public void setShareholderType(ShareholderContact.ShareholderTypeEnum shareholderType)
-
webAddress
public ShareholderContact webAddress(String webAddress)
-
getWebAddress
public String getWebAddress()
The URL of the person's website.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
-
equals
public boolean equals(Object o)
Return true if this ShareholderContact object is equal to o.
-
fromJson
public static ShareholderContact fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ShareholderContact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ShareholderContact
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ShareholderContact
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ShareholderContact to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-