public class BundleCartValidationHook extends java.lang.Object implements CartValidationHook
| Constructor and Description |
|---|
BundleCartValidationHook() |
| 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 EntryGroupService |
getEntryGroupService() |
void |
setEntryGroupService(EntryGroupService entryGroupService) |
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 EntryGroupService getEntryGroupService()
public void setEntryGroupService(EntryGroupService entryGroupService)
Copyright © 2018 SAP SE. All Rights Reserved.