Interface BankEconomyHandler
- All Superinterfaces:
EconomyHandler
,Nameable
- All Known Implementing Classes:
Government
,Nation
,Town
Defines methods necessary for the operation of a bank.
-
Method Summary
Modifier and TypeMethodDescriptionGets the bank account associated with this objectThe prefix to be used for the bank account.double
Gets the max amount of money that can be in the bank.Methods inherited from interface com.palmergames.bukkit.towny.object.Nameable
getFormattedName, getName
-
Method Details
-
getBankCap
double getBankCap()Gets the max amount of money that can be in the bank.- Returns:
- The max amount of money.
-
getBankAccountPrefix
String getBankAccountPrefix()The prefix to be used for the bank account.- Returns:
- A string providing the prefix.
-
getAccount
BankAccount getAccount()Gets the bank account associated with this object- Specified by:
getAccount
in interfaceEconomyHandler
- Returns:
- The BankAccount of this object.
-