Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class CreateCategoryCommand(val restaurantId: String, val menuId: String, val name: String, val variations: List<VariationInput> = emptyList())
Link copied to clipboard
Link copied to clipboard
class CreateCategoryUseCase(menuRepository: MenuRepository) : UseCase<CreateCategoryCommand, CreateCategoryResult>
Link copied to clipboard
data class CreateMenuCommand(val restaurantId: String, val name: String, val validity: ValidityInput)
Link copied to clipboard
data class CreateMenuItemCommand(val restaurantId: String, val menuId: String, val categoryId: String, val name: String, val description: String, val price: BigDecimal, val variations: List<VariationInput> = emptyList())
Link copied to clipboard
Link copied to clipboard
class CreateMenuItemUseCase(menuRepository: MenuRepository) : UseCase<CreateMenuItemCommand, CreateMenuItemResult>
Link copied to clipboard
Link copied to clipboard
class CreateMenuUseCase(menuRepository: MenuRepository) : UseCase<CreateMenuCommand, CreateMenuResult>
Link copied to clipboard
data class DeleteCategoryCommand(val restaurantId: String, val menuId: String, val categoryId: String)
Link copied to clipboard
Link copied to clipboard
class DeleteCategoryUseCase(menuRepository: MenuRepository) : UseCase<DeleteCategoryCommand, DeleteCategoryResult>
Link copied to clipboard
Link copied to clipboard
data class DeleteMenuItemCommand(val restaurantId: String, val menuId: String, val categoryId: String, val itemId: String)
Link copied to clipboard
class DeleteMenuItemUseCase(menuRepository: MenuRepository) : UseCase<DeleteMenuItemCommand, RemoveMenuItemResult>
Link copied to clipboard
Link copied to clipboard
class DeleteMenuUseCase(menuRepository: MenuRepository) : UseCase<DeleteMenuCommand, DeleteMenuResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class GetRestaurantMenusUseCase(menuRepository: MenuRepository) : UseCase<GetRestaurantMenusCommand, GetRestaurantMenusResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class UpdateCategoryCommand(val restaurantId: String, val menuId: String, val categoryId: String, val name: String, val variations: List<VariationInput> = emptyList())
Link copied to clipboard
Link copied to clipboard
class UpdateCategoryUseCase(menuRepository: MenuRepository) : UseCase<UpdateCategoryCommand, UpdateCategoryResult>
Link copied to clipboard
data class UpdateMenuCommand(val restaurantId: String, val menuId: String, val name: String, val validity: ValidityInput)
Link copied to clipboard
data class UpdateMenuItemCommand(val restaurantId: String, val menuId: String, val categoryId: String, val itemId: String, val name: String, val description: String, val price: BigDecimal, val variations: List<VariationInput> = emptyList())
Link copied to clipboard
Link copied to clipboard
class UpdateMenuItemUseCase(menuRepository: MenuRepository) : UseCase<UpdateMenuItemCommand, UpdateMenuItemResult>
Link copied to clipboard
Link copied to clipboard
class UpdateMenuUseCase(menuRepository: MenuRepository) : UseCase<UpdateMenuCommand, UpdateMenuResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard