API javadoc update for new bank methods

This commit is contained in:
Sleaker 2011-10-30 13:27:34 -07:00
parent be5da7b708
commit a44124f837
1 changed files with 24 additions and 0 deletions

View File

@ -88,11 +88,35 @@ public interface Economy {
*/
public EconomyResponse bankHas(String name, double amount);
/**
* Withdraw an amount from a bank account
* @param name
* @param amount
* @return
*/
public EconomyResponse bankWithdraw(String name, double amount);
/**
* Deposit an amount into a bank account
* @param name
* @param amount
* @return
*/
public EconomyResponse bankDeposit(String name, double amount);
/**
* Check if a player is the owner of a bank account
* @param name
* @param playerName
* @return
*/
public EconomyResponse isBankOwner(String name, String playerName);
/**
* Check if the player is a member of the bank account
* @param name
* @param playerName
* @return
*/
public EconomyResponse isBankMember(String name, String playerName);
}