CategoryService
public struct CategoryService
extension CategoryService: CategoryServiceType
Provides access to category operations
-
categories(planId:AsynchronouslastKnowledgeOfServer: ) Declaration
Swift
public func categories( planId: String, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> CategoriesResponse -
category(planId:AsynchronouscategoryId: ) Declaration
Swift
public func category(planId: String, categoryId: String) async throws -> Category -
category(planId:Asynchronousmonth: categoryId: ) Declaration
Swift
public func category( planId: String, month: String, categoryId: String ) async throws -> Category -
updateCategory(planId:AsynchronouscategoryId: category: ) Declaration
Swift
public func updateCategory( planId: String, categoryId: String, category: SaveCategory ) async throws -> CategoryResponse -
updateCategory(planId:Asynchronousmonth: categoryId: budgeted: ) Declaration
Swift
public func updateCategory( planId: String, month: String, categoryId: String, budgeted: Int ) async throws -> Category -
createCategory(planId:Asynchronouscategory: ) Declaration
Swift
public func createCategory( planId: String, category: NewCategory ) async throws -> CategoryResponse -
createCategoryGroup(planId:AsynchronouscategoryGroup: ) Declaration
Swift
public func createCategoryGroup( planId: String, categoryGroup: SaveCategoryGroup ) async throws -> CategoryGroupResponse -
Declaration
Swift
public func updateCategoryGroup( planId: String, categoryGroupId: String, categoryGroup: SaveCategoryGroup ) async throws -> CategoryGroupResponse
View on GitHub