-
- All Superinterfaces:
PluginService
public interface BasketService extends PluginService
BasketService interface. Interface to be able to implement the basket service.
Once implemented, it allows execute some action when calculate or delete calls.- Since:
- 1.0.16
- Author:
- Logicommerce
- See Also:
Cart
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
calculate()
For define some action when calculate basket call.void
clear()
For define some action when clear basket call.
-
-
-
Method Detail
-
calculate
void calculate() throws PluginServiceException
For define some action when calculate basket call.
This method is called when basket has a calculate action.
It does not receive any parameters because the cart is accessible through a resource.
@
Resource
Cart
- Throws:
PluginServiceException
- if any.- See Also:
Cart
-
clear
void clear() throws PluginServiceException
For define some action when clear basket call.
This method is called when basket has a clear action.
- Throws:
PluginServiceException
- if any.
-
-