MoneyMovementService

public struct MoneyMovementService

Provides access to money movement operations

  • Returns all money movements for a budget.

    Declaration

    Swift

    public func moneyMovements(
        budgetId: String
    ) async throws -> ([MoneyMovement], ServerKnowledge)

    Parameters

    budgetId

    The 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

  • Returns money movements for a specific budget month.

    Declaration

    Swift

    public func moneyMovements(
        budgetId: String,
        month: String
    ) async throws -> ([MoneyMovement], ServerKnowledge)

    Parameters

    budgetId

    The id of the budget (last_used can also be used to specify the last used budget)

    month

    The 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

  • Returns all money movement groups for a budget.

    Declaration

    Swift

    public func moneyMovementGroups(
        budgetId: String
    ) async throws -> ([MoneyMovementGroup], ServerKnowledge)

    Parameters

    budgetId

    The 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

  • Returns money movement groups for a specific budget month.

    Declaration

    Swift

    public func moneyMovementGroups(
        budgetId: String,
        month: String
    ) async throws -> ([MoneyMovementGroup], ServerKnowledge)

    Parameters

    budgetId

    The id of the budget (last_used can also be used to specify the last used budget)

    month

    The 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