DataVatAmountDto class

Total amount per tax rate.

Inheritance

Constructors

DataVatAmountDto({required double percentage, required double inclVat, required double exclVat, required double vat, String? groupId, String? groupName, required bool isHidden})
DataVatAmountDto.fromJson(Map<String, dynamic> json)
factory

Properties

exclVat double
Net amount for this tax rate. A precision of 2 decimal places is used.
read / write
groupId String?
Id of the VAT defined in the data VatAmounts
read / write
groupName String?
Name of the VAT defined in the data VatAmounts.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
inclVat double
Gross amount for this tax rate. A precision of 2 decimal places is used.
read / write
isHidden bool
This is an optional flag and should only be set to false if the vat amount should not be displayed in the vat amounts table.
read / write
percentage double
Sales tax rate * 100, 19% is shown as 19.00. A precision of 2 decimal places is used.
read / write
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
read-onlyinherited
vat double
Absolute tax amount. InclVat - ExclVat = Vat. A precision of 2 decimal places is used.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited