PayeeService

public class PayeeService

Provides access to payee operations

  • Returns all payees

    Declaration

    Swift

    public func getPayees(
        budgetId: String,
        lastKnowledgeOfServer: Int? = nil
    ) async throws -> [Payee]

    Parameters

    budgetId

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

    lastKnowledgeOfServer

    If provided, only entities that have changed since lastKnowledgeOfServer will be included.

    Return Value

    A list of payees

  • Returns a single payee.

    Declaration

    Swift

    public func getPayee(budgetId: String, payeeId: String) async throws -> Payee

    Parameters

    budgetId

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

    lastKnowledgeOfServer

    If provided, only entities that have changed since lastKnowledgeOfServer will be included.

    Return Value

    A single payee