EarningsResponse

public class EarningsResponse

The EARNINGS endpoint's response: a company's annual and quarterly earnings history, or the error returned in their place.

Author

Sylvester Sefa-Yeboah

Since

1.7.0

Types

Link copied to clipboard
public class EarningParser extends Parser<EarningsResponse>
Parses a raw EARNINGS API response into an EarningsResponse.

Properties

Link copied to clipboard
Link copied to clipboard
public final String errorMessage
Link copied to clipboard
Link copied to clipboard
public final String symbol

Functions

Link copied to clipboard
Returns the company's annual earnings history, most recent first.
Link copied to clipboard
Returns the error message returned by the API, if the request failed.
Link copied to clipboard
Returns the company's quarterly earnings history, most recent first.
Link copied to clipboard
public String getSymbol()
Returns the ticker symbol this response is for.
Link copied to clipboard
public static EarningsResponse of(Map<String, Object> objectMap)
Parses a raw EARNINGS API response into an EarningsResponse.
Link copied to clipboard
public String toString()