public class RelatedProductDTO extends Object
| Constructor and Description |
|---|
RelatedProductDTO() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCategoryId()
Returns the categoryId for which the system should find related products.
|
Long |
getProductId()
Returns the productId for which the system should find related products.
|
Integer |
getQuantity()
The number of results to return.
|
RelatedProductTypeEnum |
getType()
Returns the type of relationship that is desired.
|
boolean |
isCumulativeResults()
Returns whether cumulative results are desired.
|
void |
setCategoryId(Long categoryId)
Sets the categoryId for which the system should find related products.
|
void |
setCumulativeResults(boolean cumulativeResults)
Sets whether cumulative results are desired.
|
void |
setProductId(Long productId)
Sets the productId for which the system should find related products.
|
void |
setQuantity(Integer quantity)
The number of results to return.
|
void |
setType(RelatedProductTypeEnum type)
Sets the type of relationship that is desired.
|
public Long getCategoryId()
public void setCategoryId(Long categoryId)
categoryId - public Long getProductId()
public void setProductId(Long productId)
productId - public RelatedProductTypeEnum getType()
RelatedProductTypeEnumpublic void setType(RelatedProductTypeEnum type)
type - RelatedProductTypeEnumpublic boolean isCumulativeResults()
public void setCumulativeResults(boolean cumulativeResults)
cumulativeResults - public Integer getQuantity()
public void setQuantity(Integer quantity)
maxQuantity - Copyright © 2014. All Rights Reserved.