Package com.xeiam.xchange.btcchina.dto.account

Examples of com.xeiam.xchange.btcchina.dto.account.BTCChinaAccountInfo


  /**
   * Adapts a BTCChinaAccountInfoResponse to AccountInfo Object
   */
  public static AccountInfo adaptAccountInfo(BTCChinaResponse<BTCChinaAccountInfo> response) {

    BTCChinaAccountInfo result = response.getResult();
    return new AccountInfo(result.getProfile().getUsername(), result.getProfile().getTradeFee(), BTCChinaAdapters.adaptWallets(result.getBalances(), result.getFrozens()));
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.btcchina.dto.account.BTCChinaAccountInfo

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.