Record Class CreateMandateRequestModel
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.be.fluvius.client.model.CreateMandateRequestModel
public record CreateMandateRequestModel(@Nullable String referenceNumber, @Nullable String eanNumber, @Nullable String dataServiceType, @Nullable String dataPeriodFrom, @Nullable String dataPeriodTo, @Nullable String status, @Nullable String mandateExpirationDate, @Nullable String renewalStatus)
extends Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataPeriodFromrecord component.Returns the value of thedataPeriodTorecord component.Returns the value of thedataServiceTyperecord component.Returns the value of theeanNumberrecord 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 themandateExpirationDaterecord component.Returns the value of thereferenceNumberrecord component.Returns the value of therenewalStatusrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateMandateRequestModel
public CreateMandateRequestModel(@Nullable String referenceNumber, @Nullable String eanNumber, @Nullable String dataServiceType, @Nullable String dataPeriodFrom, @Nullable String dataPeriodTo, @Nullable String status, @Nullable String mandateExpirationDate, @Nullable String renewalStatus) Creates an instance of aCreateMandateRequestModelrecord class.- Parameters:
referenceNumber- the value for thereferenceNumberrecord componenteanNumber- the value for theeanNumberrecord componentdataServiceType- the value for thedataServiceTyperecord componentdataPeriodFrom- the value for thedataPeriodFromrecord componentdataPeriodTo- the value for thedataPeriodTorecord componentstatus- the value for thestatusrecord componentmandateExpirationDate- the value for themandateExpirationDaterecord componentrenewalStatus- the value for therenewalStatusrecord 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). -
referenceNumber
Returns the value of thereferenceNumberrecord component.- Returns:
- the value of the
referenceNumberrecord component
-
eanNumber
Returns the value of theeanNumberrecord component.- Returns:
- the value of the
eanNumberrecord component
-
dataServiceType
Returns the value of thedataServiceTyperecord component.- Returns:
- the value of the
dataServiceTyperecord component
-
dataPeriodFrom
Returns the value of thedataPeriodFromrecord component.- Returns:
- the value of the
dataPeriodFromrecord component
-
dataPeriodTo
Returns the value of thedataPeriodTorecord component.- Returns:
- the value of the
dataPeriodTorecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
mandateExpirationDate
Returns the value of themandateExpirationDaterecord component.- Returns:
- the value of the
mandateExpirationDaterecord component
-
renewalStatus
Returns the value of therenewalStatusrecord component.- Returns:
- the value of the
renewalStatusrecord component
-