public class BVRecommendations extends Object implements Recommendations
Recommendations.BVRecommendationsCallback| Constructor and Description |
|---|
BVRecommendations() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRecommendationsUrlString(com.bazaarvoice.bvandroidsdk.BVRecommendations.RecommendationParams params) |
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) |
public void getRecommendedProductsWithCategoryId(int limit,
String categoryId,
Recommendations.BVRecommendationsCallback callback)
getRecommendedProductsWithCategoryId in interface Recommendationslimit - 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,
Recommendations.BVRecommendationsCallback callback)
getRecommendedProductsWithProductId in interface Recommendationslimit - 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,
Recommendations.BVRecommendationsCallback callback)
getRecommendedProducts in interface Recommendationslimit - 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.