@Deprecated public abstract class ExternalAccountServiceImpl extends java.lang.Object implements ExternalAccountService
Modifier | Constructor and Description |
---|---|
protected |
ExternalAccountServiceImpl(ExternalRestAdapter restAdapter,
HttpPushAdapter httpPushAdapter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDepositAddress(long accountId,
java.lang.String currency,
java.lang.String walletType)
Deprecated.
|
java.util.List<WalletEventVO> |
getWalletHistory(long accountId,
java.lang.String currency)
Deprecated.
Return wallet history events for specified account and currency
|
java.util.List<NamedCurrencyAmountVO> |
retrieveAccountBalances(long accountId)
Deprecated.
Returns all currency balances for the specified account
|
void |
subscribeAccountEvent(long accountId)
Deprecated.
|
void |
unSubscribeAccountEvent(long accountId)
Deprecated.
|
WithdrawStatusVO |
withdraw(long accountId,
java.lang.String currency,
java.math.BigDecimal amount,
CryptoWithdrawContext withdrawContext)
Deprecated.
Submits a withdrawal request to the specified address
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccountPositions, getAllocations, getExtAccounts, updateAllocations
protected ExternalAccountServiceImpl(ExternalRestAdapter restAdapter, HttpPushAdapter httpPushAdapter)
restAdapter
- httpPushAdapter
- May be nullpublic java.util.List<NamedCurrencyAmountVO> retrieveAccountBalances(long accountId)
AccountService
retrieveAccountBalances
in interface AccountService
public WithdrawStatusVO withdraw(long accountId, java.lang.String currency, java.math.BigDecimal amount, CryptoWithdrawContext withdrawContext)
AccountService
withdraw
in interface AccountService
accountId
- account to usecurrency
- to withdrawamount
- to withdrawwithdrawContext
- attributes like addresspublic java.lang.String getDepositAddress(long accountId, java.lang.String currency, java.lang.String walletType)
getDepositAddress
in interface AccountService
public java.util.List<WalletEventVO> getWalletHistory(long accountId, java.lang.String currency)
AccountService
getWalletHistory
in interface AccountService
accountId
- account to usecurrency
- to get the history forpublic void subscribeAccountEvent(long accountId)
public void unSubscribeAccountEvent(long accountId)