InvoiceItem class

Eine gespeicherte Position: wie gesendet, fehlende Angaben mit ihrem Standardwert.

Constructors

InvoiceItem({required String description, required num quantity, required String unit, required int unitPriceCents, required num vatRate, String kind = 'goods', num? unitPriceMicros, String subtitle = '', num discountPct = 0})
const
InvoiceItem.fromJson(Map<String, dynamic> j)
factory

Properties

description → String
final
discountPct → num
final
hashCode → int
The hash code for this object.
no setterinherited
kind → String
Ware oder Leistung (itemKinds); ohne Angabe goods. Wer Positionen für eine Gutschrift übernimmt, gibt es mit: es entscheidet den Steuerfall.
final
priceInCents → num
Der Preis in Cent, gleich welches Feld ihn trägt.
no setter
quantity → num
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle → String
final
unit → String
Einer von invoiceUnits.
final
unitPriceCents → int
Einzelpreis in ganzen Cent: eine ANZEIGEHILFE, kaufmännisch aus unitPriceMicros gerundet und damit 0, sobald der Preis unter einem halben Cent liegt. Verbindlich sind unitPriceMicros und die Beträge je Position (§ 9.3).
final
unitPriceMicros → num?
Einzelpreis in Mikro-Euro (10⁻⁶ €), der verbindliche Preis. null nur, wenn der Server ihn nicht darstellen konnte (Altbestand mit mehr als sechs Nachkommastellen); ein geratener Wert wäre schlimmer als keiner.
final
vatRate → num
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

Constants

fields → const Set<String>
unitPriceMicros fehlt beim Altbestand, den der Server nicht darstellen kann.