RecordStockLossRequest class

Abgang (recordStockLoss: Bruch, Schwund, Entnahme …). Ueberzieht nie (exceeds_stock). reason: 'other' braucht note (note_required), reason: 'withdrawal' braucht withdrawalType (withdrawal_type_required).

Constructors

RecordStockLossRequest({required String idempotencyKey, required String reason, required List<StockItem> items, String? withdrawalType, String? condition, String? locationId, String? note})
const

Properties

condition → String?
Aus welchem Zustand (stockConditions); Vorgabe sellable.
final
hashCode → int
The hash code for this object.
no setterinherited
idempotencyKey → String
final
items → List<StockItem>
final
locationId → String?
final
note → String?
final
reason → String
Ein Wert aus stockLossReasons.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withdrawalType → String?
Ein Wert aus withdrawalTypes.
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