public class DefaultCommercePromotionGroupStrategy extends DefaultPromotionGroupStrategy
| Constructor and Description |
|---|
DefaultCommercePromotionGroupStrategy() |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
getDefaultPromotionGroup(AbstractOrderModel order)
Method returns default promotions group for given order, because it can depend on store where order was created.
|
getDefaultPromotionGroup, getPromotionsService, setPromotionsServicepublic DefaultCommercePromotionGroupStrategy()
public PromotionGroupModel getDefaultPromotionGroup(AbstractOrderModel order)
PromotionGroupStrategygetDefaultPromotionGroup in interface PromotionGroupStrategygetDefaultPromotionGroup in class DefaultPromotionGroupStrategyorder - order for which default promotions group will be returnedCopyright © 2018 SAP SE. All Rights Reserved.