Record Class EbillRecipientValidationTask.RecipientValidateInput
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.einvoicingpostfinance.impl.action.validate.EbillRecipientValidationTask.RecipientValidateInput
- Enclosing class:
EbillRecipientValidationTask
public static record EbillRecipientValidationTask.RecipientValidateInput(PrimaryKey recipientId, int total, int current)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientValidateInput(PrimaryKey recipientId, int total, int current) Creates an instance of aRecipientValidateInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcurrent()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therecipientIdrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
RecipientValidateInput
Creates an instance of aRecipientValidateInputrecord class.- Parameters:
recipientId- the value for therecipientIdrecord componenttotal- the value for thetotalrecord componentcurrent- the value for thecurrentrecord 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. -
recipientId
Returns the value of therecipientIdrecord component.- Returns:
- the value of the
recipientIdrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
current
public int current()Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-