Builder

public abstract class Builder<T extends CryptoRequest.Builder<? extends Object>>

Collects the parameters shared by every crypto currency request and assembles them into a CryptoRequest.

Parameters

<T>

the concrete builder subtype, so setters can be chained without casting

Inheritors

Constructors

Link copied to clipboard
public void CryptoRequest.Builder()

Properties

Link copied to clipboard
The Alpha Vantage function this request calls, fixed by each subclass.

Functions

Link copied to clipboard
public abstract CryptoRequest build()
Assembles the parameters set so far into a request.
Link copied to clipboard
public T function(Function function)
Sets the Alpha Vantage function this request calls.
Link copied to clipboard
public T market(String market)
Sets the market to price the digital currency in.
Link copied to clipboard
public T symbol(String symbol)
Sets the digital currency to fetch data for.