ReturnIssuedVoucher class
Gutschein aus einer Rueckgabe in der Antwort von cancelReceipt
(data.issuedVouchers[], npm ReturnIssuedVoucher). Beim ersten Mal mit
Klartext-Code code; bei einer Wiederholung mit demselben
idempotencyKey ohne Code, dafuer reprintRequired (der Zettel kommt
dann ueber den Nachdruck). Nachsichtig gelesen: der Storno ist schon
signiert, ein schiefes Feld darf ihn nie kosten.
Constructors
- ReturnIssuedVoucher({required String id, String? code, String? codeSuffix, int? faceValueCents, String? typeId, String? typeName, VoucherValidity? validity, bool fromReturn = false, bool reprintRequired = false})
-
const
Properties
- code → String?
-
Klartext-Code; nie protokollieren, nie in eine Fehlermeldung.
final
- codeSuffix → String?
-
final
- faceValueCents → int?
-
final
- fromReturn → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- reprintRequired → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeId → String?
-
final
- typeName → String?
-
final
- validity → VoucherValidity?
-
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
Static Methods
-
fromJson(
Object? json) → ReturnIssuedVoucher?