Download page Action Callback Class.
Action Callback Class
Action Callback provides you a mechanism to apply custom actions on different actions available on the cart. For example, you can apply custom action before deleting or copying a bundle, finalizing a cart, submitting a cart for approval. You can directly use methods of the callback to apply the custom action or use Web Services to implement the callback.
To use the Action Callback you must create a custom Apex class that implements one of the following interfaces and you must register the custom class with Action Callback Class. You must write your custom logic in the custom apex class.
|IActionCallback2||This interface provides a mechanism to implement custom actions on cart finalization, submission for approval using Web Services.|
|IActionCallback3||This interface provides a mechanism to implement custom actions before delete and copy actions on bundles.|
This section describes the interfaces of Action Callback: