Class CoinbaseDataService
java.lang.Object
com.github.badpop.jcoinbase.service.data.CoinbaseDataService
public class CoinbaseDataService
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CoinbaseDataService()
-
Method Summary
Modifier and Type Method Description protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,io.vavr.collection.Seq<Currency>>>
fetchCurrencies(JCoinbaseClient client)
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,ExchangeRates>>
fetchExchangeRates(JCoinbaseClient client, java.lang.String currency)
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,Price>>
fetchPriceByType(JCoinbaseClient client, Price.PriceType priceType, java.lang.String baseCurrency, java.lang.String targetCurrency)
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,Time>>
fetchTime(JCoinbaseClient client)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CoinbaseDataService
public CoinbaseDataService()
-
-
Method Details
-
fetchTime
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,Time>> fetchTime(JCoinbaseClient client) -
fetchCurrencies
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,io.vavr.collection.Seq<Currency>>> fetchCurrencies(JCoinbaseClient client) -
fetchExchangeRates
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,ExchangeRates>> fetchExchangeRates(JCoinbaseClient client, java.lang.String currency) -
fetchPriceByType
protected io.vavr.control.Try<CallResult<io.vavr.collection.Seq<CoinbaseError>,Price>> fetchPriceByType(JCoinbaseClient client, Price.PriceType priceType, java.lang.String baseCurrency, java.lang.String targetCurrency)
-