Newer Version Available

This content describes an older version of this product. View Latest

call(action, args)

This method calls one of the available FeeReversalHelperFunctions actions and passes arguments to that action.

Signature

public Object call(String action, Map<String, Object> args)

Parameters

action
Type: String
The action to call. The value must be one of the following:
  • getFeeReversalAttributes — Fetches the list of Service Process attributes for the Fee Reversal request.
  • callCreateCaseApi — Creates a new Case and a related Service Process record with the transaction data.
args
Type: Map<String, Object>
The first three keys must be input, output, and options. The required content for each depends on the action:
  • getFeeReversalAttributes
    • String caseId — Id of the Case created using the Fee Reversal OmniScript.
  • callCreateCaseApi
    • Map<String,Object>

Return Value

Type: Map<String, Object>

The return values of the corresponding action.

Usage

To use this class in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.

Examples

Input and output JSON examples for some of the actions are as follows.

getFeeReversalAttributes

Input format:

Output format:

callCreateCaseApi

Input format:

Output format: