public static final class RecommendationsRequest.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(int limit) |
| Modifier and Type | Method and Description |
|---|---|
RecommendationsRequest |
build() |
RecommendationsRequest.Builder |
categoryId(java.lang.String val)
Product recommendations from the set category will be preferred.
|
RecommendationsRequest.Builder |
interests(java.util.List<java.lang.String> val)
Filters recommendations to only those that match the interest filter.
|
RecommendationsRequest.Builder |
minAvgRating(double val)
Only return recommendations that are >= to supplied rating.
|
RecommendationsRequest.Builder |
pageType(PageType val)
The type of page the recommendations will be displayed on.
|
RecommendationsRequest.Builder |
productId(java.lang.String val)
Will make recommendations based on the product.
|
RecommendationsRequest.Builder |
requiredCategory(java.lang.String val)
Will constrain recommendations to the category
|
public Builder(int limit)
limit - Number of recommendations to return.public RecommendationsRequest.Builder productId(java.lang.String val)
public RecommendationsRequest.Builder categoryId(java.lang.String val)
public RecommendationsRequest.Builder pageType(PageType val)
public RecommendationsRequest.Builder interests(java.util.List<java.lang.String> val)
public RecommendationsRequest.Builder requiredCategory(java.lang.String val)
public RecommendationsRequest.Builder minAvgRating(double val)
public RecommendationsRequest build()