MoneyMovementServiceType

public protocol MoneyMovementServiceType : Sendable

Provides access to money movement operations

  • Returns all money movements for a plan.

    Declaration

    Swift

    func moneyMovements(planId: String) async throws -> MoneyMovementsResponse

    Parameters

    planId

    The 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 knowledge of the server

  • Returns money movements for a specific plan month.

    Declaration

    Swift

    func moneyMovements(planId: String, month: String) async throws -> MoneyMovementsResponse

    Parameters

    planId

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

    month

    The 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 knowledge of the server

  • Returns all money movement groups for a plan.

    Declaration

    Swift

    func moneyMovementGroups(planId: String) async throws -> MoneyMovementGroupsResponse

    Parameters

    planId

    The 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 knowledge of the server

  • Returns money movement groups for a specific plan month.

    Declaration

    Swift

    func moneyMovementGroups(
        planId: String,
        month: String
    ) async throws -> MoneyMovementGroupsResponse

    Parameters

    planId

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

    month

    The 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 knowledge of the server