InvoiceNotice class

Ein Hinweis an einer erfolgreichen Antwort — kein Fehler, nur etwas, das der Aufrufer wissen sollte. Die Codes stehen in invoiceNoticeCodes.

code und message sind beide Pflicht — fehlt eines, ist es kein Hinweis: InvoiceNotice.fromJson wirft dann, und die Aufrufe von InvoiceApi übergehen den Eintrag (die Rechnung ist da schon ausgestellt).

Constructors

InvoiceNotice({required String code, required String message, String? reservationId})
const
InvoiceNotice.fromJson(Map<String, dynamic> j)
factory

Properties

code → String
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
reservationId → String?
Bei reservation_expired: die abgelaufene Reservierung.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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>
reservationId steht nur an reservation_expired.