MoneyMovementService
public struct MoneyMovementService
Provides access to money movement operations
-
moneyMovements(budgetId:Asynchronous) Returns all money movements for a budget.
Declaration
Swift
public func moneyMovements( budgetId: String ) async throws -> ([MoneyMovement], ServerKnowledge)Parameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
Return Value
A list of money movements and the server knowledge
-
moneyMovements(budgetId:Asynchronousmonth: ) Returns money movements for a specific budget month.
Declaration
Swift
public func moneyMovements( budgetId: String, month: String ) async throws -> ([MoneyMovement], ServerKnowledge)Parameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
monthThe budget month in ISO format (e.g. 2016-12-01) (“current” can also be used to specify the current calendar month (UTC))
Return Value
A list of money movements and the server knowledge
-
moneyMovementGroups(budgetId:Asynchronous) Returns all money movement groups for a budget.
Declaration
Swift
public func moneyMovementGroups( budgetId: String ) async throws -> ([MoneyMovementGroup], ServerKnowledge)Parameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
Return Value
A list of money movement groups and the server knowledge
-
moneyMovementGroups(budgetId:Asynchronousmonth: ) Returns money movement groups for a specific budget month.
Declaration
Swift
public func moneyMovementGroups( budgetId: String, month: String ) async throws -> ([MoneyMovementGroup], ServerKnowledge)Parameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
monthThe budget month in ISO format (e.g. 2016-12-01) (“current” can also be used to specify the current calendar month (UTC))
Return Value
A list of money movement groups and the server knowledge
View on GitHub