Interface CommerceCartMetadataUpdateMethodHook
-
- All Known Implementing Classes:
DefaultCommerceCartMetadataUpdateValidationHook,QuoteCommerceCartMetadataUpdateValidationHook
public interface CommerceCartMetadataUpdateMethodHookA hook interface into before and after cart metadata (i.e. name, description) update lifecycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterMetadataUpdate(CommerceCartMetadataParameter parameter)Executed after commerce cart metadata update.voidbeforeMetadataUpdate(CommerceCartMetadataParameter parameter)Executed before commerce cart metadata update.
-
-
-
Method Detail
-
beforeMetadataUpdate
void beforeMetadataUpdate(CommerceCartMetadataParameter parameter)
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:
java.lang.IllegalArgumentException- if any attributes fail validation
-
afterMetadataUpdate
void afterMetadataUpdate(CommerceCartMetadataParameter parameter)
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
-
-