Package com.xeiam.xchange.btcchina.dto.trade

Examples of com.xeiam.xchange.btcchina.dto.trade.BTCChinaOrders


    // Use Jackson to parse it
    ObjectMapper mapper = new ObjectMapper();
    BTCChinaGetOrdersResponse btcChinaResponse = mapper.readValue(is, BTCChinaGetOrdersResponse.class);
    System.out.println(btcChinaResponse);

    BTCChinaOrders btcChinaOrders = btcChinaResponse.getResult();
    System.out.println(btcChinaOrders.toString());

    assertThat(btcChinaOrders.getOrders().get(0).getId()).isEqualTo(4972937);
    assertThat(btcChinaOrders.getOrders().get(0).getCurrency()).isEqualTo("CNY");

  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.btcchina.dto.trade.BTCChinaOrders

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.