| Modifier and Type | Method and Description |
|---|---|
void |
CommercePromotionRestrictionFacade.disablePromotionForCurrentCart(java.lang.String promotionCode)
Disables OrderPromotion by removing current cart from PromotionOrderRestriction
|
void |
CommercePromotionRestrictionFacade.enablePromotionForCurrentCart(java.lang.String promotionCode)
Enables OrderPromotion by adding current cart to PromotionOrderRestriction
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommercePromotionRestrictionFacade.disablePromotionForCurrentCart(java.lang.String promotionCode) |
void |
DefaultCommercePromotionRestrictionFacade.enablePromotionForCurrentCart(java.lang.String promotionCode) |
void |
DefaultCommercePromotionRestrictionFacadeTest.testEnablePromotionForCurrentCart() |
| Modifier and Type | Method and Description |
|---|---|
CartData |
CartController.applyPromotion(java.lang.String promotionCode)
Web service for enabling order promotions.
Sample call: https://localhost:9002/rest/v1/mysite/cart/promotion/{promotionCode} This method requires authentication and is restricted to HTTPS |
CartData |
CartController.removePromotion(java.lang.String promotionCode)
Web service for disabling order promotions.
Sample call: https://localhost:9002/rest/v1/mysite/cart/promotion/{promotionCode} This method requires authentication and is restricted to HTTPS |
| Modifier and Type | Method and Description |
|---|---|
void |
CartsController.applyPromotion(java.lang.String promotionId) |
void |
CartsController.removePromotion(java.lang.String promotionId) |
Copyright © 2018 SAP SE. All Rights Reserved.