public void setDeclaredInterests(List<String> declaredInterests) {
        this.declaredInterests = declaredInterests;
    }
<p>Setter for the field <code>declaredInterests</code>.</p>

@param declaredInterests a {@link List} object
pac4j-oauth/src/main/java/org/pac4j/oauth/profile/yahoo/YahooInterest.java