CreateReservationRequest class
Reservieren (createReservation, Checkout im Shop): ganz oder gar nicht.
Fehlt verfuegbarer Bestand an einer Position, entsteht nichts und der
Fehler insufficient_available nennt die fehlenden Positionen
(inventoryShortfalls). Nur bestandsgefuehrte Artikel; gleiche Artikel am
gleichen Standort werden zusammengezaehlt.
Constructors
-
CreateReservationRequest({required String idempotencyKey, required List<
ReservationItemInput> items, String? reference, int? expiresInMinutes}) -
const
Properties
- expiresInMinutes → int?
-
5 … 43 200 Minuten; ohne Angabe die Vorgabe des Kontos (7 Tage).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idempotencyKey → String
-
final
-
items
→ List<
ReservationItemInput> -
1–50 Positionen.
final
- reference → String?
-
1–128 Zeichen;
listReservations(reference: …)findet sie damit.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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited