else {
response = tradeServiceRaw.getBTCChinaOrder(orderId, market, withdetail);
}
System.out.println(response);
BTCChinaOrder order = response.getResult().getOrder();
System.out.println("OrderID:\t" + order.getId());
System.out.println("Side:\t" + order.getType());
System.out.println("Price:\t" + order.getPrice());
System.out.println("Currency: \t" + order.getCurrency());
System.out.println("LeavesQty:\t" + order.getAmount());
System.out.println("OrderQty:\t" + order.getAmountOriginal());
System.out.println("CumQty:\t" + order.getAmountOriginal().subtract(order.getAmount()));
System.out.println("Date:\t" + new Date(order.getDate() * 1000));
System.out.println("Status:\t" + order.getStatus());
if (order.getDetails() != null) {
for (BTCChinaOrderDetail detail : order.getDetails()) {
System.out.println("--");
System.out.println("dateline:\t" + detail.getDateline());
System.out.println("price:\t" + detail.getPrice());
System.out.println("amount:\t" + detail.getAmount());
}