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, 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
preisInCent → 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
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