Class CryptonitAccountService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.cryptonit2.service.CryptonitBaseService
-
- org.knowm.xchange.cryptonit2.service.CryptonitAccountServiceRaw
-
- org.knowm.xchange.cryptonit2.service.CryptonitAccountService
-
- All Implemented Interfaces:
org.knowm.xchange.service.account.AccountService,org.knowm.xchange.service.BaseService
public class CryptonitAccountService extends CryptonitAccountServiceRaw implements org.knowm.xchange.service.account.AccountService
- Author:
- Matija Mazi
-
-
Constructor Summary
Constructors Constructor Description CryptonitAccountService(org.knowm.xchange.Exchange exchange)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.knowm.xchange.service.trade.params.TradeHistoryParamscreateFundingHistoryParams()org.knowm.xchange.dto.account.AccountInfogetAccountInfo()List<org.knowm.xchange.dto.account.FundingRecord>getFundingHistory(org.knowm.xchange.service.trade.params.TradeHistoryParams params)StringrequestDepositAddress(org.knowm.xchange.currency.Currency currency, String... arguments)This returns the currently set deposit address.StringwithdrawFunds(org.knowm.xchange.currency.Currency currency, BigDecimal amount, String address)StringwithdrawFunds(org.knowm.xchange.service.trade.params.WithdrawFundsParams params)-
Methods inherited from class org.knowm.xchange.cryptonit2.service.CryptonitAccountServiceRaw
getCryptonitBalance, getCryptonitUserTransactions, getCryptonitUserTransactions, getWithdrawalRequests, withdrawCrypto, withdrawSepa
-
Methods inherited from class org.knowm.xchange.cryptonit2.service.CryptonitBaseService
handleError
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
-
-
-
Method Detail
-
getAccountInfo
public org.knowm.xchange.dto.account.AccountInfo getAccountInfo() throws IOException- Specified by:
getAccountInfoin interfaceorg.knowm.xchange.service.account.AccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(org.knowm.xchange.currency.Currency currency, BigDecimal amount, String address) throws IOException
- Specified by:
withdrawFundsin interfaceorg.knowm.xchange.service.account.AccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(org.knowm.xchange.service.trade.params.WithdrawFundsParams params) throws org.knowm.xchange.exceptions.ExchangeException, org.knowm.xchange.exceptions.NotAvailableFromExchangeException, org.knowm.xchange.exceptions.NotYetImplementedForExchangeException, IOException
- Specified by:
withdrawFundsin interfaceorg.knowm.xchange.service.account.AccountService- Throws:
org.knowm.xchange.exceptions.ExchangeExceptionorg.knowm.xchange.exceptions.NotAvailableFromExchangeExceptionorg.knowm.xchange.exceptions.NotYetImplementedForExchangeExceptionIOException
-
requestDepositAddress
public String requestDepositAddress(org.knowm.xchange.currency.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 interfaceorg.knowm.xchange.service.account.AccountService- Throws:
IOException
-
createFundingHistoryParams
public org.knowm.xchange.service.trade.params.TradeHistoryParams createFundingHistoryParams()
- Specified by:
createFundingHistoryParamsin interfaceorg.knowm.xchange.service.account.AccountService
-
getFundingHistory
public List<org.knowm.xchange.dto.account.FundingRecord> getFundingHistory(org.knowm.xchange.service.trade.params.TradeHistoryParams params) throws org.knowm.xchange.exceptions.ExchangeException, org.knowm.xchange.exceptions.NotAvailableFromExchangeException, org.knowm.xchange.exceptions.NotYetImplementedForExchangeException, IOException
- Specified by:
getFundingHistoryin interfaceorg.knowm.xchange.service.account.AccountService- Throws:
org.knowm.xchange.exceptions.ExchangeExceptionorg.knowm.xchange.exceptions.NotAvailableFromExchangeExceptionorg.knowm.xchange.exceptions.NotYetImplementedForExchangeExceptionIOException
-
-