parse

public ExchangeRateResponse parse(Map<String, Object> stringObjectMap)

Reads the quote fields into a response.

Return

a response holding the parsed quote, or one holding an error message if the payload was empty or carried a message in place of a quote

Parameters

stringObjectMap

the response body, already decoded from JSON into a map