categorizeExpense

open fun categorizeExpense(transactionId: String, onComplete: (isActionDone: Boolean) -> Unit): Boolean

Handle action where the user wants to categorize a transaction matching the id. This corresponds to InsightAction.Type.CATEGORIZE_EXPENSE action type.

Return

true if the action will be handled, false otherwise

Parameters

transactionId

Identifier for the transaction that should be categorized

onComplete

The lambda block to invoke to indicate if the action has completed successfully or not