Class CancelLayawayPaymentsHookCaller
- java.lang.Object
-
- org.openbravo.erpCommon.businessUtility.CancelLayawayPaymentsHookCaller
-
public class CancelLayawayPaymentsHookCaller extends Object
Public class implemented to execute all hooks of type CancelLayawayPaymentsHook. This class is called from Cancel and Replace process, inside createPayments method.
-
-
Constructor Summary
Constructors Constructor Description CancelLayawayPaymentsHookCaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeHook(org.codehaus.jettison.json.JSONObject jsonorder, Order inverseOrder)
Method that executes all classes of type CancelLayawayPaymentsHook.
-
-
-
Method Detail
-
executeHook
public void executeHook(org.codehaus.jettison.json.JSONObject jsonorder, Order inverseOrder) throws Exception
Method that executes all classes of type CancelLayawayPaymentsHook.- Parameters:
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.- Throws:
Exception
-
-