public class DefaultCommercePromotionRestrictionFacadeTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPromotionModel |
abstractPromotionModel |
protected CartModel |
cartModel |
protected CartService |
cartService |
protected CommerceCartParameter |
commerceCartParameter |
protected CommerceCartService |
commerceCartService |
protected DefaultCommercePromotionRestrictionFacade |
commercePromotionRestrictionFacade |
protected CommercePromotionRestrictionService |
commercePromotionRestrictionService |
protected CommercePromotionService |
commercePromotionService |
protected OrderPromotionModel |
orderPromotionModel |
protected PromotionOrderRestrictionModel |
promotionOrderRestrictionModel |
| Constructor and Description |
|---|
DefaultCommercePromotionRestrictionFacadeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testEnablePromotionForCurrentCart() |
protected CommercePromotionService commercePromotionService
protected CommercePromotionRestrictionService commercePromotionRestrictionService
protected CartService cartService
protected CommerceCartService commerceCartService
protected AbstractPromotionModel abstractPromotionModel
protected OrderPromotionModel orderPromotionModel
protected PromotionOrderRestrictionModel promotionOrderRestrictionModel
protected CartModel cartModel
protected DefaultCommercePromotionRestrictionFacade commercePromotionRestrictionFacade
protected CommerceCartParameter commerceCartParameter
public DefaultCommercePromotionRestrictionFacadeTest()
public void setUp()
public void testEnablePromotionForCurrentCart()
throws CommercePromotionRestrictionException,
CalculationException
Copyright © 2018 SAP SE. All Rights Reserved.