PurchaseOrderData class
Constructors
-
PurchaseOrderData({required String id, required String vendorId, required String vendorName, required String number, required DateTime? requestDate, required DateTime? eta, required String vendorContact, required String branchId, required String warehouseId, required bool recurring, required List<
PurchaseOrderDetail> purchaseOrderDetails})
Properties
- branchId → String
-
final
- eta → DateTime?
-
final
-
fullPurchaseOrderDetails
→ List<
PurchaseOrderDetail> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- number → String
-
final
-
purchaseOrderDetails
→ List<
PurchaseOrderDetail> -
no setter
- recurring → bool
-
final
- requestDate → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PurchaseOrderStatus
-
no setter
- totalQuantityReceived → Decimal
-
no setter
- vendorContact → String
-
final
- vendorId → String
-
final
- vendorName → String
-
final
- warehouseId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
receive(
{required String employeeInitials, String documentId = "", DateTime? receiveDate}) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → PurchaseOrderData -
getPurchaseOrderData(
) → Future< List< PurchaseOrderData> > -
receivePurchaseOrder(
{required String employeeInitials, required String poId, String documentId = "", DateTime? receiveDate, required List< PurchaseOrderReceiveData> receiveDetails}) → Future<bool>