Record Class CreateDunningRunPersistTask.DunningRunBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.debitor.api.action.CreateDunningRunPersistTask.DunningRunBean
- Enclosing class:
CreateDunningRunPersistTask
public static record CreateDunningRunPersistTask.DunningRunBean(Iterable<CreateDunningRunPersistTask.DebitorAddressChange> openDebitors, Iterable<Entity> openNonMaxedDebitors, org.joda.time.DateTime dunningDate, org.joda.time.LocalDate paymentDeadline, Optional<org.joda.time.LocalDate> fromDateOverride, String maturityDateCalculationType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDunningRunBean(Iterable<CreateDunningRunPersistTask.DebitorAddressChange> openDebitors, Iterable<Entity> openNonMaxedDebitors, org.joda.time.DateTime dunningDate, org.joda.time.LocalDate paymentDeadline, Optional<org.joda.time.LocalDate> fromDateOverride, String maturityDateCalculationType) Creates an instance of aDunningRunBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeReturns the value of thedunningDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Optional<org.joda.time.LocalDate> Returns the value of thefromDateOverriderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thematurityDateCalculationTyperecord component.Returns the value of theopenDebitorsrecord component.Returns the value of theopenNonMaxedDebitorsrecord component.org.joda.time.LocalDateReturns the value of thepaymentDeadlinerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DunningRunBean
public DunningRunBean(Iterable<CreateDunningRunPersistTask.DebitorAddressChange> openDebitors, Iterable<Entity> openNonMaxedDebitors, org.joda.time.DateTime dunningDate, org.joda.time.LocalDate paymentDeadline, Optional<org.joda.time.LocalDate> fromDateOverride, String maturityDateCalculationType) Creates an instance of aDunningRunBeanrecord class.- Parameters:
openDebitors- the value for theopenDebitorsrecord componentopenNonMaxedDebitors- the value for theopenNonMaxedDebitorsrecord componentdunningDate- the value for thedunningDaterecord componentpaymentDeadline- the value for thepaymentDeadlinerecord componentfromDateOverride- the value for thefromDateOverriderecord componentmaturityDateCalculationType- the value for thematurityDateCalculationTyperecord 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). -
openDebitors
Returns the value of theopenDebitorsrecord component.- Returns:
- the value of the
openDebitorsrecord component
-
openNonMaxedDebitors
-
dunningDate
public org.joda.time.DateTime dunningDate()Returns the value of thedunningDaterecord component.- Returns:
- the value of the
dunningDaterecord component
-
paymentDeadline
public org.joda.time.LocalDate paymentDeadline()Returns the value of thepaymentDeadlinerecord component.- Returns:
- the value of the
paymentDeadlinerecord component
-
fromDateOverride
Returns the value of thefromDateOverriderecord component.- Returns:
- the value of the
fromDateOverriderecord component
-
maturityDateCalculationType
Returns the value of thematurityDateCalculationTyperecord component.- Returns:
- the value of the
maturityDateCalculationTyperecord component
-