Package com.dgwave.osrs.model

Examples of com.dgwave.osrs.model.Balance


      req.setRegistrantIp(null);     
      OsrsResponse response = client.sendReceive(req);
      assertNotNull(response);
      System.out.println(response);
     
      Balance balance = ((BalanceResponse)response).getBalance();
      System.out.println("Balance is: " + balance.getBalance());
      System.out.println("Hold Balance is: " + balance.getHoldBalance());
     
    } catch (OsrsException e) {
      e.printStackTrace();
      fail ("Error while creating string from request");
    }
View Full Code Here

TOP

Related Classes of com.dgwave.osrs.model.Balance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.