PayeeLocationService
public struct PayeeLocationService
Provides access to payee location operations
-
payeeLocations(planId:Asynchronous) Returns a list of all payee locations for a plan.
Declaration
Swift
public func payeeLocations(planId: String) async throws -> [PayeeLocation]Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
Return Value
A list of payee locations
-
payeeLocation(planId:AsynchronouspayeeLocationId: ) Returns a specific payee location.
Declaration
Swift
public func payeeLocation( planId: String, payeeLocationId: String ) async throws -> PayeeLocationParameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
payeeLocationIdThe id of the payee location
Return Value
A single payee location
-
locationsForPayee(planId:AsynchronouspayeeId: ) Returns all locations for a payee.
Declaration
Swift
public func locationsForPayee( planId: String, payeeId: String ) async throws -> [PayeeLocation]Parameters
planIdThe id of the plan (last_used can also be used to specify the last used plan)
payeeIdThe id of the payee
Return Value
A list of payee locations
View on GitHub