Class CreateAccountHolderRequest


  • public class CreateAccountHolderRequest
    extends Object
    CreateAccountHolderRequest
    • Constructor Detail

      • CreateAccountHolderRequest

        public CreateAccountHolderRequest()
    • Method Detail

      • getAccountHolderCode

        public String getAccountHolderCode()
        Your unique identifier for the prospective account holder. The length must be between three (3) and fifty (50) characters long. Only letters, digits, and hyphens (-) are allowed.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getAccountHolderDetails

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

        public void setAccountHolderDetails​(AccountHolderDetails accountHolderDetails)
      • getCreateDefaultAccount

        public Boolean getCreateDefaultAccount()
        If set to **true**, an account with the default options is automatically created for the account holder. By default, this field is set to **true**.
        Returns:
        createDefaultAccount
      • setCreateDefaultAccount

        public void setCreateDefaultAccount​(Boolean createDefaultAccount)
      • getDescription

        public String getDescription()
        A description of the prospective 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 CreateAccountHolderRequest.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 three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes), with which the prospective account holder primarily deals.
        Returns:
        primaryCurrency
      • setPrimaryCurrency

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

        public Integer getProcessingTier()
        The starting [processing tier](https://docs.adyen.com/marketplaces-and-platforms/classic/onboarding-and-verification/precheck-kyc-information) for the prospective account holder.
        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 CreateAccountHolderRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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