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
ConstructorsConstructorDescriptionNationTransactionEvent(Nation nation, Transaction transaction) An event thrown when aNationBankAccounteither receives or pays money. -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.economy.BankTransactionEvent
getAccount, getHandlerList, getHandlers, getTransactionMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
NationTransactionEvent
An event thrown when aNationBankAccounteither receives or pays money.- Parameters:
nation-Nationwhose account which is paying or receiving money.transaction-Transactionwhich has occured.
-
-
Method Details
-
getNation
- Returns:
Nation
-
getNationBankAccount
- Returns:
BankAccountbelonging to the nation.
-