Package org.knowm.xchange.bitso.service
Class BitsoAccountService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.bitso.service.BitsoBaseService
-
- org.knowm.xchange.bitso.service.BitsoAccountServiceRaw
-
- org.knowm.xchange.bitso.service.BitsoAccountService
-
- All Implemented Interfaces:
AccountService,BaseService
public class BitsoAccountService extends BitsoAccountServiceRaw implements AccountService
- Author:
- Matija Mazi
-
-
Field Summary
-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description BitsoAccountService(Exchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeHistoryParamscreateFundingHistoryParams()AccountInfogetAccountInfo()StringrequestDepositAddress(Currency currency, String... arguments)This returns the currently set deposit address.StringwithdrawFunds(Currency currency, BigDecimal amount, String address)StringwithdrawFunds(WithdrawFundsParams params)-
Methods inherited from class org.knowm.xchange.bitso.service.BitsoAccountServiceRaw
getBitsoBalance, getBitsoBitcoinDepositAddress, withdrawBitsoFunds, withdrawToRipple
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, 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
getDynamicTradingFees, getDynamicTradingFeesByInstrument, getFundingHistory, requestDepositAddressData, withdrawFunds
-
-
-
-
Constructor Detail
-
BitsoAccountService
public BitsoAccountService(Exchange exchange)
-
-
Method Detail
-
getAccountInfo
public AccountInfo getAccountInfo() throws IOException
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOException
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(WithdrawFundsParams params) throws IOException
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
requestDepositAddress
public String requestDepositAddress(Currency currency, String... arguments) throws IOException
This returns the currently set deposit address. It will not generate a new address (ie. repeated calls will return the same address).- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
createFundingHistoryParams
public TradeHistoryParams createFundingHistoryParams()
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
-