// Get the account information
BTCChinaResponse<BTCChinaAccountInfo> accountInfo = btcChinaAccountService.getBTCChinaAccountInfo();
System.out.println("AccountInfo as String: " + accountInfo.getResult().toString());
// Get deposits
BTCChinaGetDepositsResponse depositsResponse = btcChinaAccountService.getDeposits("BTC");
for (BTCChinaDeposit deposit : depositsResponse.getResult().getDeposits()) {
System.out.println(deposit);
}
depositsResponse = btcChinaAccountService.getDeposits("BTC", false);
for (BTCChinaDeposit deposit : depositsResponse.getResult().getDeposits()) {
System.out.println(deposit);
}
// Get withdrawals
BTCChinaGetWithdrawalsResponse withdrawalsResponse = btcChinaAccountService.getWithdrawals("BTC");