call(action, args)
This method calls one of the available DisputeMgmtHelper actions and passes arguments to that action.
public Object call(String action, Map<String, Object> args)
- action
Type: String
The action to call. The value must be one of the following actions:
- containsCardTransactions — Returns
trueif any transactions containtransactionCodevalues. - 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.
- containsCardTransactions — Returns
- 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
SelectedTransactionslist. - convertUploadedDocuments — Accepts uploaded document data in either List<Object> or Map<String, Object> format.
-
createDisputeItemMerchAlert — Accepts
caseId,batchId, andbatchStatusvalues. -
deleteAssessmentResponses — Accepts an
assessmentId. -
filterTransactions, validateDisputedTransactions — Accepts a
DisputedTransactionslist. - 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, andDescriptionvalues to be written to a Dispute objectHasValidTransactions,HasInvalidTransactions,HasClearForWriteOffTransactions, andIsAllTransactionResolvedboolean valuesResolvedTransactionsandSelectedTransactionslists
-
setDisputedTransactions — Accepts
SelectedTransactionsdata in either Map<String, Object> or String format. -
updateDisputedTransactionsAfterEnrichment — Accepts
DisputedTransactions,ResolvedTransactions, andCurrentDisputedAmountlists.
-
containsCardTransactions, segregateTransactions, setTransactions — Accepts a
Type: Map<String, Object>
The return values of the corresponding action, returned in the output argument.
-
containsCardTransactions — Returns
truein acontainsCardTransactionskey if any transactions containtransactionCodevalues. -
convertUploadedDocuments — Returns uploaded document data in List<Object> format under a
Documentskey and the size of the list in aDocumentsListSizekey. -
createDisputeItemMerchAlert, deleteAssessmentResponses — Returns no output.
-
filterTransactions — Returns under output:
- Transaction lists under the
DisputedTransactions,ValidTransactions,ClearForWriteOffTransactions, andInvalidTransactionskeys HasValidTransactions,HasInvalidTransactions, andHasClearForWriteOffTransactionskeys with values oftrueorfalse
- Transaction lists under the
-
generateRequestGuid — Returns a
RequestGuidkey with a GUID for the dispute request as its value. -
getAlertStatusDetails — Returns a
disputesItemsMerchantAlertslist, adisputeItemslist, andbatchIdandbatchStatusvalues. -
getDisputeBatchDetails — Returns
disputeId,batchId, andbatchStatusvalues. -
getPayloadForRetry — Returns the input list in a SelectedTransactions list.
-
raiseDispute — Returns an
apiResponsekey withcaseId,caseNumber, andsvcCatalogRequestIdkeys under it. -
segregateTransactions — Returns a list of transaction data for each enrichment provider under the
PlaidTransactionsandConsumerClarityTransactionskeys. -
setDisputedTransactions — Returns a list of transaction data under the
DisputedTransactionskey. -
setTransactions — Returns a list of transaction data under the
DisputedTransactionskey. For each transaction, it adds aProviderNameto specify the enrichment provider and other merchant-related information such asMerchantName,Category, andAddress. -
updateDisputedTransactionsAfterEnrichment — Returns a list of transaction data under the
DisputedTransactionsAfterEnrichmentkey. -
validateDisputedTransactions — Returns the keys
NegativeDisputeAmountError,DisputeAmountGreaterError, andInvalidDisputeAmountErrorwith values oftrueorfalse.
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.