public class DefaultPromotionGroupStrategy extends java.lang.Object implements PromotionGroupStrategy
| Constructor and Description |
|---|
DefaultPromotionGroupStrategy() |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
getDefaultPromotionGroup()
Method returns default promotions group
|
PromotionGroupModel |
getDefaultPromotionGroup(AbstractOrderModel order)
Method returns default promotions group for given order, because it can depend on store where order was created.
|
protected PromotionsService |
getPromotionsService() |
void |
setPromotionsService(PromotionsService promotionsService) |
public PromotionGroupModel getDefaultPromotionGroup()
PromotionGroupStrategygetDefaultPromotionGroup in interface PromotionGroupStrategypublic PromotionGroupModel getDefaultPromotionGroup(AbstractOrderModel order)
PromotionGroupStrategygetDefaultPromotionGroup in interface PromotionGroupStrategyorder - order for which default promotions group will be returnedprotected PromotionsService getPromotionsService()
public void setPromotionsService(PromotionsService promotionsService)
Copyright © 2018 SAP SE. All Rights Reserved.