| 1 | package pl.zankowski.iextrading4j.client.rest.request.stocks; | |
| 2 | ||
| 3 | import pl.zankowski.iextrading4j.api.stocks.TodayEarnings; | |
| 4 | import pl.zankowski.iextrading4j.client.rest.manager.RestRequest; | |
| 5 | import pl.zankowski.iextrading4j.client.rest.manager.RestRequestBuilder; | |
| 6 | import pl.zankowski.iextrading4j.client.rest.request.IEXCloudV1RestRequest; | |
| 7 | ||
| 8 | public class TodayEarningsRequestBuilder implements IEXCloudV1RestRequest<TodayEarnings> { | |
| 9 | ||
| 10 | @Override | |
| 11 | public RestRequest<TodayEarnings> build() { | |
| 12 |
1
1. build : replaced return value with null for pl/zankowski/iextrading4j/client/rest/request/stocks/TodayEarningsRequestBuilder::build → KILLED |
return RestRequestBuilder.<TodayEarnings>builder() |
| 13 | .withPath("/stock/market/today-earnings").get() | |
| 14 | .withResponse(TodayEarnings.class) | |
| 15 | .build(); | |
| 16 | } | |
| 17 | ||
| 18 | } | |
Mutations | ||
| 12 |
1.1 |