public interface Recommendations
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Recommendations.BVRecommendationsCallback |
| Modifier and Type | Method and Description |
|---|---|
void |
getRecommendedProducts(int limit,
Recommendations.BVRecommendationsCallback callback) |
void |
getRecommendedProductsWithCategoryId(int limit,
String categoryId,
Recommendations.BVRecommendationsCallback callback) |
void |
getRecommendedProductsWithProductId(int limit,
String productId,
Recommendations.BVRecommendationsCallback callback) |
void getRecommendedProductsWithCategoryId(int limit,
String categoryId,
Recommendations.BVRecommendationsCallback callback)
limit - max number of recommended products
default is 20
valid limits 1...50; will use default if out of rangecategoryId - used to filter recommended products within a category. Mutually exclusive with productId.
if productId and categoryId are set, productId will be usedcallback - callback to provide list of Products or handle errorsvoid getRecommendedProductsWithProductId(int limit,
String productId,
Recommendations.BVRecommendationsCallback callback)
limit - max number of recommended products
default is 20
valid limits 1...50; will use default if out of rangeproductId - used to filter recommended products to similar productscallback - callback to provide list of Products or handle errorsvoid getRecommendedProducts(int limit,
Recommendations.BVRecommendationsCallback callback)
limit - max number of recommended productscallback - callback to provide list of Products or handle errorsCopyright © 2016. All Rights Reserved.