PayeeLocationService
public class PayeeLocationService
Provides access to payee location operations
-
getPayeeLocations(budgetId:
Asynchronous) 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
-
getPayeeLocation(budgetId:
AsynchronouspayeeId: ) 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
-
getLocationsForPayee(budgetId:
AsynchronouspayeeId: ) 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