public abstract class ReviewDisplayRequestBuilder<BuilderType,RequestType>
extends java.lang.Object
Reviews| Modifier and Type | Field and Description |
|---|---|
protected int |
limit |
protected int |
offset |
protected java.lang.String |
productId |
protected java.util.List<ReviewIncludeType> |
reviewIncludeTypes |
protected java.lang.String |
searchPhrase |
protected java.util.List<com.bazaarvoice.bvandroidsdk.Sort> |
sorts |
| Constructor and Description |
|---|
ReviewDisplayRequestBuilder(java.lang.String productId,
int limit,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
BuilderType |
addAdditionalField(java.lang.String key,
java.lang.String value) |
protected void |
addFilter(com.bazaarvoice.bvandroidsdk.Filter filter) |
BuilderType |
addFilter(ReviewOptions.Filter filter,
EqualityOperator equalityOperator,
java.lang.String value) |
BuilderType |
addIncludeContent(ReviewIncludeType reviewIncludeType) |
BuilderType |
addSort(ReviewOptions.Sort sort,
SortOrder sortOrder) |
abstract RequestType |
build() |
BuilderType |
includeSearchPhrase(java.lang.String search) |
protected final java.lang.String productId
protected final java.util.List<com.bazaarvoice.bvandroidsdk.Sort> sorts
protected final int limit
protected final int offset
protected java.lang.String searchPhrase
protected java.util.List<ReviewIncludeType> reviewIncludeTypes
public ReviewDisplayRequestBuilder(java.lang.String productId,
int limit,
int offset)
public BuilderType addIncludeContent(ReviewIncludeType reviewIncludeType)
public BuilderType addSort(ReviewOptions.Sort sort, SortOrder sortOrder)
public BuilderType addFilter(ReviewOptions.Filter filter, EqualityOperator equalityOperator, java.lang.String value)
public BuilderType includeSearchPhrase(java.lang.String search)
public abstract RequestType build()
protected void addFilter(com.bazaarvoice.bvandroidsdk.Filter filter)
public BuilderType addAdditionalField(java.lang.String key,
java.lang.String value)