Record Class BzstDipFees

java.lang.Object
java.lang.Record
software.xdev.bzst.dip.client.model.message.dac7.BzstDipFees

public record BzstDipFees(BzstDipMonetaryAmount feesQuarter1, BzstDipMonetaryAmount feesQuarter2, BzstDipMonetaryAmount feesQuarter3, BzstDipMonetaryAmount feesQuarter4) extends Record
From Model Rules for Reporting by Digital Platform Operators:

The Fees element specifies the fees and commissions that a Reporting Platform Operator has withheld in respect of a Reportable Seller. It is split into four elements, representing the quarters in respect of which the reporting of fees or commissions withheld or charged by the Reporting Platform Operator

  • Constructor Details

    • BzstDipFees

      public BzstDipFees(BzstDipMonetaryAmount feesQuarter1, BzstDipMonetaryAmount feesQuarter2, BzstDipMonetaryAmount feesQuarter3, BzstDipMonetaryAmount feesQuarter4)
      Creates an instance of a BzstDipFees record class.
      Parameters:
      feesQuarter1 - the value for the feesQuarter1 record component
      feesQuarter2 - the value for the feesQuarter2 record component
      feesQuarter3 - the value for the feesQuarter3 record component
      feesQuarter4 - the value for the feesQuarter4 record component
  • Method Details

    • toXmlType

      public FeesType 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.
    • feesQuarter1

      public BzstDipMonetaryAmount feesQuarter1()
      Returns the value of the feesQuarter1 record component.
      Returns:
      the value of the feesQuarter1 record component
    • feesQuarter2

      public BzstDipMonetaryAmount feesQuarter2()
      Returns the value of the feesQuarter2 record component.
      Returns:
      the value of the feesQuarter2 record component
    • feesQuarter3

      public BzstDipMonetaryAmount feesQuarter3()
      Returns the value of the feesQuarter3 record component.
      Returns:
      the value of the feesQuarter3 record component
    • feesQuarter4

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