Package mekhq.campaign.finances
Class Transaction
java.lang.Object
mekhq.campaign.finances.Transaction
-
Constructor Summary
ConstructorsConstructorDescriptionTransaction(TransactionType type, LocalDate date, Money amount, String description) Transaction(Transaction transaction) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransactiongetDate()getType()inthashCode()voidvoidvoidsetDescription(String description) voidsetType(TransactionType type) toString()updateTransaction(Transaction previousTransaction) I'd be better as part of the GUI classDeprecated.- Move to GUI Classprotected voidwriteToXML(PrintWriter pw, int indent)
-
Constructor Details
-
Transaction
public Transaction() -
Transaction
-
Transaction
-
-
Method Details
-
getType
-
setType
-
getDate
-
setDate
-
getAmount
-
setAmount
-
getDescription
-
setDescription
-
updateTransaction
I'd be better as part of the GUI class -
voidTransaction
Deprecated.- Move to GUI Class- Since:
- 0.50.04
-
writeToXML
-
generateInstanceFromXML
-
toString
-
equals
-
hashCode
public int hashCode()
-