MoneyMovementService
public struct MoneyMovementService
Provides access to money movement operations
-
moneyMovements(planId:Asynchronous) Returns all money movements for a plan.
Declaration
Swift
public func moneyMovements( planId: String ) async throws -> ([MoneyMovement], ServerKnowledge)Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
Return Value
A list of money movements and the server knowledge
-
moneyMovements(planId:Asynchronousmonth: ) Returns money movements for a specific plan month.
Declaration
Swift
public func moneyMovements( planId: String, month: String ) async throws -> ([MoneyMovement], ServerKnowledge)Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
monthThe plan 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(planId:Asynchronous) Returns all money movement groups for a plan.
Declaration
Swift
public func moneyMovementGroups( planId: String ) async throws -> ([MoneyMovementGroup], ServerKnowledge)Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
Return Value
A list of money movement groups and the server knowledge
-
moneyMovementGroups(planId:Asynchronousmonth: ) Returns money movement groups for a specific plan month.
Declaration
Swift
public func moneyMovementGroups( planId: String, month: String ) async throws -> ([MoneyMovementGroup], ServerKnowledge)Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
monthThe plan 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