Class AccountHolderInfo


  • public class AccountHolderInfo
    extends Object
    AccountHolderInfo
    • Constructor Detail

      • AccountHolderInfo

        public AccountHolderInfo()
    • Method Detail

      • getBalancePlatform

        public String getBalancePlatform()
        The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.
        Returns:
        balancePlatform
      • setBalancePlatform

        public void setBalancePlatform​(String balancePlatform)
        The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.
        Parameters:
        balancePlatform -
      • getCapabilities

        public Map<String,​AccountHolderCapability> getCapabilities()
        Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.
        Returns:
        capabilities
      • setCapabilities

        public void setCapabilities​(Map<String,​AccountHolderCapability> capabilities)
        Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.
        Parameters:
        capabilities -
      • getContactDetails

        @Deprecated
        public ContactDetails getContactDetails()
        Deprecated.
        Get contactDetails
        Returns:
        contactDetails
      • setContactDetails

        @Deprecated
        public void setContactDetails​(ContactDetails contactDetails)
        Deprecated.
        contactDetails
        Parameters:
        contactDetails -
      • getDescription

        public String getDescription()
        Your description for the account holder.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Your description for the account holder.
        Parameters:
        description -
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.
        Parameters:
        legalEntityId -
      • getMetadata

        public Map<String,​String> getMetadata()
        A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
        A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
        Parameters:
        metadata -
      • migratedAccountHolderCode

        public AccountHolderInfo migratedAccountHolderCode​(String migratedAccountHolderCode)
      • getMigratedAccountHolderCode

        public String getMigratedAccountHolderCode()
        The unique identifier of the migrated account holder in the classic integration.
        Returns:
        migratedAccountHolderCode
      • setMigratedAccountHolderCode

        public void setMigratedAccountHolderCode​(String migratedAccountHolderCode)
        The unique identifier of the migrated account holder in the classic integration.
        Parameters:
        migratedAccountHolderCode -
      • getReference

        public String getReference()
        Your reference for the account holder.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the account holder.
        Parameters:
        reference -
      • getTimeZone

        public String getTimeZone()
        The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
        Returns:
        timeZone
      • setTimeZone

        public void setTimeZone​(String timeZone)
        The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
        Parameters:
        timeZone -
      • equals

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

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

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

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