Class DefaultPromotionGroupStrategy
java.lang.Object
de.hybris.platform.promotions.impl.DefaultPromotionGroupStrategy
- All Implemented Interfaces:
PromotionGroupStrategy
- Direct Known Subclasses:
DefaultCommercePromotionGroupStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod returns default promotions groupMethod returns default promotions group for given order, because it can depend on store where order was created.protected PromotionsServicevoidsetPromotionsService(PromotionsService promotionsService)
-
Constructor Details
-
DefaultPromotionGroupStrategy
public DefaultPromotionGroupStrategy()
-
-
Method Details
-
getDefaultPromotionGroup
Description copied from interface:PromotionGroupStrategyMethod returns default promotions group- Specified by:
getDefaultPromotionGroupin interfacePromotionGroupStrategy- Returns:
- default promotion group
-
getDefaultPromotionGroup
Description copied from interface:PromotionGroupStrategyMethod returns default promotions group for given order, because it can depend on store where order was created.- Specified by:
getDefaultPromotionGroupin interfacePromotionGroupStrategy- Parameters:
order- order for which default promotions group will be returned- Returns:
- default promotions group
-
getPromotionsService
-
setPromotionsService
-