Record Class BzstCesopReportedPayee
java.lang.Object
java.lang.Record
software.xdev.bzst.dip.client.model.message.cesop.BzstCesopReportedPayee
- Record Components:
name- Name of the reporting payment service providerBzstCesopNamecountryCode- Transferring stateBzstDipCountryCodeaddress- The address of the payee as it appears in the records of the payment service provider.BzstCesopAdresstaxIdentification- Any sales tax identification number or other national tax number of the payee. It is clear from the legal basis that this element must be specified if it is available. Otherwise it can be left blankBzstCesopTAXIdentificationaccountIdentifier- The IBAN of the payees payment account or another identifier that uniquely identifies the payee and indicates its locationBzstCesopAccountIdentifierreportedTransaction- The superordinate element reportedTransaction, in which all payments and payment refunds received for the beneficiary concerned that have been reported by the payment service provider.BzstCesopReportedTransactiondocSpec- Defines data that make it possible to correct payees in the message.BzstCesopDocSpec
public record BzstCesopReportedPayee(BzstCesopName name, BzstDipCountryCode countryCode, BzstCesopAdress address, BzstCesopTAXIdentification taxIdentification, BzstCesopAccountIdentifier accountIdentifier, BzstCesopReportedTransaction reportedTransaction, BzstCesopDocSpec docSpec)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBzstCesopReportedPayee(BzstCesopName name, BzstDipCountryCode countryCode, BzstCesopAdress address, BzstCesopTAXIdentification taxIdentification, BzstCesopAccountIdentifier accountIdentifier, BzstCesopReportedTransaction reportedTransaction, BzstCesopDocSpec docSpec) Creates an instance of aBzstCesopReportedPayeerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdentifierrecord component.address()Returns the value of theaddressrecord component.Returns the value of thecountryCoderecord component.docSpec()Returns the value of thedocSpecrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thereportedTransactionrecord component.Returns the value of thetaxIdentificationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BzstCesopReportedPayee
public BzstCesopReportedPayee(BzstCesopName name, BzstDipCountryCode countryCode, BzstCesopAdress address, BzstCesopTAXIdentification taxIdentification, BzstCesopAccountIdentifier accountIdentifier, BzstCesopReportedTransaction reportedTransaction, BzstCesopDocSpec docSpec) Creates an instance of aBzstCesopReportedPayeerecord class.- Parameters:
name- the value for thenamerecord componentcountryCode- the value for thecountryCoderecord componentaddress- the value for theaddressrecord componenttaxIdentification- the value for thetaxIdentificationrecord componentaccountIdentifier- the value for theaccountIdentifierrecord componentreportedTransaction- the value for thereportedTransactionrecord componentdocSpec- the value for thedocSpecrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
countryCode
Returns the value of thecountryCoderecord component.- Returns:
- the value of the
countryCoderecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
taxIdentification
Returns the value of thetaxIdentificationrecord component.- Returns:
- the value of the
taxIdentificationrecord component
-
accountIdentifier
Returns the value of theaccountIdentifierrecord component.- Returns:
- the value of the
accountIdentifierrecord component
-
reportedTransaction
Returns the value of thereportedTransactionrecord component.- Returns:
- the value of the
reportedTransactionrecord component
-
docSpec
Returns the value of thedocSpecrecord component.- Returns:
- the value of the
docSpecrecord component
-