Class PlayerAccountTransactionEvent
java.lang.Object
me.lokka30.treasury.api.economy.events.AccountTransactionEvent
me.lokka30.treasury.api.economy.events.PlayerAccountTransactionEvent
- All Implemented Interfaces:
Cancellable
Represents an event, called when a
PlayerAccount
does a EconomyTransaction
- Since:
- v1.1.0
- Author:
- lokka30, MrIvanPlays
-
Constructor Summary
ConstructorDescriptionPlayerAccountTransactionEvent
(@NotNull EconomyTransaction economyTransaction, @NotNull PlayerAccount account) -
Method Summary
Modifier and TypeMethodDescription@NotNull PlayerAccount
Returns theAccount
for this account event.Methods inherited from class me.lokka30.treasury.api.economy.events.AccountTransactionEvent
getTransaction, isCancelled, setCancelled
-
Constructor Details
-
PlayerAccountTransactionEvent
public PlayerAccountTransactionEvent(@NotNull @NotNull EconomyTransaction economyTransaction, @NotNull @NotNull PlayerAccount account)
-
-
Method Details
-
getAccount
Returns theAccount
for this account event.- Overrides:
getAccount
in classAccountTransactionEvent
- Returns:
- account
-