Record Class AccountLedgerSnapshotBoundaryDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.account.AccountLedgerSnapshotBoundaryDTO
- Record Components:
occurredAt- snapshot timeinclusive- whether position events at the exact time are included
public record AccountLedgerSnapshotBoundaryDTO(LocalDateTime occurredAt, boolean inclusive)
extends Record
Requested point-in-time boundary for an account-ledger pending snapshot.
- Version:
- 3.0.1
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionAccountLedgerSnapshotBoundaryDTO(LocalDateTime occurredAt, boolean inclusive) Creates an instance of aAccountLedgerSnapshotBoundaryDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theinclusiverecord component.Returns the value of theoccurredAtrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountLedgerSnapshotBoundaryDTO
Creates an instance of aAccountLedgerSnapshotBoundaryDTOrecord class.- Parameters:
occurredAt- the value for theoccurredAtrecord componentinclusive- the value for theinclusiverecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
occurredAt
Returns the value of theoccurredAtrecord component.- Returns:
- the value of the
occurredAtrecord component
-
inclusive
-