AccountService
public struct AccountService
extension AccountService: AccountServiceType
Provides access to account operations
-
account(planId:AsynchronousaccountId: ) Declaration
Swift
public func account(planId: String, accountId: String) async throws -> Account -
accounts(planId:AsynchronouslastKnowledgeOfServer: ) Declaration
Swift
public func accounts( planId: String, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> AccountsResponse -
newPlanAccount(planId:Asynchronousname: type: balance: ) Declaration
Swift
public func newPlanAccount( planId: String, name: String, type: SaveAccountType, balance: Int ) async throws -> Account
View on GitHub