categorize Expense
open fun categorizeExpense(transactionId: String, onComplete: (isActionDone: Boolean) -> Unit): Boolean
Content copied to clipboard
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
transaction Id
Identifier for the transaction that should be categorized
on Complete
The lambda block to invoke to indicate if the action has completed successfully or not