createBudget

open fun createBudget(    amount: Amount?,     filter: BudgetFilter?,     periodicity: BudgetPeriodicity?,     onComplete: (isActionDone: Boolean) -> Unit): Boolean

Handle action where the user wants to create a budget. This corresponds to InsightAction.Type.CREATE_BUDGET action type.

Return

true if the action will be handled, false otherwise

Parameters

amount

An optional budget amount to be set

filter

An optional BudgetFilter to be set

periodicity

An optional BudgetPeriodicity to be set

onComplete

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