Ejemplo 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.");
 }
Ejemplo n.º 2
0
 public boolean remove() {
   return BOSEconomy.removeBank(bank);
 }