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, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
protected final CoinbaseAuthenticated coinbase
protected final si.mazi.rescu.ParamsDigest signatureCreator
protected CoinbaseBasePollingService(Exchange exchange)
exchange
- public List<CoinbaseCurrency> getCoinbaseCurrencies() throws IOException
IOException
public CoinbaseUser createCoinbaseUser(CoinbaseUser user) throws IOException
user
- New Coinbase User information.IOException
CoinbaseUser#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.IOException
CoinbaseUser#createNewCoinbaseUser} and {@link CoinbaseUser#createCoinbaseNewUserWithReferrerId}
public CoinbaseToken createCoinbaseToken() throws IOException
IOException
protected <R extends CoinbaseBaseResponse> R handleResponse(R response)
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.