Record Class ParticipationMembershipDelta
java.lang.Object
java.lang.Record
oracle.communication.brm.charging.messages.update.ParticipationMembershipDelta
- All Implemented Interfaces:
Serializable
public record ParticipationMembershipDelta(String customerId, String productId, Set<String> previousAgreementIds, Set<String> currentAgreementIds, long eventTime)
extends Record
implements Serializable
The membership transition produced by one participation request.
This is kept on the per-request processing message until the post-commit cache projection runs.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentAgreementIdsrecord component.Returns the value of thecustomerIdrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theeventTimerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepreviousAgreementIdsrecord component.Returns the value of theproductIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParticipationMembershipDelta
public ParticipationMembershipDelta(String customerId, String productId, Set<String> previousAgreementIds, Set<String> currentAgreementIds, long eventTime) Creates an instance of aParticipationMembershipDeltarecord class.- Parameters:
customerId- the value for thecustomerIdrecord componentproductId- the value for theproductIdrecord componentpreviousAgreementIds- the value for thepreviousAgreementIdsrecord componentcurrentAgreementIds- the value for thecurrentAgreementIdsrecord componenteventTime- the value for theeventTimerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
customerId
Returns the value of thecustomerIdrecord component.- Returns:
- the value of the
customerIdrecord component
-
productId
Returns the value of theproductIdrecord component.- Returns:
- the value of the
productIdrecord component
-
previousAgreementIds
Returns the value of thepreviousAgreementIdsrecord component.- Returns:
- the value of the
previousAgreementIdsrecord component
-
currentAgreementIds
Returns the value of thecurrentAgreementIdsrecord component.- Returns:
- the value of the
currentAgreementIdsrecord component
-
eventTime
public long eventTime()Returns the value of theeventTimerecord component.- Returns:
- the value of the
eventTimerecord component
-