BudgetService
public class BudgetService
Provides access to account operations
-
getBudgets()AsynchronousReturns budgets list with summary information.
Declaration
Swift
public func getBudgets() async throws -> [BudgetSummary]Return Value
A list of budgets
-
getBudget(budgetId:AsynchronouslastKnowledgeOfServer: ) Returns a single budget with all related entities.
This is effectively a full budget export. Depending on the size of your budget, this request can take a while.
Declaration
Swift
public func getBudget( budgetId: String, lastKnowledgeOfServer: Int? = nil ) async throws -> BudgetDetailParameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
lastKnowledgeOfServerThe starting server knowledge. If provided, only entities that have changed since
lastKnowledgeOfServerwill be included.Return Value
A single budget
-
getBudgetSettings(budgetId:Asynchronous) Returns settings for a budget.
Declaration
Swift
public func getBudgetSettings(budgetId: String) async throws -> BudgetSettingsParameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
Return Value
Settings for a specific budget
View on GitHub
BudgetService Class Reference