Index

A B C D E F G H I J M N O P R S T U V W 
All Classes|All Packages

A

ACCEPT - com.github.badpop.jcoinbase.service.http.Headers
 
ACCEPT_VALUE - com.github.badpop.jcoinbase.service.http.Headers
 
account() - Method in class com.github.badpop.jcoinbase.JCoinbaseClient
This method provides an AccountService allowing you to request coinbase protected data using it's api
Account - Class in com.github.badpop.jcoinbase.model.account
Class representing the Coinbase account model
Account() - Constructor for class com.github.badpop.jcoinbase.model.account.Account
 
ACCOUNT - com.github.badpop.jcoinbase.model.ResourceType
 
AccountBalance - Class in com.github.badpop.jcoinbase.model.account
Class representing the Coinbase account balance model
AccountBalance() - Constructor for class com.github.badpop.jcoinbase.model.account.AccountBalance
 
AccountBalanceDto - Class in com.github.badpop.jcoinbase.service.account.dto
 
AccountBalanceDto() - Constructor for class com.github.badpop.jcoinbase.service.account.dto.AccountBalanceDto
 
AccountCurrency - Class in com.github.badpop.jcoinbase.model.account
Class representing the Coinbase account currency model
AccountCurrency() - Constructor for class com.github.badpop.jcoinbase.model.account.AccountCurrency
 
AccountCurrencyDto - Class in com.github.badpop.jcoinbase.service.account.dto
 
AccountCurrencyDto() - Constructor for class com.github.badpop.jcoinbase.service.account.dto.AccountCurrencyDto
 
AccountDto - Class in com.github.badpop.jcoinbase.service.account.dto
 
AccountDto() - Constructor for class com.github.badpop.jcoinbase.service.account.dto.AccountDto
 
AccountService - Class in com.github.badpop.jcoinbase.service.account
This service allows you to request coinbase accounts data.
AccountService() - Constructor for class com.github.badpop.jcoinbase.service.account.AccountService
 
AccountsPage - Class in com.github.badpop.jcoinbase.model.account
 
AccountsPage(Pagination, Seq<Account>) - Constructor for class com.github.badpop.jcoinbase.model.account.AccountsPage
 
AccountType - Enum in com.github.badpop.jcoinbase.model.account
Enum representing the Coinbase account type model and centralize values
alertIfCoinbaseHasReturnedWarnings(DataDto<T>) - Method in class com.github.badpop.jcoinbase.service.WarningManagerService
Log coinbase warnings if presents, do nothing otherwise
alertIfCoinbaseHasReturnedWarnings(PaginatedResponseDto<T>) - Method in class com.github.badpop.jcoinbase.service.WarningManagerService
Log coinbase warnings if presents, do nothing otherwise
allow(JCoinbaseClient) - Method in class com.github.badpop.jcoinbase.service.auth.AuthenticationService
Really important method that check if the given client is properly build to access coinbase protected resources.
ASC - com.github.badpop.jcoinbase.model.Pagination.Order
 
AuthenticationService - Class in com.github.badpop.jcoinbase.service.auth
Manage all the security mechanism required by Coinbase to call protected resources
AuthenticationService() - Constructor for class com.github.badpop.jcoinbase.service.auth.AuthenticationService
 
AuthenticationUtils - Interface in com.github.badpop.jcoinbase.service.utils
 
Authorizations - Class in com.github.badpop.jcoinbase.model.user
Coinbase current user's authorizations based on API key configuration
Authorizations() - Constructor for class com.github.badpop.jcoinbase.model.user.Authorizations
 
AuthorizationsDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
AuthorizationsDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.AuthorizationsDto
 

B

