SFRA Server-side Javascript - Class: PromotionRefinementValueWrapper menu

SFRA / Server-side JS / Class: PromotionRefinementValueWrapper

PromotionRefinementValueWrapper

Promotion refinement value model

Constructor

new PromotionRefinementValueWrapper(productSearch, refinementDefinition, refinementValue, selected)

Parameters:
Name Type Description
productSearch dw.catalog.ProductSearchModel

ProductSearchModel instance

refinementDefinition dw.catalog.ProductSearchRefinementDefinition

Refinement definition

refinementValue dw.catalog.ProductSearchRefinementValue

Raw DW refinement value

selected boolean

Selected flag

Source: