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) Deprecated.- Move to 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
Deprecated.- Move to GUI ClassI'd be better as part of the GUI class- Since:
- 0.50.04
-
voidTransaction
Deprecated.- Move to GUI Class- Since:
- 0.50.04
-
writeToXML
-
generateInstanceFromXML
-
toString
-
equals
-
hashCode
public int hashCode()
-