bimap(Function<? super L, ? extends X>, Function<? super R, ? extends Y>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Maps callResult the failure or the success side of this disjunction.
build(String, String, String) - Method in class com.github.badpop.jcoinbase.JCoinbaseProperties
Call this method to build a properly configured JCoinbaseProperties.
build(String, String, String, boolean) - Static method in class com.github.badpop.jcoinbase.JCoinbasePropertiesFactory
This method build the JCoinbaseClient needed Properties.
build(String, String, String, long, boolean) - Method in class com.github.badpop.jcoinbase.JCoinbaseClient
This protected method build a new JCoinbaseClient with the given parameters
build(String, String, String, long, boolean) - Static method in class com.github.badpop.jcoinbase.JCoinbaseClientFactory
Return a new JCoinbaseClient instance configured with the given parameters.
BUY - com.github.badpop.jcoinbase.model.data.Price.PriceType
 

C

CallResult<L,​R> - Class in com.github.badpop.jcoinbase.control
Call result is a simplified version of the vavr Either adapted to the JCoinbase needs.
CallResult() - Constructor for class com.github.badpop.jcoinbase.control.CallResult
 
CallResult.Failure<L,​R> - Class in com.github.badpop.jcoinbase.control
The Failure version of a CallResult.
CallResult.FailureProjection<L,​R> - Class in com.github.badpop.jcoinbase.control
A failure projection of a CallResult.
CallResult.Success<L,​R> - Class in com.github.badpop.jcoinbase.control
The Success version of a CallResult.
CallResult.SuccessProjection<L,​R> - Class in com.github.badpop.jcoinbase.control
A success projection of a CallResult.
CB_ACCESS_KEY - com.github.badpop.jcoinbase.service.http.Headers
 
CB_ACCESS_SIGN - com.github.badpop.jcoinbase.service.http.Headers
 
CB_ACCESS_TIMESTAMP - com.github.badpop.jcoinbase.service.http.Headers
 
CB_VERSION - com.github.badpop.jcoinbase.service.http.Headers
 
CoinbaseAccountService - Class in com.github.badpop.jcoinbase.service.account
 
CoinbaseAccountService() - Constructor for class com.github.badpop.jcoinbase.service.account.CoinbaseAccountService
 
CoinbaseDataService - Class in com.github.badpop.jcoinbase.service.data
 
CoinbaseDataService() - Constructor for class com.github.badpop.jcoinbase.service.data.CoinbaseDataService
 
CoinbaseError - Class in com.github.badpop.jcoinbase.model
The CoinbaseError is a class that allows to return the errors returned by the coinbase api in a non-breaking way.
CoinbaseError() - Constructor for class com.github.badpop.jcoinbase.model.CoinbaseError
 
CoinbaseUserService - Class in com.github.badpop.jcoinbase.service.user
 
CoinbaseUserService() - Constructor for class com.github.badpop.jcoinbase.service.user.CoinbaseUserService
 
com.github.badpop.jcoinbase - package com.github.badpop.jcoinbase
 
com.github.badpop.jcoinbase.control - package com.github.badpop.jcoinbase.control
 
com.github.badpop.jcoinbase.exception - package com.github.badpop.jcoinbase.exception
 
com.github.badpop.jcoinbase.model - package com.github.badpop.jcoinbase.model
 
com.github.badpop.jcoinbase.model.account - package com.github.badpop.jcoinbase.model.account
 
com.github.badpop.jcoinbase.model.data - package com.github.badpop.jcoinbase.model.data
 
com.github.badpop.jcoinbase.model.request - package com.github.badpop.jcoinbase.model.request
 
com.github.badpop.jcoinbase.model.user - package com.github.badpop.jcoinbase.model.user
 
com.github.badpop.jcoinbase.service - package com.github.badpop.jcoinbase.service
 
com.github.badpop.jcoinbase.service.account - package com.github.badpop.jcoinbase.service.account
 
com.github.badpop.jcoinbase.service.account.dto - package com.github.badpop.jcoinbase.service.account.dto
 
com.github.badpop.jcoinbase.service.auth - package com.github.badpop.jcoinbase.service.auth
 
com.github.badpop.jcoinbase.service.data - package com.github.badpop.jcoinbase.service.data
 
com.github.badpop.jcoinbase.service.data.dto - package com.github.badpop.jcoinbase.service.data.dto
 
com.github.badpop.jcoinbase.service.dto - package com.github.badpop.jcoinbase.service.dto
 
com.github.badpop.jcoinbase.service.http - package com.github.badpop.jcoinbase.service.http
 
com.github.badpop.jcoinbase.service.user - package com.github.badpop.jcoinbase.service.user
 
com.github.badpop.jcoinbase.service.user.dto - package com.github.badpop.jcoinbase.service.user.dto
 
com.github.badpop.jcoinbase.service.utils - package com.github.badpop.jcoinbase.service.utils
 
contains(T) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Shortcut for exists(e -> Objects.equals(e, element)), tests if the given element is contained.
Country - Class in com.github.badpop.jcoinbase.model.user
Class representing the Coinbase country model
Country() - Constructor for class com.github.badpop.jcoinbase.model.user.Country
 
CountryDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
CountryDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.CountryDto
 
Currency - Class in com.github.badpop.jcoinbase.model.data
Class representing the Coinbase currency model
Currency() - Constructor for class com.github.badpop.jcoinbase.model.data.Currency
 
CurrencyDto - Class in com.github.badpop.jcoinbase.service.data.dto
 
CurrencyDto() - Constructor for class com.github.badpop.jcoinbase.service.data.dto.CurrencyDto
 

D

data() - Method in class com.github.badpop.jcoinbase.JCoinbaseClient
This method provides a DataService allowing you to request coinbase public data using it's api
DataDto<T> - Class in com.github.badpop.jcoinbase.service.dto
 
DataDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.DataDto
 
DataErrorDto<T> - Class in com.github.badpop.jcoinbase.service.dto
 
DataErrorDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.DataErrorDto
 
DataErrorsDto - Class in com.github.badpop.jcoinbase.service.dto
 
DataErrorsDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.DataErrorsDto
 
DataService - Class in com.github.badpop.jcoinbase.service.data
This service allows you to request coinbase public data.
DataService() - Constructor for class com.github.badpop.jcoinbase.service.data.DataService
 
DateAndTimeUtils - Interface in com.github.badpop.jcoinbase.service.utils
Utility interface giving access to methods working on date and times like Instants, LocalDateTime, ...
DESC - com.github.badpop.jcoinbase.model.Pagination.Order
 
deserialize(HttpResponse<String>, ObjectMapper, TypeReference<DataDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.JsonDeserializationService
Generic method to centralized the deserialization process of coinbase api responses and wrap the results in a CallResult object

E

equals(Object) - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
equals(Object) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
equals(Object) - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
equals(Object) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
equals(Object) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Clarifies that functionalValues have a proper equals() method implemented.
ErrorDto - Class in com.github.badpop.jcoinbase.service.dto
 
ErrorDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.ErrorDto
 
ErrorManagerService - Class in com.github.badpop.jcoinbase.service
An utility class to centralize error management when we need to log error and throw exceptions
ErrorManagerService() - Constructor for class com.github.badpop.jcoinbase.service.ErrorManagerService
 
ExchangeRates - Class in com.github.badpop.jcoinbase.model.data
Class representing the Coinbase exchange rates model
ExchangeRates() - Constructor for class com.github.badpop.jcoinbase.model.data.ExchangeRates
 
ExchangeRatesDto - Class in com.github.badpop.jcoinbase.service.data.dto
 
ExchangeRatesDto() - Constructor for class com.github.badpop.jcoinbase.service.data.dto.ExchangeRatesDto
 
exists(Predicate<? super T>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Checks, if an element exists such that the predicate holds.

F

failure() - Method in class com.github.badpop.jcoinbase.control.CallResult
Returns a FailureProjection of this CallResult.
failure(L) - Static method in class com.github.badpop.jcoinbase.control.CallResult
Constructs a CallResult.Failure
fetchAccountPageByUri(JCoinbaseClient, AuthenticationService, String) - Method in class com.github.badpop.jcoinbase.service.account.CoinbaseAccountService
 
fetchAuthorizations(JCoinbaseClient, AuthenticationService) - Method in class com.github.badpop.jcoinbase.service.user.CoinbaseUserService
 
fetchCurrencies(JCoinbaseClient) - Method in class com.github.badpop.jcoinbase.service.data.CoinbaseDataService
 
fetchCurrentUser(JCoinbaseClient, AuthenticationService) - Method in class com.github.badpop.jcoinbase.service.user.CoinbaseUserService
 
fetchExchangeRates(JCoinbaseClient, String) - Method in class com.github.badpop.jcoinbase.service.data.CoinbaseDataService
 
fetchPriceByType(JCoinbaseClient, Price.PriceType, String, String) - Method in class com.github.badpop.jcoinbase.service.data.CoinbaseDataService
 
fetchTime(JCoinbaseClient) - Method in class com.github.badpop.jcoinbase.service.data.CoinbaseDataService
 
fetchUserById(JCoinbaseClient, AuthenticationService, String) - Method in class com.github.badpop.jcoinbase.service.user.CoinbaseUserService
 
FIAT - com.github.badpop.jcoinbase.model.account.AccountType
 
filter(Predicate<? super L>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Returns Some value of type L if this is a failure projection of a Failure value and the predicate applies to the underlying value.
filter(Predicate<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Filters this success-biased CallResult by testing a predicate.
filter(Predicate<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Returns Some value of type R if this is a success projection of a Success value and the predicate applies to the underlying value.
filterNot(Predicate<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Filters this success-biased CallResult by testing a predicate.
filterOrElse(Predicate<? super R>, Function<? super R, ? extends L>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Filters this success-biased CallResult by testing a predicate.
flatMap(Function<? super L, ? extends CallResult.FailureProjection<? extends U, R>>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
FlatMaps this FailureProjection.
flatMap(Function<? super R, ? extends CallResult.SuccessProjection<L, ? extends U>>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
FlatMaps this SuccessProjection.
flatMap(Function<? super R, ? extends CallResult<L, ? extends U>>) - Method in class com.github.badpop.jcoinbase.control.CallResult
FlatMaps this success-biased CallResult.
fold(Function<? super L, ? extends U>, Function<? super R, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Folds callResult the failure or the success side of this disjunction.
forAll(Predicate<? super T>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Checks, if the given predicate holds for all elements.
fromInstant(Instant) - Static method in interface com.github.badpop.jcoinbase.service.utils.DateAndTimeUtils
This method transform a Java Instant to a Java LocalDateTime using the system default time zone and wrap it into a Vavr Option
fromString(String) - Static method in enum com.github.badpop.jcoinbase.model.account.AccountType
 
fromString(String) - Static method in enum com.github.badpop.jcoinbase.model.data.Price.PriceType
Retrieve a price type from a string representation.
fromString(String) - Static method in enum com.github.badpop.jcoinbase.model.Pagination.Order
 
fromString(String) - Static method in enum com.github.badpop.jcoinbase.model.ResourceType
Retrieve a resource type from a string representation.
fromStringAsJava(String) - Static method in enum com.github.badpop.jcoinbase.model.account.AccountType
 
fromStringAsJava(String) - Static method in enum com.github.badpop.jcoinbase.model.Pagination.Order
 
fromStringAsJava(String) - Static method in enum com.github.badpop.jcoinbase.model.ResourceType
Retrieve a resource type from a string representation.
fromStringToOption(String) - Static method in enum com.github.badpop.jcoinbase.model.data.Price.PriceType
Retrieve a price type from a string representation.
fromStringToOptional(String) - Static method in enum com.github.badpop.jcoinbase.model.data.Price.PriceType
Retrieve a price type from a string representation.
FunctionalValue<T> - Interface in com.github.badpop.jcoinbase.control
Call result is a simplified version of the vavr Value adapted to the JCoinbase needs.

G

get() - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
get() - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Gets the Failure value or throws.
get() - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
get() - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Gets the Success value or throws.
get() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Gets the underlying functionalValue or throws if no functionalValue is present.
getAccount(String) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get an account by its id
getAccountAsJava(String) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get an account by its id
getAccounts() - Method in class com.github.badpop.jcoinbase.model.account.AccountsPage
 
getAccountsAsJava() - Method in class com.github.badpop.jcoinbase.model.account.AccountsPage
 
getAccountsPage() - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the first accounts page
getAccountsPageAsJava() - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the first accounts page
getAuthenticationHeaders(JCoinbaseProperties, String, String, String) - Method in class com.github.badpop.jcoinbase.service.auth.AuthenticationService
Get the headers required by the coinbase api to access protected resources like users or transactions
getAuthenticationHeaders(Option<String>, Option<String>, Option<String>, long, String, String, String) - Method in class com.github.badpop.jcoinbase.service.auth.AuthenticationService
Get the headers required by the coinbase api to access protected resources like users or transactions
getAuthorizations() - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get current user’s authorization information including granted scopes
getAuthorizationsAsJava() - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get current user’s authorization information including granted scopes
getCurrencies() - Method in class com.github.badpop.jcoinbase.service.data.DataService
List Coinbase known currencies.
getCurrenciesAsJava() - Method in class com.github.badpop.jcoinbase.service.data.DataService
List Coinbase known currencies.
getCurrentUser() - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get the current user data based on the provided coinbase API Key.
getCurrentUserAsJava() - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get the current user data based on the provided coinbase API Key.
getDataAsJava() - Method in class com.github.badpop.jcoinbase.model.PaginatedResponse
 
getExchangeRates(String) - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get current exchange rates for the given currency.
getExchangeRatesAsJava(String) - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get current exchange rates for the given currency.
getFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
getFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult
Returns the failure value.
getFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
getHeaders(AuthenticationService, JCoinbaseClient, String, String, String) - Static method in interface com.github.badpop.jcoinbase.service.utils.AuthenticationUtils
 
getNextAccountsPage(Pagination) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the next accounts page
getNextAccountsPageAsJava(Pagination) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the next accounts page
getOrElse(Supplier<? extends T>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns the underlying functionalValue if present, otherwise other.
getOrElse(L) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Gets the Failure value or an alternate value, if the projected CallResult is a Success.
getOrElse(R) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Gets the Success value or an alternate value, if the projected CallResult is a Failure.
getOrElse(T) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns the underlying functionalValue if present, otherwise other.
getOrElseGet(Function<? super L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Gets the Success value or an alternate value, if the projected CallResult is a Failure.
getOrElseGet(Function<? super L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Gets the Success value or an alternate value, if the projected CallResult is a Failure.
getOrElseGet(Function<? super R, ? extends L>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Gets the Failure value or an alternate value, if the projected CallResult is a Success.
getOrElseThrow(Function<? super L, X>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Gets the Success value or throws, if the projected CallResult is a Failure.
getOrElseThrow(Function<? super L, X>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Gets the Success value or throws, if the projected CallResult is a Failure.
getOrElseThrow(Function<? super R, X>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Gets the Failure value or throws, if the projected CallResult is a Success.
getOrElseThrow(Supplier<X>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns the underlying functionalValue if present, otherwise throws supplier.get().
getOrElseTry(CheckedFunction0<? extends T>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns the underlying functionalValue if present, otherwise returns the result of Try.of(supplier).get().
getOrNull() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns the underlying functionalValue if present, otherwise null.
getPreviousAccountsPage(Pagination) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the previous accounts page
getPreviousAccountsPageAsJava(Pagination) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Get the previous accounts page
getPrice(Price.PriceType, String, String) - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get the total price to buy one currency with an other currency (e.g.
getPriceAsJava(Price.PriceType, String, String) - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get the total price to buy one currency with an other currency (e.g.
getProfileBioAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the profile bio as a java Optional instead of a Vavr Option
getProfileLocationAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the profile location as a java Optional instead of a Vavr Option
getProfileUrlAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the profile url as a java Optional instead of a Vavr Option
getRatesAsJavaMap() - Method in class com.github.badpop.jcoinbase.model.data.ExchangeRates
Return currency rates as a java Map instead of a Vavr Map
getScopesAsJava() - Method in class com.github.badpop.jcoinbase.model.user.Authorizations
Return the Authorizations scopes as a java list instead of a vavr seq
getStateAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the user's state as a java Optional instead of a Vavr Option
getTime() - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get the Coinbase API server time.
getTimeAsJava() - Method in class com.github.badpop.jcoinbase.service.data.DataService
Get the Coinbase API server time.
getUserById(String) - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get any user’s public information with their ID.
getUserByIdAsJava(String) - Method in class com.github.badpop.jcoinbase.service.user.UserService
Get any user’s public information with their ID.
getUsernameAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the username as a java Optional instead of a Vavr Option
getUserTypeAsJavaOptional() - Method in class com.github.badpop.jcoinbase.model.user.User
Give you the user type as a java Optional instead of a Vavr Option

H

hashCode() - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
hashCode() - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
hashCode() - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
hashCode() - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
hashCode() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Clarifies that functionalValues have a proper hashCode() method implemented.
Headers - Enum in com.github.badpop.jcoinbase.service.http
An enum to manage and centralize all the http headers required by the Coinbase api
HttpRequestSender - Interface in com.github.badpop.jcoinbase.service.http
Utility interface to centralize all http requests made to the Coinbase API

I

InvalidApiKeyAndSecretException - Exception in com.github.badpop.jcoinbase.exception
 
InvalidApiKeyAndSecretException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.InvalidApiKeyAndSecretException
 
InvalidRequestException - Exception in com.github.badpop.jcoinbase.exception
 
InvalidRequestException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.InvalidRequestException
 
isAsync() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Checks if this Value is asynchronously (short: async) computed.
isBlank(CharSequence) - Static method in interface com.github.badpop.jcoinbase.service.utils.StringUtils
Checks if a CharSequence is empty (""), null or whitespace only.
isEmpty() - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
isEmpty() - Method in class com.github.badpop.jcoinbase.control.CallResult
 
isEmpty() - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
isEmpty() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Checks, this Value is empty, i.e. if the underlying functionalValue is absent.
isFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
isFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult
Returns whether this CallResult is a Failure.
isFailure() - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
isLazy() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Checks if this Value is lazily evaluated.
isSingleValued() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
States whether this is a single-valued type.
isSuccess() - Method in class com.github.badpop.jcoinbase.control.CallResult.Failure
 
isSuccess() - Method in class com.github.badpop.jcoinbase.control.CallResult
Returns whether this CallResult is a Success.
isSuccess() - Method in class com.github.badpop.jcoinbase.control.CallResult.Success
 
iterator() - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
iterator() - Method in class com.github.badpop.jcoinbase.control.CallResult
 
iterator() - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
iterator() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Returns a rich io.vavr.collection.Iterator.

J

JCoinbaseClient - Class in com.github.badpop.jcoinbase
The JCoinbaseClient class is the main class of JCoinbase.
JCoinbaseClient() - Constructor for class com.github.badpop.jcoinbase.JCoinbaseClient
 
JCoinbaseClientFactory - Class in com.github.badpop.jcoinbase
A class factory to use to build JCoinbaseClient objects
JCoinbaseClientFactory() - Constructor for class com.github.badpop.jcoinbase.JCoinbaseClientFactory
 
JCoinbaseException - Exception in com.github.badpop.jcoinbase.exception
The main JCoinbase exception
JCoinbaseException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.JCoinbaseException
 
JCoinbaseException(String, Throwable) - Constructor for exception com.github.badpop.jcoinbase.exception.JCoinbaseException
 
JCoinbaseException(Throwable) - Constructor for exception com.github.badpop.jcoinbase.exception.JCoinbaseException
 
JCoinbaseProperties - Class in com.github.badpop.jcoinbase
This class is used to get properties from the jcoinbase.properties file and to wrap them with user parameters (api key, secret, api version, ...).
JCoinbaseProperties() - Constructor for class com.github.badpop.jcoinbase.JCoinbaseProperties
 
JCoinbasePropertiesFactory - Class in com.github.badpop.jcoinbase
A class factory to use to build JCoinbaseProperties objects
JCoinbasePropertiesFactory() - Constructor for class com.github.badpop.jcoinbase.JCoinbasePropertiesFactory
 
JsonDeserializationService - Interface in com.github.badpop.jcoinbase.service.http
Utility interface that allow us to deserialize coinbase api responses from json to java objects

M

manageOnError(JCoinbaseException, String, Object...) - Method in class com.github.badpop.jcoinbase.service.ErrorManagerService
Log a parameterized message and throws the given exception
manageOnError(JCoinbaseException, String, Throwable, Object...) - Method in class com.github.badpop.jcoinbase.service.ErrorManagerService
Log a parameterized message with a throwable and throws the given exception
map(Function<? super L, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Maps the failure value if the projected CallResult is a Failure.
map(Function<? super R, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Maps the value of this CallResult if it is a Success, performs no operation if this is a Failure.
map(Function<? super R, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Maps the success value if the projected CallResult is a Success.
map(Function<? super T, ? extends U>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Maps the underlying functionalValue to a different component type.
mapFailure(Function<? super L, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Maps the value of this CallResult if it is a Failure, performs no operation if this is a Success.
mapLeft(Function<? super L, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Maps the value of this CallResult if it is a Failure, performs no operation if this is a Success.

N

narrow(CallResult<? extends L, ? extends R>) - Static method in class com.github.badpop.jcoinbase.control.CallResult
Narrows a widened CallResult<? extends L, ? extends R> to CallResult<L, R> by performing a type-safe cast.
Nationality - Class in com.github.badpop.jcoinbase.model.user
Class representing the Coinbase nationality model
Nationality() - Constructor for class com.github.badpop.jcoinbase.model.user.Nationality
 
NationalityDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
NationalityDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.NationalityDto
 
NoNextPageException - Exception in com.github.badpop.jcoinbase.exception
 
NoNextPageException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.NoNextPageException
 
NoPreviousPageException - Exception in com.github.badpop.jcoinbase.exception
 
NoPreviousPageException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.NoPreviousPageException
 

O

orElse(CallResult.FailureProjection<? extends L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
orElse(CallResult.SuccessProjection<? extends L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
orElse(CallResult<? extends L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
 
orElse(Supplier<? extends CallResult.FailureProjection<? extends L, ? extends R>>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
 
orElse(Supplier<? extends CallResult.SuccessProjection<? extends L, ? extends R>>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
 
orElse(Supplier<? extends CallResult<? extends L, ? extends R>>) - Method in class com.github.badpop.jcoinbase.control.CallResult
 
orElseRun(Consumer<? super L>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Runs an action in the case this is a projection on a Failure value.
orElseRun(Consumer<? super L>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Runs an action in the case this is a projection on a Failure value.
orElseRun(Consumer<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Runs an action in the case this is a projection on a Success value.

P

paginatedDeserialize(HttpResponse<String>, ObjectMapper, TypeReference<PaginatedResponseDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.JsonDeserializationService
 
PaginatedResponse<T> - Class in com.github.badpop.jcoinbase.model
In some cases, the Coinbase api returns paginated response, this class help JCoinbase to deal with it.
PaginatedResponse() - Constructor for class com.github.badpop.jcoinbase.model.PaginatedResponse
 
PaginatedResponseDto<T> - Class in com.github.badpop.jcoinbase.service.dto
 
PaginatedResponseDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.PaginatedResponseDto
 
paginatedSend(HttpClient, HttpRequest, ObjectMapper, TypeReference<PaginatedResponseDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.HttpRequestSender
 
Pagination - Class in com.github.badpop.jcoinbase.model
In some cases, the Coinbase api returns paginated response, this class help JCoinbase to deal with it.
Pagination() - Constructor for class com.github.badpop.jcoinbase.model.Pagination
 
Pagination.Order - Enum in com.github.badpop.jcoinbase.model
When Coinbase returns a paginated response, values are ordered.
PaginationDto - Class in com.github.badpop.jcoinbase.service.dto
 
PaginationDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.PaginationDto
 
peek(Consumer<? super L>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Applies the given action to the value if the projected callResult is a Failure.
peek(Consumer<? super L>, Consumer<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Performs the given failureAction on the failure element if this is Failure.
peek(Consumer<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
 
peek(Consumer<? super R>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Applies the given action to the value if the projected callResult is a Success.
peek(Consumer<? super T>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Performs the given action on the first element if this is an eager implementation.
peekFailure(Consumer<? super L>) - Method in class com.github.badpop.jcoinbase.control.CallResult
 
Price - Class in com.github.badpop.jcoinbase.model.data
Class representing the Coinbase price model
Price() - Constructor for class com.github.badpop.jcoinbase.model.data.Price
 
Price.PriceType - Enum in com.github.badpop.jcoinbase.model.data
There is three types of prices in Coinbase : BUY, SELL and SPOT.
PriceDto - Class in com.github.badpop.jcoinbase.service.data.dto
 
PriceDto() - Constructor for class com.github.badpop.jcoinbase.service.data.dto.PriceDto
 
PriceTypeNotFoundException - Exception in com.github.badpop.jcoinbase.exception
 
PriceTypeNotFoundException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.PriceTypeNotFoundException
 
PropertiesNotFoundException - Exception in com.github.badpop.jcoinbase.exception
 
PropertiesNotFoundException(String) - Constructor for exception com.github.badpop.jcoinbase.exception.PropertiesNotFoundException
 

R

recover(Function<? super L, ? extends R>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Calls recoveryFunction if the projected CallResult is a Failure, or returns this if Success.
recoverWith(Function<? super L, ? extends CallResult<? extends L, ? extends R>>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Calls recoveryFunction if the projected CallResult is a Failure, performs no operation if this is a Success.
ReferralMoney - Class in com.github.badpop.jcoinbase.model.user
Class representing the Coinbase user's referral money model
ReferralMoney() - Constructor for class com.github.badpop.jcoinbase.model.user.ReferralMoney
 
ReferralMoneyDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
ReferralMoneyDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.ReferralMoneyDto
 
ResourceType - Enum in com.github.badpop.jcoinbase.model
Coinbase return some resources with a field named resource.
Rewards - Class in com.github.badpop.jcoinbase.model.account
Class representing the Coinbase account rewards model
Rewards() - Constructor for class com.github.badpop.jcoinbase.model.account.Rewards
 
RewardsDto - Class in com.github.badpop.jcoinbase.service.account.dto
 
RewardsDto() - Constructor for class com.github.badpop.jcoinbase.service.account.dto.RewardsDto
 

S

SELL - com.github.badpop.jcoinbase.model.data.Price.PriceType
 
send(JCoinbaseClient, AuthenticationService, String, String, String) - Method in class com.github.badpop.jcoinbase.service.account.CoinbaseAccountService
 
send(HttpClient, HttpRequest, ObjectMapper, TypeReference<DataDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.HttpRequestSender
 
sequence(Iterable<? extends CallResult<? extends L, ? extends R>>) - Static method in class com.github.badpop.jcoinbase.control.CallResult
Reduces many CallResults into a single CallResult by transforming an Iterable<CallResult<L, R>> into a CallResult<Seq<L>, Seq<R>>.
SingleErrorDto - Class in com.github.badpop.jcoinbase.service.dto
 
SingleErrorDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.SingleErrorDto
 
singleFailureDeserialize(HttpResponse<String>, ObjectMapper, TypeReference<DataDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.JsonDeserializationService
Generic method to centralized the deserialization process of coinbase api responses and wrap the results in a CallResult object
singleFailureSend(HttpClient, HttpRequest, ObjectMapper, TypeReference<DataDto<T>>) - Static method in interface com.github.badpop.jcoinbase.service.http.HttpRequestSender
 
spliterator() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
 
SPOT - com.github.badpop.jcoinbase.model.data.Price.PriceType
 
StringUtils - Interface in com.github.badpop.jcoinbase.service.utils
An utility interface that giving access to methods that validate Strings
success() - Method in class com.github.badpop.jcoinbase.control.CallResult
Returns a SuccessProjection of this CallResult.
success(R) - Static method in class com.github.badpop.jcoinbase.control.CallResult
Constructs a CallResult.Success
swap() - Method in class com.github.badpop.jcoinbase.control.CallResult
Converts a Failure to a Success vice versa by wrapping the value in a new type.

T

Tiers - Class in com.github.badpop.jcoinbase.model.user
Class representing the Coinbase user's tiers model
Tiers() - Constructor for class com.github.badpop.jcoinbase.model.user.Tiers
 
TiersDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
TiersDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.TiersDto
 
Time - Class in com.github.badpop.jcoinbase.model.data
Class representing the Coinbase time model
Time() - Constructor for class com.github.badpop.jcoinbase.model.data.Time
 
TimeDto - Class in com.github.badpop.jcoinbase.service.data.dto
 
TimeDto() - Constructor for class com.github.badpop.jcoinbase.service.data.dto.TimeDto
 
toAccount() - Method in class com.github.badpop.jcoinbase.service.account.dto.AccountDto
 
toAccountBalance() - Method in class com.github.badpop.jcoinbase.service.account.dto.AccountBalanceDto
 
toAccountCurrency() - Method in class com.github.badpop.jcoinbase.service.account.dto.AccountCurrencyDto
 
toAuthorizations() - Method in class com.github.badpop.jcoinbase.service.user.dto.AuthorizationsDto
 
toCallResult() - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Returns the underlying callResult of this projection.
toCallResult() - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Returns the underlying callResult of this projection.
toCallResult(Supplier<? extends L>) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Converts this to a CallResult.
toCallResult(L) - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Converts this to a CallResult.
toCoinbaseError() - Method in class com.github.badpop.jcoinbase.service.dto.ErrorDto
 
toCoinbaseError() - Method in class com.github.badpop.jcoinbase.service.dto.SingleErrorDto
 
toCoinbaseErrors() - Method in class com.github.badpop.jcoinbase.service.dto.DataErrorsDto
 
toCountry() - Method in class com.github.badpop.jcoinbase.service.user.dto.CountryDto
 
toCurrency() - Method in class com.github.badpop.jcoinbase.service.data.dto.CurrencyDto
 
toExchangeRates() - Method in class com.github.badpop.jcoinbase.service.data.dto.ExchangeRatesDto
 
toJavaOptional() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Converts this to an Optional.
toNationality() - Method in class com.github.badpop.jcoinbase.service.user.dto.NationalityDto
 
toOption() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Converts this to an Option.
toPaginatedResponse(Seq<U>) - Method in class com.github.badpop.jcoinbase.service.dto.PaginatedResponseDto
 
toPagination() - Method in class com.github.badpop.jcoinbase.service.dto.PaginationDto
 
toPrice(Price.PriceType) - Method in class com.github.badpop.jcoinbase.service.data.dto.PriceDto
 
toReferralMoney() - Method in class com.github.badpop.jcoinbase.service.user.dto.ReferralMoneyDto
 
toRewards() - Method in class com.github.badpop.jcoinbase.service.account.dto.RewardsDto
 
toString() - Method in interface com.github.badpop.jcoinbase.control.FunctionalValue
Clarifies that functionalValues have a proper toString() method implemented.
toTiers() - Method in class com.github.badpop.jcoinbase.service.user.dto.TiersDto
 
toTime() - Method in class com.github.badpop.jcoinbase.service.data.dto.TimeDto
 
toUser() - Method in class com.github.badpop.jcoinbase.service.user.dto.UserDto
 
transform(Function<? super CallResult.FailureProjection<L, R>, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Transforms this FailureProjection.
transform(Function<? super CallResult.SuccessProjection<L, R>, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult.SuccessProjection
Transforms this SuccessProjection.
transform(Function<? super CallResult<L, R>, ? extends U>) - Method in class com.github.badpop.jcoinbase.control.CallResult
Transforms this CallResult.

U

UnauthorizedRequestException - Exception in com.github.badpop.jcoinbase.exception
 
UnauthorizedRequestException(Throwable) - Constructor for exception com.github.badpop.jcoinbase.exception.UnauthorizedRequestException
 
UNKNOWN - com.github.badpop.jcoinbase.model.account.AccountType
 
UNKNOWN - com.github.badpop.jcoinbase.model.ResourceType
 
updateAccount(String, UpdateAccountRequest) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Update an account by its id
updateAccountAsJava(String, UpdateAccountRequest) - Method in class com.github.badpop.jcoinbase.service.account.AccountService
Update an account by its id
UpdateAccountRequest - Class in com.github.badpop.jcoinbase.model.request
Create an instance of this class to update the an account and set the fields value for the fields you want to update.
UpdateAccountRequest() - Constructor for class com.github.badpop.jcoinbase.model.request.UpdateAccountRequest
 
updateCurrentUser(JCoinbaseClient, AuthenticationService, UpdateCurrentUserRequest) - Method in class com.github.badpop.jcoinbase.service.user.CoinbaseUserService
 
updateCurrentUser(UpdateCurrentUserRequest) - Method in class com.github.badpop.jcoinbase.service.user.UserService
Modify current user and their preferences.
updateCurrentUserAsJava(UpdateCurrentUserRequest) - Method in class com.github.badpop.jcoinbase.service.user.UserService
Modify current user and their preferences.
UpdateCurrentUserRequest - Class in com.github.badpop.jcoinbase.model.request
Create an instance of this class to update the current user and set the fields value for the fields you want to update.
UpdateCurrentUserRequest() - Constructor for class com.github.badpop.jcoinbase.model.request.UpdateCurrentUserRequest
 
user() - Method in class com.github.badpop.jcoinbase.JCoinbaseClient
This method provides a UserService allowing you to request coinbase protected data using it's api
User - Class in com.github.badpop.jcoinbase.model.user
Class representing the Coinbase user model
User() - Constructor for class com.github.badpop.jcoinbase.model.user.User
 
USER - com.github.badpop.jcoinbase.model.ResourceType
 
UserDto - Class in com.github.badpop.jcoinbase.service.user.dto
 
UserDto() - Constructor for class com.github.badpop.jcoinbase.service.user.dto.UserDto
 
UserService - Class in com.github.badpop.jcoinbase.service.user
This service allows you to request coinbase users and current user data.
UserService() - Constructor for class com.github.badpop.jcoinbase.service.user.UserService
 

V

valueOf(String) - Static method in enum com.github.badpop.jcoinbase.model.account.AccountType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.badpop.jcoinbase.model.data.Price.PriceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.badpop.jcoinbase.model.Pagination.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.badpop.jcoinbase.model.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.badpop.jcoinbase.service.http.Headers
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.badpop.jcoinbase.model.account.AccountType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.badpop.jcoinbase.model.data.Price.PriceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.badpop.jcoinbase.model.Pagination.Order
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.badpop.jcoinbase.model.ResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.badpop.jcoinbase.service.http.Headers
Returns an array containing the constants of this enum type, in the order they are declared.
VAULT - com.github.badpop.jcoinbase.model.account.AccountType
 

W

WALLET - com.github.badpop.jcoinbase.model.account.AccountType
 
WarningDto - Class in com.github.badpop.jcoinbase.service.dto
 
WarningDto() - Constructor for class com.github.badpop.jcoinbase.service.dto.WarningDto
 
WarningManagerService - Class in com.github.badpop.jcoinbase.service
An utility class that allow JCoinbase to log warning(s) returned by the coinbase api
WarningManagerService() - Constructor for class com.github.badpop.jcoinbase.service.WarningManagerService
 
A B C D E F G H I J M N O P R S T U V W 
All Classes|All Packages