Record Class CustomerTransaction
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.fi.fingrid.client.model.CustomerTransaction
public record CustomerTransaction(String additionalIdentification, String companyName, String customerIdentification, String customerIdentificationType, String customerSubtype, String customerType, ZonedDateTime dateOfBirth, String emailAddress, String familyName, String givenName, boolean isInformationRestricted, String language, String middleNames, String telephoneNumber, CustomerPostalAddress customerPostalAddress, List<Agreements> agreements)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCustomerTransaction(String additionalIdentification, String companyName, String customerIdentification, String customerIdentificationType, String customerSubtype, String customerType, ZonedDateTime dateOfBirth, String emailAddress, String familyName, String givenName, boolean isInformationRestricted, String language, String middleNames, String telephoneNumber, CustomerPostalAddress customerPostalAddress, List<Agreements> agreements) Creates an instance of aCustomerTransactionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalIdentificationrecord component.Returns the value of theagreementsrecord component.Returns the value of thecompanyNamerecord component.Returns the value of thecustomerIdentificationrecord component.Returns the value of thecustomerIdentificationTyperecord component.Returns the value of thecustomerPostalAddressrecord component.Returns the value of thecustomerSubtyperecord component.Returns the value of thecustomerTyperecord component.Returns the value of thedateOfBirthrecord component.Returns the value of theemailAddressrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefamilyNamerecord component.Returns the value of thegivenNamerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisInformationRestrictedrecord component.language()Returns the value of thelanguagerecord component.Returns the value of themiddleNamesrecord component.Returns the value of thetelephoneNumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CustomerTransaction
public CustomerTransaction(String additionalIdentification, String companyName, String customerIdentification, String customerIdentificationType, String customerSubtype, String customerType, ZonedDateTime dateOfBirth, String emailAddress, String familyName, String givenName, boolean isInformationRestricted, String language, String middleNames, String telephoneNumber, CustomerPostalAddress customerPostalAddress, List<Agreements> agreements) Creates an instance of aCustomerTransactionrecord class.- Parameters:
additionalIdentification- the value for theadditionalIdentificationrecord componentcompanyName- the value for thecompanyNamerecord componentcustomerIdentification- the value for thecustomerIdentificationrecord componentcustomerIdentificationType- the value for thecustomerIdentificationTyperecord componentcustomerSubtype- the value for thecustomerSubtyperecord componentcustomerType- the value for thecustomerTyperecord componentdateOfBirth- the value for thedateOfBirthrecord componentemailAddress- the value for theemailAddressrecord componentfamilyName- the value for thefamilyNamerecord componentgivenName- the value for thegivenNamerecord componentisInformationRestricted- the value for theisInformationRestrictedrecord componentlanguage- the value for thelanguagerecord componentmiddleNames- the value for themiddleNamesrecord componenttelephoneNumber- the value for thetelephoneNumberrecord componentcustomerPostalAddress- the value for thecustomerPostalAddressrecord componentagreements- the value for theagreementsrecord component
-
-
Method Details
-
meteringPointEANs
-
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 '=='. -
additionalIdentification
Returns the value of theadditionalIdentificationrecord component.- Returns:
- the value of the
additionalIdentificationrecord component
-
companyName
Returns the value of thecompanyNamerecord component.- Returns:
- the value of the
companyNamerecord component
-
customerIdentification
Returns the value of thecustomerIdentificationrecord component.- Returns:
- the value of the
customerIdentificationrecord component
-
customerIdentificationType
Returns the value of thecustomerIdentificationTyperecord component.- Returns:
- the value of the
customerIdentificationTyperecord component
-
customerSubtype
Returns the value of thecustomerSubtyperecord component.- Returns:
- the value of the
customerSubtyperecord component
-
customerType
Returns the value of thecustomerTyperecord component.- Returns:
- the value of the
customerTyperecord component
-
dateOfBirth
Returns the value of thedateOfBirthrecord component.- Returns:
- the value of the
dateOfBirthrecord component
-
emailAddress
Returns the value of theemailAddressrecord component.- Returns:
- the value of the
emailAddressrecord component
-
familyName
Returns the value of thefamilyNamerecord component.- Returns:
- the value of the
familyNamerecord component
-
givenName
Returns the value of thegivenNamerecord component.- Returns:
- the value of the
givenNamerecord component
-
isInformationRestricted
public boolean isInformationRestricted()Returns the value of theisInformationRestrictedrecord component.- Returns:
- the value of the
isInformationRestrictedrecord component
-
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
middleNames
Returns the value of themiddleNamesrecord component.- Returns:
- the value of the
middleNamesrecord component
-
telephoneNumber
Returns the value of thetelephoneNumberrecord component.- Returns:
- the value of the
telephoneNumberrecord component
-
customerPostalAddress
Returns the value of thecustomerPostalAddressrecord component.- Returns:
- the value of the
customerPostalAddressrecord component
-
agreements
Returns the value of theagreementsrecord component.- Returns:
- the value of the
agreementsrecord component
-