DVSaleLine class

One line of a sale, with what was taken off it and what was taxed on it.

Constructors

DVSaleLine({required String reference, required String productId, required DVTaxCategory category, required DVMoney amount, required DVMoney discount, required DVMoney taxable, required DVMoney tax})
const

Properties

amount → DVMoney
Before discounts.
final
category → DVTaxCategory
final
discount → DVMoney
final
hashCode → int
The hash code for this object.
no setterinherited
productId → String
final
reference → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tax → DVMoney
final
taxable → DVMoney
final

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