public class CancelLayawayPaymentsHookCaller extends Object
| Constructor and Description |
|---|
CancelLayawayPaymentsHookCaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeHook(org.codehaus.jettison.json.JSONObject jsonorder,
Order inverseOrder)
Method that executes all classes of type CancelLayawayPaymentsHook.
|
public void executeHook(org.codehaus.jettison.json.JSONObject jsonorder,
Order inverseOrder)
throws Exception
inverseOrder - New Sales Order equal to old sales order but with negative quantities. Cancellation
Order.jsonorder - JSONObject with information of the order coming with values when the hook is invoked
because the Cancel and Replace has been executed from Web POS.Exception