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 TypeMethodDescriptionboolean
static Transaction
getDate()
getType()
int
hashCode()
void
void
void
setDescription
(String description) void
setType
(TransactionType type) toString()
updateTransaction
(Transaction previousTransaction) I'd be better as part of the GUI classDeprecated.- Move to GUI Classprotected void
writeToXML
(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()
-