Newer Version Available
call(action, args)
This method calls one of the available DisputeMgmtHelper 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 actions:
- containsCardTransactions — Returns true if any transactions contain transactionCode values.
- convertUploadedDocuments — Converts uploaded document data to list format.
- createDisputeItemMerchAlert — Creates a merchant alert based on a Case ID for disputed transactions and batch data.
- deleteAssessmentResponses — Deletes the assessment responses related to the specified Assessment ID.
- filterTransactions — Separates transactions into different lists based on the deflection outcome.
- generateRequestGuid — Creates a GUID for the dispute request.
- getAlertStatusDetails — Returns merchant alert data related to the specified Case ID.
- getDisputeBatchDetails — Returns dispute and batch data related to the specified Case ID.
- getPayloadForRetry — Returns the input list in a SelectedTransactions list.
- raiseDispute — Assembles transaction dispute data, creates objects related to the transaction dispute, and returns summary data.
- segregateTransactions — Separates transactions according to the enrichment provider, either Plaid or Consumer Clarity.
- setDisputedTransactions — Converts transaction data in String format to a list.
- setTransactions — Adds enrichment provider data, either Plaid or Consumer Clarity, to the list of transactions, and cleans up errors in the data.
- updateDisputedTransactionsAfterEnrichment — Updates the list of disputed transactions after enrichment provider data is added.
- validateDisputedTransactions — Checks the disputed amounts for errors.
- args
- Type: Map<String, Object>
- The arguments passed to the corresponding action. All actions require input, output, and options
arguments, but these can be empty if the action doesn’t use them. Values
listed here are for the input argument.
- containsCardTransactions, segregateTransactions, setTransactions — Accepts a SelectedTransactions list.
- convertUploadedDocuments — Accepts uploaded document data in either List<Object> or Map<String, Object> format.
- createDisputeItemMerchAlert — Accepts caseId, batchId, and batchStatus values.
- deleteAssessmentResponses — Accepts an assessmentId.
- filterTransactions, validateDisputedTransactions — Accepts a DisputedTransactions list.
- generateRequestGuid — No input is needed.
- getAlertStatusDetails, getDisputeBatchDetails — Accepts a caseId.
- getPayloadForRetry — Accepts a list of transactions.
-
raiseDispute — Accepts under input:
- AccountId, AssessmentId, FinancialAccountId, Type, SubType, and Description values to be written to a Dispute object
- HasValidTransactions, HasInvalidTransactions, HasClearForWriteOffTransactions, and IsAllTransactionResolved boolean values
- ResolvedTransactions and SelectedTransactions lists
- setDisputedTransactions — Accepts SelectedTransactions data in either Map<String, Object> or String format.
- updateDisputedTransactionsAfterEnrichment — Accepts DisputedTransactions, ResolvedTransactions, and CurrentDisputedAmount lists.
Return Value
Type: Map<String, Object>
The return values of the corresponding action, returned in the output argument.
- containsCardTransactions — Returns true in a containsCardTransactions key if any transactions contain transactionCode values.
- convertUploadedDocuments — Returns uploaded document data in List<Object> format under a Documents key and the size of the list in a DocumentsListSize key.
- createDisputeItemMerchAlert, deleteAssessmentResponses — Returns no output.
-
filterTransactions — Returns under output:
- Transaction lists under the DisputedTransactions, ValidTransactions, ClearForWriteOffTransactions, and InvalidTransactions keys
- HasValidTransactions, HasInvalidTransactions, and HasClearForWriteOffTransactions keys with values of true or false
- generateRequestGuid — Returns a RequestGuid key with a GUID for the dispute request as its value.
- getAlertStatusDetails — Returns a disputesItemsMerchantAlerts list, a disputeItems list, and batchId and batchStatus values.
- getDisputeBatchDetails — Returns disputeId, batchId, and batchStatus values.
- getPayloadForRetry — Returns the input list in a SelectedTransactions list.
- raiseDispute — Returns an apiResponse key with caseId, caseNumber, and svcCatalogRequestId keys under it.
- segregateTransactions — Returns a list of transaction data for each enrichment provider under the PlaidTransactions and ConsumerClarityTransactions keys.
- setDisputedTransactions — Returns a list of transaction data under the DisputedTransactions key.
- setTransactions — Returns a list of transaction data under the DisputedTransactions key. For each transaction, it adds a ProviderName to specify the enrichment provider and other merchant-related information such as MerchantName, Category, and Address.
- updateDisputedTransactionsAfterEnrichment — Returns a list of transaction data under the DisputedTransactionsAfterEnrichment key.
- validateDisputedTransactions — Returns the keys NegativeDisputeAmountError, DisputeAmountGreaterError, and InvalidDisputeAmountError with values of true or false.
Usage
To use this method 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.