SummenPosition class abstract interface

Was für die Summe einer Rechnung zählt (rechnungSummen) — InvoiceItemInput erfüllt es unverändert.

Implementers

Constructors

SummenPosition({required num quantity, num? unitPriceCents, num? unitPriceMicros, required num vatRate, num? discountPct})
const
factory

Properties

discountPct → num?
no setter
hashCode → int
The hash code for this object.
no setterinherited
preisInCent → num
Der Preis in Cent, gleich welches Feld ihn trägt — unitPriceMicros zählt dabei als Zehntausendstel Cent. Wer rechnet, nimmt das hier und nicht eines der beiden Felder: sonst stünde die Fallunterscheidung an jeder Rechenstelle, und eine davon vergäße man.
no setter
quantity → num
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unitPriceCents → num?
Einzelpreis in ganzen Cent — null, wenn die Position ihren Preis in Mikro-Euro trägt (genau eines von beiden, § 9.1 der Ganzzahl-Spec).
no setter
unitPriceMicros → num?
Einzelpreis in Mikro-Euro (10⁻⁶ €), für Preise unterhalb eines Cents.
no setter
vatRate → num
Der USt-Satz in Prozent. Als num, weil es Saetze mit Nachkommastelle gibt (4,9 % Grundnahrungsmittel ab 01.07.2026).
no setter

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