InvoiceTotals class
Summen einer Rechnung in Cent, immer positiv — auch bei einer
Gutschrift (docType: 'GU'); das Vorzeichen steht im Belegtyp, nicht im
Betrag. Gerechnet wird je Satz wie in rechnungSummen.
Constructors
-
InvoiceTotals({required int netCents, required int vatCents, required int grossCents, List<
VatRateTotal> byRate = const []}) -
const
-
InvoiceTotals.fromJson(Map<
String, dynamic> j) -
factory
Properties
-
byRate
→ List<
VatRateTotal> -
Je USt-Satz, absteigend.
final
- grossCents → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- netCents → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vatCents → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Dieselbe Form wie
totalsin den Antworten. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited