PayeeLocationService

public class PayeeLocationService

Provides access to payee location operations

  • Returns a list of all payee locations for a budget.

    Declaration

    Swift

    public func getPayeeLocations(budgetId: String) async throws -> [PayeeLocation]

    Parameters

    budgetId

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

    Return Value

    A list of payee locations

  • Returns a specific payee location.

    Declaration

    Swift

    public func getPayeeLocation(budgetId: String, payeeId: String) async throws -> PayeeLocation

    Parameters

    budgetId

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

    payeeId

    The id of the payee

    Return Value

    A single payee location

  • Returns all locations for a payee.

    Declaration

    Swift

    public func getLocationsForPayee(
        budgetId: String,
        payeeId: String
    ) async throws -> [PayeeLocation]

    Parameters

    budgetId

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

    payeeId

    The id of the payee

    Return Value

    A list of payee locations