Record Class BzstDipConsiderations
java.lang.Object
java.lang.Record
software.xdev.bzst.dip.client.model.message.dac7.BzstDipConsiderations
public record BzstDipConsiderations(BzstDipMonetaryAmount considerationQuarter1, BzstDipMonetaryAmount considerationQuarter2, BzstDipMonetaryAmount considerationQuarter3, BzstDipMonetaryAmount considerationQuarter4)
extends Record
From Model Rules for Reporting by Digital Platform
Operators:
This element contains information on the Consideration received by a Reportable Seller in the fourth quarter.
-
Constructor Summary
ConstructorsConstructorDescriptionBzstDipConsiderations(BzstDipMonetaryAmount considerationQuarter1, BzstDipMonetaryAmount considerationQuarter2, BzstDipMonetaryAmount considerationQuarter3, BzstDipMonetaryAmount considerationQuarter4) Creates an instance of aBzstDipConsiderationsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconsiderationQuarter1record component.Returns the value of theconsiderationQuarter2record component.Returns the value of theconsiderationQuarter3record component.Returns the value of theconsiderationQuarter4record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BzstDipConsiderations
public BzstDipConsiderations(BzstDipMonetaryAmount considerationQuarter1, BzstDipMonetaryAmount considerationQuarter2, BzstDipMonetaryAmount considerationQuarter3, BzstDipMonetaryAmount considerationQuarter4) Creates an instance of aBzstDipConsiderationsrecord class.- Parameters:
considerationQuarter1- the value for theconsiderationQuarter1record componentconsiderationQuarter2- the value for theconsiderationQuarter2record componentconsiderationQuarter3- the value for theconsiderationQuarter3record componentconsiderationQuarter4- the value for theconsiderationQuarter4record component
-
-
Method Details
-
toXmlType
-
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). -
considerationQuarter1
Returns the value of theconsiderationQuarter1record component.- Returns:
- the value of the
considerationQuarter1record component
-
considerationQuarter2
Returns the value of theconsiderationQuarter2record component.- Returns:
- the value of the
considerationQuarter2record component
-
considerationQuarter3
Returns the value of theconsiderationQuarter3record component.- Returns:
- the value of the
considerationQuarter3record component
-
considerationQuarter4
Returns the value of theconsiderationQuarter4record component.- Returns:
- the value of the
considerationQuarter4record component
-