public class BVRecommendations extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
BVRecommendations.BVRecommendationsCallback
Callback used to asynchronously receive the Bazaarvoice product recommendations
|
| Constructor and Description |
|---|
BVRecommendations() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRecommendationsUrlString(com.bazaarvoice.bvandroidsdk.BVRecommendations.RecommendationParams params) |
void |
getRecommendedProducts(int limit,
BVRecommendations.BVRecommendationsCallback callback) |
void |
getRecommendedProductsWithCategoryId(int limit,
String categoryId,
BVRecommendations.BVRecommendationsCallback callback) |
void |
getRecommendedProductsWithProductId(int limit,
String productId,
BVRecommendations.BVRecommendationsCallback callback) |
public void getRecommendedProductsWithCategoryId(int limit,
String categoryId,
BVRecommendations.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 errorspublic void getRecommendedProductsWithProductId(int limit,
String productId,
BVRecommendations.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 errorspublic void getRecommendedProducts(int limit,
BVRecommendations.BVRecommendationsCallback callback)
limit - max number of recommended productscallback - callback to provide list of Products or handle errorsprotected String getRecommendationsUrlString(com.bazaarvoice.bvandroidsdk.BVRecommendations.RecommendationParams params)
Copyright © 2016. All Rights Reserved.