Class Transaction

java.lang.Object
com.palmergames.bukkit.towny.object.Transaction

public class Transaction extends Object
  • Constructor Details

    • Transaction

      public Transaction(TransactionType type, org.bukkit.command.CommandSender sender, double amount)
  • Method Details

    • getType

      public TransactionType getType()
    • getCommandSender

      public org.bukkit.command.CommandSender getCommandSender()
    • getPlayer

      @Deprecated @Nullable public @Nullable org.bukkit.entity.Player getPlayer()
      Deprecated.
      since 0.100.2.10 use getCommandSender() instead.
      Returns:
      the Player or null if the command came from the console.
    • getAmount

      public double getAmount()