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 Details

    • BzstDipConsiderations

      public BzstDipConsiderations(BzstDipMonetaryAmount considerationQuarter1, BzstDipMonetaryAmount considerationQuarter2, BzstDipMonetaryAmount considerationQuarter3, BzstDipMonetaryAmount considerationQuarter4)
      Creates an instance of a BzstDipConsiderations record class.
      Parameters:
      considerationQuarter1 - the value for the considerationQuarter1 record component
      considerationQuarter2 - the value for the considerationQuarter2 record component
      considerationQuarter3 - the value for the considerationQuarter3 record component
      considerationQuarter4 - the value for the considerationQuarter4 record component
  • Method Details

    • toXmlType

      public ConsiderationType toXmlType()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • considerationQuarter1

      public BzstDipMonetaryAmount considerationQuarter1()
      Returns the value of the considerationQuarter1 record component.
      Returns:
      the value of the considerationQuarter1 record component
    • considerationQuarter2

      public BzstDipMonetaryAmount considerationQuarter2()
      Returns the value of the considerationQuarter2 record component.
      Returns:
      the value of the considerationQuarter2 record component
    • considerationQuarter3

      public BzstDipMonetaryAmount considerationQuarter3()
      Returns the value of the considerationQuarter3 record component.
      Returns:
      the value of the considerationQuarter3 record component
    • considerationQuarter4

      public BzstDipMonetaryAmount considerationQuarter4()
      Returns the value of the considerationQuarter4 record component.
      Returns:
      the value of the considerationQuarter4 record component