Class BitbayAccountService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.bitbay.v3.service.BitbayBaseService
-
- org.knowm.xchange.bitbay.v3.service.BitbayAccountServiceRaw
-
- org.knowm.xchange.bitbay.v3.service.BitbayAccountService
-
- All Implemented Interfaces:
AccountService
,BaseService
public class BitbayAccountService extends BitbayAccountServiceRaw implements AccountService
-
-
Field Summary
-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description BitbayAccountService(BitbayExchange bitbayExchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountInfo
getAccountInfo()
Get account infoList<FundingRecord>
getFundingHistory(TradeHistoryParams params)
-
Methods inherited from class org.knowm.xchange.bitbay.v3.service.BitbayAccountServiceRaw
balanceHistory, balances
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.knowm.xchange.service.account.AccountService
createFundingHistoryParams, getDynamicTradingFees, getDynamicTradingFeesByInstrument, requestDepositAddress, requestDepositAddressData, withdrawFunds, withdrawFunds, withdrawFunds
-
-
-
-
Constructor Detail
-
BitbayAccountService
public BitbayAccountService(BitbayExchange bitbayExchange)
-
-
Method Detail
-
getAccountInfo
public AccountInfo getAccountInfo() throws IOException
Description copied from interface:AccountService
Get account info- Specified by:
getAccountInfo
in interfaceAccountService
- Returns:
- the AccountInfo object, null if some sort of error occurred. Implementers should log the error.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-
getFundingHistory
public List<FundingRecord> getFundingHistory(TradeHistoryParams params) throws IOException
- Specified by:
getFundingHistory
in interfaceAccountService
- Returns:
- list of funding history if available or an empty list otherwise. This should never return null.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-
-