public class RippleAccountService extends RippleAccountServiceRaw implements PollingAccountService
rippleAuthenticated, ripplePublicexchange| Constructor and Description |
|---|
RippleAccountService(Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
AccountInfo |
getAccountInfo()
A wallet's currency will be prefixed with the issuing counterparty address for all currencies other than XRP.
|
String |
requestDepositAddress(String currency,
String... args)
Request a digital currency address to fund this account.
|
String |
withdrawFunds(String currency,
BigDecimal amount,
String address)
Withdraw funds from this account.
|
clearAccountSettingsStore, getRippleAccountBalances, getRippleAccountBalances, getRippleAccountSettings, getRippleAccountSettings, getTransferFeeRategetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic RippleAccountService(Exchange exchange)
public AccountInfo getAccountInfo() throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
getAccountInfo in interface PollingAccountServiceExchangeException - - Indication that the exchange reported some kind of error with the request or responseNotAvailableFromExchangeException - - Indication that the exchange does not support the requested function or dataNotYetImplementedForExchangeException - - Indication that the exchange supports the requested function or data, but it has not yet been
implementedIOException - - Indication that a networking error occurred while fetching JSON datapublic String withdrawFunds(String currency, BigDecimal amount, String address) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
PollingAccountServicewithdrawFunds in interface PollingAccountServicecurrency - The currency to withdrawamount - The amount to withdrawaddress - The destination addressExchangeException - - Indication that the exchange reported some kind of error with the request or responseNotAvailableFromExchangeException - - Indication that the exchange does not support the requested function or dataNotYetImplementedForExchangeException - - Indication that the exchange supports the requested function or data, but it has not yet been
implementedIOException - - Indication that a networking error occurred while fetching JSON datapublic String requestDepositAddress(String currency, String... args) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
PollingAccountServicerequestDepositAddress in interface PollingAccountServicecurrency - The digital currency that corresponds to the desired deposit address.ExchangeException - - Indication that the exchange reported some kind of error with the request or responseNotAvailableFromExchangeException - - Indication that the exchange does not support the requested function or dataNotYetImplementedForExchangeException - - Indication that the exchange supports the requested function or data, but it has not yet been
implementedIOException - - Indication that a networking error occurred while fetching JSON dataCopyright © 2012–2017 Xeiam, LLC. All rights reserved.