class MercadoBitcoinAccountDemo {

  public static void main(String[] args) throws IOException {

    Exchange mercadoBitcoin = InteractiveAuthenticatedExchange.createInstanceFromDefaultInput();
    AccountService accountService = mercadoBitcoin.getAccountService();

    generic(accountService);
    raw((MercadoBitcoinAccountServiceRaw) accountService);
  }

  private static void generic(AccountService accountService) throws IOException {<FILL_FUNCTION_BODY>}

  private static void raw(MercadoBitcoinAccountServiceRaw accountService) throws IOException {

    // Get the account information
    MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo> mercadoBitcoinAccountInfo =
        accountService.getMercadoBitcoinAccountInfo();
    System.out.println(
        "MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo> as String: "
            + mercadoBitcoinAccountInfo.toString());
  }
}


    // Get the account information
    AccountInfo accountInfo = accountService.getAccountInfo();
    System.out.println("AccountInfo as String: " + accountInfo.toString());
  
<no_super_class>