Class BankTransaction

java.lang.Object
com.palmergames.bukkit.towny.object.economy.BankTransaction

public class BankTransaction extends Object
  • Constructor Details

    • BankTransaction

      public BankTransaction(TransactionType type, long time, Account account, double amount, double balance, String reason)
  • Method Details

    • getType

      public TransactionType getType()
    • getTime

      public String getTime()
      Returns:
      The formatted time at which this transaction occurred, use time() to get the raw time.
    • time

      public long time()
      Returns:
      The time at which this transaction occurred.
    • getAccount

      public Account getAccount()
    • getBalance

      public double getBalance()
    • getAmount

      public double getAmount()
    • getReason

      public String getReason()