Class AccountHolderResource


  • public class AccountHolderResource
    extends Resource
    AccountHolderResource
    • Constructor Detail

      • AccountHolderResource

        public AccountHolderResource()
    • Method Detail

      • accountHolderId

        public AccountHolderResource accountHolderId​(String accountHolderId)
        The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
        Parameters:
        accountHolderId - The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
        Returns:
        the current AccountHolderResource instance, allowing for method chaining
      • getAccountHolderId

        public String getAccountHolderId()
        The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
        Returns:
        accountHolderId The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
      • setAccountHolderId

        public void setAccountHolderId​(String accountHolderId)
        The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
        Parameters:
        accountHolderId - The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
      • includeNullValues

        public AccountHolderResource includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
        Overrides:
        includeNullValues in class Resource
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
        Overrides:
        isIncludeNullValues in class Resource
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class Resource
      • equals

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
        Overrides:
        getExplicitNulls in class Resource
      • fromJson

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

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AccountHolderResource to an JSON string
        Overrides:
        toJson in class Resource
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException