Class NationTransactionEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.economy.BankTransactionEvent
com.palmergames.bukkit.towny.event.economy.NationTransactionEvent
An event thrown when a
Nation
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
ConstructorDescriptionNationTransactionEvent
(Nation nation, Transaction transaction) An event thrown when aNation
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
-
NationTransactionEvent
An event thrown when aNation
BankAccount
either receives or pays money.- Parameters:
nation
-Nation
whose account which is paying or receiving money.transaction
-Transaction
which has occured.
-
-
Method Details
-
getNation
- Returns:
Nation
-
getNationBankAccount
- Returns:
BankAccount
belonging to the nation.
-