public class ProductSetSelectorImpl extends Object implements ProductSetSelector, io.vrap.rmf.base.client.ModelBase
A set of ProductData for comparison. If no optional attributes are specified, all current ProductData are selected for comparison.
| Constructor and Description |
|---|
ProductSetSelectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getIncludeVariants()
Specifies use of product variants.
|
List<String> |
getProductIds()
An array of Product IDs to compare.
|
Long |
getProductSetLimit()
Maximum number of products to check (if unspecified, all products are considered).
|
List<String> |
getProductTypeIds()
An array of product type IDs.
|
String |
getProjectKey()
The project containing the project set.
|
Boolean |
getStaged()
Specifies use of staged or current product data.
|
int |
hashCode() |
void |
setIncludeVariants(Boolean includeVariants) |
void |
setProductIds(List<String> productIds) |
void |
setProductIds(String... productIds) |
void |
setProductSetLimit(Long productSetLimit) |
void |
setProductTypeIds(List<String> productTypeIds) |
void |
setProductTypeIds(String... productTypeIds) |
void |
setProjectKey(String projectKey) |
void |
setStaged(Boolean staged) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withProductSetSelectorpublic ProductSetSelectorImpl()
public String getProjectKey()
The project containing the project set.
getProjectKey in interface ProductSetSelectorpublic List<String> getProductIds()
An array of Product IDs to compare. If unspecified, no Product ID filter is applied.
getProductIds in interface ProductSetSelectorpublic List<String> getProductTypeIds()
An array of product type IDs. Only products with product types in this array are compared. If unspecified, no product type filter is applied.
getProductTypeIds in interface ProductSetSelectorpublic Boolean getStaged()
Specifies use of staged or current product data.
getStaged in interface ProductSetSelectorpublic Boolean getIncludeVariants()
Specifies use of product variants. If set to true, all product variants are compared, not just the master variant.
getIncludeVariants in interface ProductSetSelectorpublic Long getProductSetLimit()
Maximum number of products to check (if unspecified, all products are considered). Note that the maximum number of product comparisons between two productSets is 20,000,000. This limit cannot be exceeded. If you need a higher limit, contact https://support.commercetools.com
getProductSetLimit in interface ProductSetSelectorpublic void setProjectKey(String projectKey)
setProjectKey in interface ProductSetSelectorpublic void setProductIds(String... productIds)
setProductIds in interface ProductSetSelectorpublic void setProductIds(List<String> productIds)
setProductIds in interface ProductSetSelectorpublic void setProductTypeIds(String... productTypeIds)
setProductTypeIds in interface ProductSetSelectorpublic void setProductTypeIds(List<String> productTypeIds)
setProductTypeIds in interface ProductSetSelectorpublic void setStaged(Boolean staged)
setStaged in interface ProductSetSelectorpublic void setIncludeVariants(Boolean includeVariants)
setIncludeVariants in interface ProductSetSelectorpublic void setProductSetLimit(Long productSetLimit)
setProductSetLimit in interface ProductSetSelector