Record Class EODCalendarEarningsEntryResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCalendarEarningsEntryResponse
- Record Components:
code- ticker in EODHD formatreportDate- report datedate- fiscal period datebeforeAfterMarket- release timing relative to market hourscurrency- reporting currencyactual- actual EPS/metricestimate- estimated EPS/metricdifference- actual minus estimatepercent- surprise percentage
public record EODCalendarEarningsEntryResponse(String code, String reportDate, String date, String beforeAfterMarket, String currency, BigDecimal actual, BigDecimal estimate, BigDecimal difference, BigDecimal percent)
extends Record
Single earnings calendar record.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCalendarEarningsEntryResponse(String code, String reportDate, String date, String beforeAfterMarket, String currency, BigDecimal actual, BigDecimal estimate, BigDecimal difference, BigDecimal percent) Creates an instance of aEODCalendarEarningsEntryResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionactual()Returns the value of theactualrecord component.Returns the value of thebeforeAfterMarketrecord component.code()Returns the value of thecoderecord component.currency()Returns the value of thecurrencyrecord component.date()Returns the value of thedaterecord component.Returns the value of thedifferencerecord component.final booleanIndicates whether some other object is "equal to" this one.estimate()Returns the value of theestimaterecord component.final inthashCode()Returns a hash code value for this object.percent()Returns the value of thepercentrecord component.Returns the value of thereportDaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODCalendarEarningsEntryResponse
public EODCalendarEarningsEntryResponse(String code, String reportDate, String date, String beforeAfterMarket, String currency, BigDecimal actual, BigDecimal estimate, BigDecimal difference, BigDecimal percent) Creates an instance of aEODCalendarEarningsEntryResponserecord class.- Parameters:
code- the value for thecoderecord componentreportDate- the value for thereportDaterecord componentdate- the value for thedaterecord componentbeforeAfterMarket- the value for thebeforeAfterMarketrecord componentcurrency- the value for thecurrencyrecord componentactual- the value for theactualrecord componentestimate- the value for theestimaterecord componentdifference- the value for thedifferencerecord componentpercent- the value for thepercentrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
code
-
reportDate
Returns the value of thereportDaterecord component.- Returns:
- the value of the
reportDaterecord component
-
date
-
beforeAfterMarket
Returns the value of thebeforeAfterMarketrecord component.- Returns:
- the value of the
beforeAfterMarketrecord component
-
currency
-
actual
-
estimate
-
difference
Returns the value of thedifferencerecord component.- Returns:
- the value of the
differencerecord component
-
percent
-