package org.knowm.xchange.huobi.service; import java.io.IOException; import java.math.BigDecimal; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.Currency; import org.knowm.xchange.dto.account.AccountInfo; import org.knowm.xchange.exceptions.NotAvailableFromExchangeException; import org.knowm.xchange.huobi.HuobiAdapters; import org.knowm.xchange.service.account.AccountService; public class BitVcAccountService extends BitVcAccountServiceRaw implements AccountService { /** * Constructor * * @param exchange */ public BitVcAccountService(Exchange exchange) { super(exchange); } @Override public AccountInfo getAccountInfo() throws IOException { return new AccountInfo(HuobiAdapters.adaptWallet(getBitVcAccountInfo())); } @Override public String withdrawFunds(Currency currency, BigDecimal amount, String address) { throw new NotAvailableFromExchangeException(); } @Override public String requestDepositAddress(Currency currency, String... args) { throw new NotAvailableFromExchangeException(); } }