Package com.xeiam.xchange.bter.service.polling

Source Code of com.xeiam.xchange.bter.service.polling.BTERPollingAccountServiceRaw

package com.xeiam.xchange.bter.service.polling;

import java.io.IOException;

import com.xeiam.xchange.ExchangeSpecification;
import com.xeiam.xchange.bter.BTERAuthenticated;
import com.xeiam.xchange.bter.dto.account.BTERFunds;

public class BTERPollingAccountServiceRaw extends BTERBasePollingService<BTERAuthenticated> {

  /**
   * Constructor
   *
   * @param exchangeSpecification
   */
  public BTERPollingAccountServiceRaw(ExchangeSpecification exchangeSpecification) {

    super(BTERAuthenticated.class, exchangeSpecification);
  }

  public BTERFunds getBTERAccountInfo() throws IOException {

    BTERFunds bterFunds = bter.getFunds(exchangeSpecification.getApiKey(), signatureCreator, nextNonce());
    return handleResponse(bterFunds);
  }

}
TOP

Related Classes of com.xeiam.xchange.bter.service.polling.BTERPollingAccountServiceRaw

TOP
Copyright © 2018 www.massapi.com. 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.