Class TownTransactionEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.economy.BankTransactionEvent
com.palmergames.bukkit.towny.event.economy.TownTransactionEvent
An event thrown when a
Town
BankAccount
either receives or
pays money.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionTownTransactionEvent
(Town town, Transaction transaction) An event thrown when aTown
BankAccount
either receives or pays money. -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.economy.BankTransactionEvent
getAccount, getHandlerList, getHandlers, getTransaction
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownTransactionEvent
An event thrown when aTown
BankAccount
either receives or pays money.- Parameters:
town
-Town
whose account which is paying or receiving money.transaction
-Transaction
which has occured.
-
-
Method Details
-
getTown
- Returns:
town
-
getTownBankAccount
- Returns:
BankAccount
belonging to the town.
-