public interface BankTransaction
Modifier and Type | Method and Description |
---|---|
BankAction |
getAction()
Get the transaction action.
|
java.math.BigDecimal |
getAmount()
Get the amount that was withdrawn or deposited.
|
java.lang.String |
getDate()
Get formatted time of the time the transaction was made.
|
java.lang.String |
getFailureReason()
Get the reason for failure of the transaction.
|
java.util.UUID |
getPlayer()
Get the player that made the transaction.
|
int |
getPosition()
Get the position of the transaction
|
long |
getTime()
Get the time the transaction was made.
|
@Nullable java.util.UUID getPlayer()
BankAction getAction()
int getPosition()
long getTime()
java.lang.String getDate()
java.lang.String getFailureReason()
Some fail reasons, such as "Not enough money", will not be logged.
java.math.BigDecimal getAmount()