Reservation class
Eine Reservierung, wie getReservation, jede schreibende
Reservierungs-Antwort und die Ereignisse reservation.* sie senden.
Constructors
-
Reservation({required String id, String? status, String? reference, List<
ReservationItem> items = const [], String? expiresAt, String? createdAt}) -
const
Properties
- createdAt → String?
-
final
- expiresAt → String?
-
Ablauf, ISO 8601 UTC.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
items
→ List<
ReservationItem> -
final
- reference → String?
-
Eigene Referenz (Bestellnummer);
null= keine.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
Meist ein Wert aus
reservationStatuses;null, wenn keiner gesendet wurde. Ein unbekannter bleibt erhalten.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited