Class ShareholderContact


  • public class ShareholderContact
    extends Object
    ShareholderContact
    • Constructor Detail

      • ShareholderContact

        public ShareholderContact()
    • Method Detail

      • getAddress

        public ViasAddress getAddress()
        Get address
        Returns:
        address
      • setAddress

        public void setAddress​(ViasAddress address)
      • getEmail

        public String getEmail()
        The e-mail address of the person.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
      • 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)
      • 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)
      • getName

        public ViasName getName()
        Get name
        Returns:
        name
      • setName

        public void setName​(ViasName name)
      • getPersonalData

        public ViasPersonalData getPersonalData()
        Get personalData
        Returns:
        personalData
      • setPersonalData

        public void setPersonalData​(ViasPersonalData personalData)
      • getPhoneNumber

        public ViasPhoneNumber getPhoneNumber()
        Get phoneNumber
        Returns:
        phoneNumber
      • setPhoneNumber

        public void setPhoneNumber​(ViasPhoneNumber phoneNumber)
      • 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)
      • getShareholderReference

        public String getShareholderReference()
        Your reference for the shareholder entry.
        Returns:
        shareholderReference
      • setShareholderReference

        public void setShareholderReference​(String shareholderReference)
      • 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
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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