public class VaultEco.VaultAccount extends Object implements com.nijikokun.register.payment.Method.MethodAccount
| Constructor and Description |
|---|
VaultAccount(String name,
Economy economy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(double amount) |
double |
balance() |
boolean |
divide(double amount) |
boolean |
hasEnough(double amount) |
boolean |
hasOver(double amount) |
boolean |
hasUnder(double amount) |
boolean |
isNegative() |
boolean |
multiply(double amount) |
boolean |
remove() |
boolean |
set(double amount) |
boolean |
subtract(double amount) |
public VaultAccount(String name, Economy economy)
public double balance()
balance in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean set(double amount)
set in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean add(double amount)
add in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean subtract(double amount)
subtract in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean multiply(double amount)
multiply in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean divide(double amount)
divide in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean hasEnough(double amount)
hasEnough in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean hasOver(double amount)
hasOver in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean hasUnder(double amount)
hasUnder in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean isNegative()
isNegative in interface com.nijikokun.register.payment.Method.MethodAccountpublic boolean remove()
remove in interface com.nijikokun.register.payment.Method.MethodAccountMilkbowl, 2014