Class ProductStipulations
java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.dto.ProductStipulations
Additional filter stipulations for product fetch. Note, these are extra filters and results from
the calling method may include only a subset of what is referenced here as a result of other
filters in play (e.g. tenant filters, active production status filters, etc...). Stipulations are
applied as a set of OR conditions, so any match of any of the stipulations designates a match for
this set of conditions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Filter the results to only those products whose external ids matches these external ids, or products that are the parents of skus that match these external ids.Filter the results to only those products whose pricing keys match these pricing keys.Filter the results to only those products whose ids match these product ids.getSkus()
Filter the results to only those products whose default skus matches these skus, or products that are the parents of skus that match these skus.int
hashCode()
void
setExternalIds
(List<String> externalIds) Filter the results to only those products whose external ids matches these external ids, or products that are the parents of skus that match these external ids.void
setPricingKeys
(List<String> pricingKeys) Filter the results to only those products whose pricing keys match these pricing keys.void
setProductIds
(List<String> productIds) Filter the results to only those products whose ids match these product ids.void
Filter the results to only those products whose default skus matches these skus, or products that are the parents of skus that match these skus.toString()
-
Constructor Details
-
ProductStipulations
public ProductStipulations()
-
-
Method Details
-
getExternalIds
Filter the results to only those products whose external ids matches these external ids, or products that are the parents of skus that match these external ids. Optional. -
getSkus
Filter the results to only those products whose default skus matches these skus, or products that are the parents of skus that match these skus. Optional. -
getPricingKeys
Filter the results to only those products whose pricing keys match these pricing keys. Optional. -
getProductIds
Filter the results to only those products whose ids match these product ids. Optional. -
setExternalIds
Filter the results to only those products whose external ids matches these external ids, or products that are the parents of skus that match these external ids. Optional. -
setSkus
Filter the results to only those products whose default skus matches these skus, or products that are the parents of skus that match these skus. Optional. -
setPricingKeys
Filter the results to only those products whose pricing keys match these pricing keys. Optional. -
setProductIds
Filter the results to only those products whose ids match these product ids. Optional. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-