Class UpdateAccountHolderRequest


  • public class UpdateAccountHolderRequest
    extends Object
    UpdateAccountHolderRequest
    • Constructor Detail

      • UpdateAccountHolderRequest

        public UpdateAccountHolderRequest()
    • Method Detail

      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the Account Holder to be updated.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getAccountHolderDetails

        public AccountHolderDetails getAccountHolderDetails()
        Get accountHolderDetails
        Returns:
        accountHolderDetails
      • setAccountHolderDetails

        public void setAccountHolderDetails​(AccountHolderDetails accountHolderDetails)
      • getDescription

        public String getDescription()
        A description of the account holder, maximum 256 characters. You can use alphanumeric characters (A-Z, a-z, 0-9), white spaces, and underscores `_`.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getLegalEntity

        public UpdateAccountHolderRequest.LegalEntityEnum getLegalEntity()
        The legal entity type of the account holder. This determines the information that should be provided in the request. Possible values: **Business**, **Individual**, or **NonProfit**. * If set to **Business** or **NonProfit**, then `accountHolderDetails.businessDetails` must be provided, with at least one entry in the `accountHolderDetails.businessDetails.shareholders` list. * If set to **Individual**, then `accountHolderDetails.individualDetails` must be provided.
        Returns:
        legalEntity
      • getPrimaryCurrency

        @Deprecated
        public String getPrimaryCurrency()
        Deprecated.
        The primary three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes), to which the account holder should be updated.
        Returns:
        primaryCurrency
      • setPrimaryCurrency

        @Deprecated
        public void setPrimaryCurrency​(String primaryCurrency)
        Deprecated.
      • getProcessingTier

        public Integer getProcessingTier()
        The processing tier to which the Account Holder should be updated. >The processing tier can not be lowered through this request. >Required if accountHolderDetails are not provided.
        Returns:
        processingTier
      • setProcessingTier

        public void setProcessingTier​(Integer processingTier)
      • getVerificationProfile

        public String getVerificationProfile()
        The identifier of the profile that applies to this entity.
        Returns:
        verificationProfile
      • setVerificationProfile

        public void setVerificationProfile​(String verificationProfile)
      • equals

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

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

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

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