Esempio n. 1
0
 @Override
 public EconomyResponse deleteBank(String name) {
   boolean success = economy.removeBank(name);
   if (success) {
     return new EconomyResponse(0, 0, ResponseType.SUCCESS, "");
   }
   return new EconomyResponse(0, 0, ResponseType.FAILURE, "Unable to remove that bank account.");
 }
Esempio n. 2
0
 public boolean remove() {
   return BOSEconomy.removeBank(bank);
 }