public interface ProductsIf
Modifier and Type | Method and Description |
---|---|
CategoryIf[] |
getCategoryFacets()
The result of a product search using Solr may contain the category facets including the
number of products per category.
|
KKFacetIf[] |
getCustomFacets()
The result of a product search using Solr may contain facet information for custom fields.
|
ManufacturerIf[] |
getManufacturerFacets()
The result of a product search using Solr may contain the manufacturer facets including the
number of products per manufacturer.
|
java.math.BigDecimal |
getMaxPrice()
The maximum price for all products.
|
java.math.BigDecimal |
getMinPrice()
The minimum price for all products.
|
KKPriceFacetIf[] |
getPriceFacets()
Price facets returned after a Solr search
|
ProductIf[] |
getProductArray() |
ProductRelationshipIf[] |
getRelationData()
Only populated by the API call
getRelatedProductsWithOptions . |
java.math.BigDecimal |
getTaxMultiplier()
taxMultiplier used to add tax to price facet information
|
int |
getTotalNumProducts() |
ProductIf[] |
getUniqueProductArray()
This attribute is only populated by the API calls
getBundlesThatProductBelongsTo() and
getBundlesThatProductsBelongTo() . |
void |
setCategoryFacets(CategoryIf[] categoryFacets)
The result of a product search using Solr may contain the category facets including the
number of products per category.
|
void |
setCustomFacets(KKFacetIf[] customFacets)
The result of a product search using Solr may contain facet information for custom fields.
|
void |
setManufacturerFacets(ManufacturerIf[] manufacturerFacets)
The result of a product search using Solr may contain the manufacturer facets including the
number of products per manufacturer.
|
void |
setMaxPrice(java.math.BigDecimal maxPrice)
The maximum price for all products.
|
void |
setMinPrice(java.math.BigDecimal minPrice)
The minimum price for all products.
|
void |
setPriceFacets(KKPriceFacetIf[] priceFacets)
Price facets returned after a Solr search
|
void |
setProductArray(ProductIf[] productArray) |
void |
setRelationData(ProductRelationshipIf[] relationData)
Only populated by the API call
getRelatedProductsWithOptions . |
void |
setTaxMultiplier(java.math.BigDecimal taxMultiplier)
taxMultiplier used to add tax to price facet information
|
void |
setTotalNumProducts(int totalNumProducts) |
void |
setUniqueProductArray(ProductIf[] uniqueProductArray)
This attribute is only populated by the API calls
getBundlesThatProductBelongsTo() and
getBundlesThatProductsBelongTo() . |
ProductIf[] getProductArray()
void setProductArray(ProductIf[] productArray)
productArray
- The productArray to set.int getTotalNumProducts()
void setTotalNumProducts(int totalNumProducts)
totalNumProducts
- The totalNumProducts to set.ManufacturerIf[] getManufacturerFacets()
void setManufacturerFacets(ManufacturerIf[] manufacturerFacets)
manufacturerFacets
- the manufacturerFacets to setCategoryIf[] getCategoryFacets()
void setCategoryFacets(CategoryIf[] categoryFacets)
categoryFacets
- the categoryFacets to setKKFacetIf[] getCustomFacets()
void setCustomFacets(KKFacetIf[] customFacets)
customFacets
- the customFacets to setjava.math.BigDecimal getMaxPrice()
void setMaxPrice(java.math.BigDecimal maxPrice)
maxPrice
- the maxPrice to setjava.math.BigDecimal getMinPrice()
void setMinPrice(java.math.BigDecimal minPrice)
minPrice
- the minPrice to setKKPriceFacetIf[] getPriceFacets()
void setPriceFacets(KKPriceFacetIf[] priceFacets)
priceFacets
- the priceFacets to setjava.math.BigDecimal getTaxMultiplier()
void setTaxMultiplier(java.math.BigDecimal taxMultiplier)
taxMultiplier
- the taxMultiplier to setProductIf[] getUniqueProductArray()
getBundlesThatProductBelongsTo()
and
getBundlesThatProductsBelongTo()
. These methods return an array of products,
each of which has an array of bundled products. The same products may be repeated many times
within the array of bundled products which can affect performance since the amount of data
returned can be very large. When createListOfUniqueProducts
is set to true in
the FetchProductOptions
object, the bundled products are only populated with the
product id, the quantity and the encodedOptionValues to make them very much lighter. Also
within this object the uniqueProductArray
attribute is created and populated
with a unique set of products that includes just one copy of all of the bundled products.void setUniqueProductArray(ProductIf[] uniqueProductArray)
getBundlesThatProductBelongsTo()
and
getBundlesThatProductsBelongTo()
. These methods return an array of products,
each of which has an array of bundled products. The same products may be repeated many times
within the array of bundled products which can affect performance since the amount of data
returned can be very large. When createListOfUniqueProducts
is set to true in
the FetchProductOptions
object, the bundled products are only populated with the
product id, the quantity and the encodedOptionValues to make them very much lighter. Also
within this object the uniqueProductArray
attribute is created and populated
with a unique set of products that includes just one copy of all of the bundled products.uniqueProductArray
- the uniqueProductArray to setProductRelationshipIf[] getRelationData()
getRelatedProductsWithOptions
. It consists of an
array of objects, each of which contains data specific to a relationship between two
products.void setRelationData(ProductRelationshipIf[] relationData)
getRelatedProductsWithOptions
. It consists of an
array of objects, each of which contains data specific to a relationship between two
products.relationData
- the relationData to setCopyright © 2018 DS Data Systems UK Ltd.