terminateCanceled
The terminateCanceled
method must be called by the CUWO when it was canceled and wants to let the enfore runtime know that it is done and that the web view can be closed.
The method is defined as:
/**
* Notify container of cancelation of the workflow and terminate it.
*
* @param cancelation - The NFON-serialized workflow-specific cancelation structure.
*/
public terminateCanceled(
cancelation : string<? extends WorkflowCancelation>,
) : void
The method receives a single parameter that is of type string
and must contain the NFON-serialization of the workflow-specific subtype of WorkflowCancelation
.
The method is only available for the CUWOs:
- AuthorizeOrCapturePayment
- GrantPayout