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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAdditional attributes.inthashCode()booleanDetermines whether the product consolidation flow should include allProductAssets.booleanDetermines whether the product consolidation flow should include allCategoryProducts.booleanDetermines whether the product consolidation flow should include allOptionTemplates.booleanDetermines whether the product consolidation flow should include allPrimary ProductAssets.booleanDetermines whether the product consolidation flow should include allProductTags.booleanDetermines whether the product consolidation flow should include allVariants.voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Additional attributes.voidsetIncludeAllProductAssets(boolean includeAllProductAssets) Determines whether the product consolidation flow should include allProductAssets.voidsetIncludeCategoryProducts(boolean includeCategoryProducts) Determines whether the product consolidation flow should include allCategoryProducts.voidsetIncludeOptionTemplates(boolean includeOptionTemplates) Determines whether the product consolidation flow should include allOptionTemplates.voidsetIncludePrimaryProductAssets(boolean includePrimaryProductAssets) Determines whether the product consolidation flow should include allPrimary ProductAssets.voidsetIncludeProductTags(boolean includeProductTags) Determines whether the product consolidation flow should include allProductTags.voidsetIncludeVariants(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
-