Package net.finmath.pontes.erc7573
Record Class PontesPaymentClaimAction
java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesPaymentClaimAction
- All Implemented Interfaces:
Serializable
public record PontesPaymentClaimAction(PontesPaymentClaimState fromState, PontesPaymentClaimState toState, String action, String reason, Instant at)
extends Record
implements Serializable
Durable audit entry for a manual payment-claim recovery decision.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPontesPaymentClaimAction(PontesPaymentClaimState fromState, PontesPaymentClaimState toState, String action, String reason, Instant at) Creates an instance of aPontesPaymentClaimActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.at()Returns the value of theatrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefromStaterecord component.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.toState()Returns the value of thetoStaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PontesPaymentClaimAction
public PontesPaymentClaimAction(PontesPaymentClaimState fromState, PontesPaymentClaimState toState, String action, String reason, Instant at) Creates an instance of aPontesPaymentClaimActionrecord class.- Parameters:
fromState- the value for thefromStaterecord componenttoState- the value for thetoStaterecord componentaction- the value for theactionrecord componentreason- the value for thereasonrecord componentat- the value for theatrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
fromState
Returns the value of thefromStaterecord component.- Returns:
- the value of the
fromStaterecord component
-
toState
Returns the value of thetoStaterecord component.- Returns:
- the value of the
toStaterecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
at
Returns the value of theatrecord component.- Returns:
- the value of the
atrecord component
-