public class CoinbaseBasePollingService extends BaseExchangeService implements BasePollingService
| Modifier and Type | Field and Description |
|---|---|
protected CoinbaseAuthenticated |
coinbase |
protected si.mazi.rescu.ParamsDigest |
signatureCreator |
exchange| Modifier | Constructor and Description |
|---|---|
protected |
CoinbaseBasePollingService(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CoinbaseToken |
createCoinbaseToken()
Creates tokens redeemable for Bitcoin.
|
CoinbaseUser |
createCoinbaseUser(CoinbaseUser user)
Unauthenticated resource that creates a user with an email and password.
|
CoinbaseUser |
createCoinbaseUser(CoinbaseUser user,
String oAuthClientId)
Unauthenticated resource that creates a user with an email and password.
|
List<CoinbaseCurrency> |
getCoinbaseCurrencies()
Unauthenticated resource that returns currencies supported on Coinbase.
|
protected <R extends CoinbaseBaseResponse> |
handleResponse(R response) |
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolsprotected final CoinbaseAuthenticated coinbase
protected final si.mazi.rescu.ParamsDigest signatureCreator
protected CoinbaseBasePollingService(Exchange exchange)
exchange - public List<CoinbaseCurrency> getCoinbaseCurrencies() throws IOException
IOExceptionpublic CoinbaseUser createCoinbaseUser(CoinbaseUser user) throws IOException
user - New Coinbase User information.IOExceptionCoinbaseUser#createNewCoinbaseUser} and {@link CoinbaseUser#createCoinbaseNewUserWithReferrerId}public CoinbaseUser createCoinbaseUser(CoinbaseUser user, String oAuthClientId) throws IOException
user - New Coinbase User information.oAuthClientId - Optional client id that corresponds to your OAuth2 application.IOExceptionCoinbaseUser#createNewCoinbaseUser} and {@link CoinbaseUser#createCoinbaseNewUserWithReferrerId}public CoinbaseToken createCoinbaseToken() throws IOException
IOExceptionprotected <R extends CoinbaseBaseResponse> R handleResponse(R response)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.