public class CouponRedeemableValidationHook extends java.lang.Object implements CartValidationHook
CartValidationHook| Constructor and Description |
|---|
CouponRedeemableValidationHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterValidateCart(CommerceCartParameter parameter,
java.util.List<CommerceCartModification> modifications)
Executed after the cart validation
|
void |
beforeValidateCart(CommerceCartParameter parameter,
java.util.List<CommerceCartModification> modifications)
Executed before the cart validation
|
protected CouponService |
getCouponService() |
void |
setCouponService(CouponService couponService) |
public void beforeValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)
CartValidationHookbeforeValidateCart in interface CartValidationHookparameter - object containing all the information for validationmodifications - list containing the validation resultspublic void afterValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)
CartValidationHookafterValidateCart in interface CartValidationHookparameter - object containing all the information for validationmodifications - list containing the validation resultsprotected CouponService getCouponService()
public void setCouponService(CouponService couponService)
Copyright © 2018 SAP SE. All Rights Reserved.