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 Summary
ConstructorsConstructorDescriptionBzstDipTaxes(BzstDipMonetaryAmount taxesQuarter1, BzstDipMonetaryAmount taxesQuarter2, BzstDipMonetaryAmount taxesQuarter3, BzstDipMonetaryAmount taxesQuarter4) Creates an instance of aBzstDipTaxesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetaxesQuarter1record component.Returns the value of thetaxesQuarter2record component.Returns the value of thetaxesQuarter3record component.Returns the value of thetaxesQuarter4record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BzstDipTaxes
public BzstDipTaxes(BzstDipMonetaryAmount taxesQuarter1, BzstDipMonetaryAmount taxesQuarter2, BzstDipMonetaryAmount taxesQuarter3, BzstDipMonetaryAmount taxesQuarter4) Creates an instance of aBzstDipTaxesrecord class.- Parameters:
taxesQuarter1- the value for thetaxesQuarter1record componenttaxesQuarter2- the value for thetaxesQuarter2record componenttaxesQuarter3- the value for thetaxesQuarter3record componenttaxesQuarter4- the value for thetaxesQuarter4record 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). -
taxesQuarter1
Returns the value of thetaxesQuarter1record component.- Returns:
- the value of the
taxesQuarter1record component
-
taxesQuarter2
Returns the value of thetaxesQuarter2record component.- Returns:
- the value of the
taxesQuarter2record component
-
taxesQuarter3
Returns the value of thetaxesQuarter3record component.- Returns:
- the value of the
taxesQuarter3record component
-
taxesQuarter4
Returns the value of thetaxesQuarter4record component.- Returns:
- the value of the
taxesQuarter4record component
-