Record Class AccountLedgerReportDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.account.AccountLedgerReportDTO
- Record Components:
aggregation- aggregation intervalpoints- exact or aggregated pointssummary- report summary
public record AccountLedgerReportDTO(AccountLedgerAggregation aggregation, List<AccountLedgerPointDTO> points, AccountLedgerSummaryDTO summary)
extends Record
Account-ledger chart report.
- Version:
- 3.0.1
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionAccountLedgerReportDTO(AccountLedgerAggregation aggregation, List<AccountLedgerPointDTO> points, AccountLedgerSummaryDTO summary) Creates an instance of aAccountLedgerReportDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.points()Returns the value of thepointsrecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountLedgerReportDTO
public AccountLedgerReportDTO(AccountLedgerAggregation aggregation, List<AccountLedgerPointDTO> points, AccountLedgerSummaryDTO summary) Creates an instance of aAccountLedgerReportDTOrecord class.- Parameters:
aggregation- the value for theaggregationrecord componentpoints- the value for thepointsrecord componentsummary- the value for thesummaryrecord 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). -
aggregation
Returns the value of theaggregationrecord component.- Returns:
- the value of the
aggregationrecord component
-
points
-
summary
-