LineVatAmountDto class
Amount per tax rate and line item.
Constructors
- LineVatAmountDto({required double percentage, required double inclVat, required double exclVat, required double vat, String? groupId})
-
LineVatAmountDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- exclVat ↔ double
-
Net amount for this tax rate.
A precision of 5 decimal places is used.
read / write
- groupId ↔ String?
-
Id of the VAT defined in the data VatAmounts. Must references a groupId defined in Data.VatAmounts.
A vat Id is required if custom VAT naming is required.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- inclVat ↔ double
-
Gross amount for this tax rate.
A precision of 5 decimal places is used.
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.
A precision of 5 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