DVTaxLine class

One line of a sale, as tax sees it.

Constructors

DVTaxLine({required String reference, required DVMoney amount, required DVTaxCategory category, DVMoney? discount})

Properties

amount → DVMoney
The line's price before any discount, in minor units.
final
category → DVTaxCategory
final
discount → DVMoney
What promotions took off this line.
final
hashCode → int
The hash code for this object.
no setterinherited
net → DVMoney
What the customer is charged for the line before tax is added.
no setter
reference → String
The application's name for the line, echoed on the quote.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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