PayeeLocationService
public struct PayeeLocationService
Provides access to payee location operations
-
payeeLocations(budgetId:
Asynchronous) Returns a list of all payee locations for a budget.
Declaration
Swift
public func payeeLocations(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
-
payeeLocation(budgetId:
AsynchronouspayeeId: ) Returns a specific payee location.
Declaration
Swift
public func payeeLocation(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
-
locationsForPayee(budgetId:
AsynchronouspayeeId: ) Returns all locations for a payee.
Declaration
Swift
public func locationsForPayee( 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