Interface CommerceCartMetadataUpdateMethodHook
- All Known Implementing Classes:
DefaultCommerceCartMetadataUpdateValidationHook,QuoteCommerceCartMetadataUpdateValidationHook
public interface CommerceCartMetadataUpdateMethodHook
A hook interface into before and after cart metadata (i.e. name, description) update lifecycle
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterMetadataUpdate(CommerceCartMetadataParameter parameter) Executed after commerce cart metadata update.voidExecuted before commerce cart metadata update.
-
Method Details
-
beforeMetadataUpdate
Executed before commerce cart metadata update.- Parameters:
parameter- a bean holding any number of additional attributes a client may want to pass to the method- Throws:
IllegalArgumentException- if any attributes fail validation
-
afterMetadataUpdate
Executed after commerce cart metadata update.- Parameters:
parameter- a bean holding any number of additional attributes a client may want to pass to the method
-