Interface TmaUpdateCartHook
-
- All Known Implementing Classes:
DefaultTmaResourceUpdateCartHook
public interface TmaUpdateCartHookA hook strategy to run custom code before/after updating a cart- Since:
- 1911
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterUpdateCart(CommerceCartParameter parameter, CommerceCartModification result)Executed after cart updatevoidbeforeUpdateCart(CommerceCartParameter parameter)Executed before cart update
-
-
-
Method Detail
-
beforeUpdateCart
void beforeUpdateCart(CommerceCartParameter parameter)
Executed before cart update- Parameters:
parameter- contains attributes used for cart updates
-
afterUpdateCart
void afterUpdateCart(CommerceCartParameter parameter, CommerceCartModification result)
Executed after cart update- Parameters:
parameter- contains attributes used for cart updatesresult- contains the modifications made on the cart
-
-