VoucherCheck class

Stand eines Gutscheins nach dem Code-Eingeben (checkVoucher). Felder, die zur Art nicht passen oder die der Server nicht sendet, sind null.

Constructors

VoucherCheck({required VoucherType type, required VoucherStatus status, required String codeSuffix, int? balanceCents, int? faceValueCents, int? quantity, int? remainingQuantity, int? vatRateBp, VoucherArticle? article, int? discountCents, int? discountPercentBp, VoucherValidity? validity, bool? exempt})
const

Properties

article → VoucherArticle?
final
balanceCents → int?
final
codeSuffix → String
Die letzten vier Zeichen des Codes, fuer Anzeige und Beleg.
final
discountCents → int?
final
discountPercentBp → int?
final
exempt → bool?
Befreit verkauft (Kleinunternehmer beim Verkauf, Satz 0): eine Einloesung verteilt sich anteilig auf alle Saetze des Korbs, auch in einem inzwischen steuerpflichtigen Konto. Fehlt bei aelteren Servern.
final
faceValueCents → int?
final
hashCode → int
The hash code for this object.
no setterinherited
quantity → int?
final
remainingQuantity → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → VoucherStatus
final
type → VoucherType
Eine der vier Arten der neuen Form (VoucherType.isNewForm).
final
validity → VoucherValidity?
final
vatRateBp → int?
Steuersatz in Basispunkten (Einzweck, Leistung).
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