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, String? typeName, VoucherPayout? payout})
-
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
- payout → VoucherPayout?
-
Auszahlung dieses Gutscheins (beim Verkauf eingefroren);
nullohne Sorte. Bei VoucherPayout.never lehnt der Server jede Auszahlung ab (voucher_payout_not_allowed); Einloesen geht unveraendert.final - 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
- typeName → String?
-
Name der Sorte, mit der der Gutschein verkauft wurde (beim Verkauf
eingefroren);
nullohne Sorte.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