Uses of Enum Class
jku.se.Category
Packages that use Category
-
Uses of Category in jku.se
Modifier and TypeMethodDescriptionInvoice.getCategory()
static Category
Returns the enum constant of this class with the specified name.static Category[]
Category.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
Updates the invoice with new values and sets it back to processing status.void
Administrator.correctInvoice
(Invoice invoice, double newAmount, Category newCategory, LocalDate newDate) Corrects invoice data such as amount, category, or date.void
Invoice.setCategory
(Category category) static void
Category.setCustomRefundAmount
(Category category, double amount) Sets a custom refund amount for a specific category. -
Uses of Category in jku.se.repository
Methods in jku.se.repository with parameters of type CategoryModifier and TypeMethodDescriptionstatic void
InvoiceRepository.saveInvoiceInfo
(Connection connection, String userEmail, Date date, double amount, Category category, Status status, String fileUrl, LocalDateTime createdAt, double reimbursement, File imageFile) Saves a new invoice record in the database and uploads associated file.