Uses of Class
no.ntnu.idatt1002.spendwise.data.Transaction
Packages that use Transaction
-
Uses of Transaction in no.ntnu.idatt1002.spendwise.data
Subclasses of Transaction in no.ntnu.idatt1002.spendwise.dataModifier and TypeClassDescriptionclassDescribes an expense using the Transaction class.classDescribes an Income using the Transaction class.classDescribes a recurring expense, inheriting from the Expense class.classDescribes a recurring income, inheriting from the Income class.Methods in no.ntnu.idatt1002.spendwise.data that return types with arguments of type TransactionModifier and TypeMethodDescriptionRegister.getAllTransactions()Returns an ArrayList of all transactions in the register.Register.getTransactionByTransactionType(boolean isExpense) Returns all transactions given a transaction type (expense/income).Category.getTransactions()Returns all transactions in a category.Register.getTransactionsByCategoryType(boolean recurring) Returns all transactions given a certain category type (boolean).Methods in no.ntnu.idatt1002.spendwise.data with parameters of type TransactionModifier and TypeMethodDescriptionvoidCategory.addTransaction(Transaction t) Adds a transaction to the category.voidRegister.addTransactionToCategory(Transaction transaction, String catString) Adds a transaction to the register with a specified category.voidCategory.removeTransaction(Transaction transaction) Removes a transaction from the category.voidRegister.removeTransaction(Transaction transaction) Removes a transaction from the register.Method parameters in no.ntnu.idatt1002.spendwise.data with type arguments of type TransactionModifier and TypeMethodDescriptionvoidCategory.addAll(List<Transaction> transactionsToAdd) Adds all transactions present in a List to the category.