getWorkflowParameters

The getWorkflowParameters method is used to provide the CUWO with the parameters it needs to do its job.

The method is defined as:

/**
 * Returns the parameters for the custom workflow.
 * 
 * Depending on the type of workflow, the returned structure
 * is of a different subtype of WorkflowParameters.
 */
public getWorkflowParameters() : string<? extends WorkflowParameters>

The return value is a string holding the NFON-serialization of a subtype WorkflowParameters structure. What subtype is returned depends on the type of the workflow. For example a CapturePayment workflow receives a CapturePaymentWorkflowParameters structure.

For now, this method is only available for the CUWOs:

  • AuthorizeOrCapturePayment
  • CapturePayment
  • CancelPayment
  • RefundPayment
  • GrantPayout
  • CancelPayout