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