Record Class BzstDipTaxes

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

public record BzstDipTaxes(BzstDipMonetaryAmount taxesQuarter1, BzstDipMonetaryAmount taxesQuarter2, BzstDipMonetaryAmount taxesQuarter3, BzstDipMonetaryAmount taxesQuarter4) extends Record
From Model Rules for Reporting by Digital Platform Operators:

The Taxes element specifies the taxes that a Reporting Platform Operator has withheld in respect of a Reportable Seller. It is further split into four elements, representing the quarters in respect of which reporting of taxes withheld by the Reporting Platform Operator.

  • Constructor Details

    • BzstDipTaxes

      public BzstDipTaxes(BzstDipMonetaryAmount taxesQuarter1, BzstDipMonetaryAmount taxesQuarter2, BzstDipMonetaryAmount taxesQuarter3, BzstDipMonetaryAmount taxesQuarter4)
      Creates an instance of a BzstDipTaxes record class.
      Parameters:
      taxesQuarter1 - the value for the taxesQuarter1 record component
      taxesQuarter2 - the value for the taxesQuarter2 record component
      taxesQuarter3 - the value for the taxesQuarter3 record component
      taxesQuarter4 - the value for the taxesQuarter4 record component
  • Method Details

    • toXmlType

      public TaxesType 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.
    • taxesQuarter1

      public BzstDipMonetaryAmount taxesQuarter1()
      Returns the value of the taxesQuarter1 record component.
      Returns:
      the value of the taxesQuarter1 record component
    • taxesQuarter2

      public BzstDipMonetaryAmount taxesQuarter2()
      Returns the value of the taxesQuarter2 record component.
      Returns:
      the value of the taxesQuarter2 record component
    • taxesQuarter3

      public BzstDipMonetaryAmount taxesQuarter3()
      Returns the value of the taxesQuarter3 record component.
      Returns:
      the value of the taxesQuarter3 record component
    • taxesQuarter4

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