Builder

public class Builder

Collects the currency pair to quote and assembles it into an ExchangeRateRequest.

The function is pinned to CURRENCY_EXCHANGE_RATE on construction, so the pair is the only thing a caller supplies. Both physical and digital currencies are accepted on either side of the pair.

Constructors

Link copied to clipboard
Creates a builder for the CURRENCY_EXCHANGE_RATE endpoint.

Functions

Link copied to clipboard
Assembles the parameters set so far into a request.
Link copied to clipboard
Sets the base currency, the one being converted from.
Link copied to clipboard
Sets the quote currency, the one being converted to.