Class ProductConsolidationRequest
java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.dto.ProductConsolidationRequest
- All Implemented Interfaces:
Serializable
The request DTO for the product consolidation flow.
This is helpful to configure what data to and not to gather for each request to avoid consuming unnecessary resources.
- Since:
- 2.1.1, 2.0.2
- Author:
- Sunny Yu
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Additional attributes.int
hashCode()
boolean
Determines whether the product consolidation flow should include allProductAssets
.boolean
Determines whether the product consolidation flow should include allCategoryProducts
.boolean
Determines whether the product consolidation flow should include allOptionTemplates
.boolean
Determines whether the product consolidation flow should include allPrimary ProductAssets
.boolean
Determines whether the product consolidation flow should include allProductTags
.boolean
Determines whether the product consolidation flow should include allVariants
.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Additional attributes.void
setIncludeAllProductAssets
(boolean includeAllProductAssets) Determines whether the product consolidation flow should include allProductAssets
.void
setIncludeCategoryProducts
(boolean includeCategoryProducts) Determines whether the product consolidation flow should include allCategoryProducts
.void
setIncludeOptionTemplates
(boolean includeOptionTemplates) Determines whether the product consolidation flow should include allOptionTemplates
.void
setIncludePrimaryProductAssets
(boolean includePrimaryProductAssets) Determines whether the product consolidation flow should include allPrimary ProductAssets
.void
setIncludeProductTags
(boolean includeProductTags) Determines whether the product consolidation flow should include allProductTags
.void
setIncludeVariants
(boolean includeVariants) Determines whether the product consolidation flow should include allVariants
.toString()
-
Field Details
-
CONTEXT_INFO_KEY
- See Also:
-
-
Constructor Details
-
ProductConsolidationRequest
public ProductConsolidationRequest()
-
-
Method Details
-
isIncludeAllProductAssets
public boolean isIncludeAllProductAssets()Determines whether the product consolidation flow should include allProductAssets
.- See Also:
-
isIncludePrimaryProductAssets
public boolean isIncludePrimaryProductAssets()Determines whether the product consolidation flow should include allPrimary ProductAssets
. -
isIncludeCategoryProducts
public boolean isIncludeCategoryProducts()Determines whether the product consolidation flow should include allCategoryProducts
.- See Also:
-
isIncludeOptionTemplates
public boolean isIncludeOptionTemplates()Determines whether the product consolidation flow should include allOptionTemplates
. -
isIncludeProductTags
public boolean isIncludeProductTags()Determines whether the product consolidation flow should include allProductTags
.- See Also:
-
isIncludeVariants
public boolean isIncludeVariants()Determines whether the product consolidation flow should include allVariants
.- See Also:
-
getAdditionalAttributes
Additional attributes. -
setIncludeAllProductAssets
public void setIncludeAllProductAssets(boolean includeAllProductAssets) Determines whether the product consolidation flow should include allProductAssets
.- See Also:
-
setIncludePrimaryProductAssets
public void setIncludePrimaryProductAssets(boolean includePrimaryProductAssets) Determines whether the product consolidation flow should include allPrimary ProductAssets
. -
setIncludeCategoryProducts
public void setIncludeCategoryProducts(boolean includeCategoryProducts) Determines whether the product consolidation flow should include allCategoryProducts
.- See Also:
-
setIncludeOptionTemplates
public void setIncludeOptionTemplates(boolean includeOptionTemplates) Determines whether the product consolidation flow should include allOptionTemplates
. -
setIncludeProductTags
public void setIncludeProductTags(boolean includeProductTags) Determines whether the product consolidation flow should include allProductTags
.- See Also:
-
setIncludeVariants
public void setIncludeVariants(boolean includeVariants) Determines whether the product consolidation flow should include allVariants
.- See Also:
-
setAdditionalAttributes
Additional attributes. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-