-
Method Summary
Performs a purchase of a product from a warehouse.
void
Cancels a logistics order.
Performs a query on the available products based on the given logistics filter.
Tracks the shipment of a logistics order.
-
Method Details
-
buy
Performs a purchase of a product from a warehouse.
- Parameters:
productIO - the product to be purchased
warehouseIO - the warehouse from which to purchase the product
-
query
Performs a query on the available products based on the given logistics filter.
- Parameters:
filterIO - the logistics filter used for querying the products
- Returns:
- an ArrayList of Products that match the given logistics filter
-
cancel
Cancels a logistics order.
- Parameters:
orderIO - the logistics order to be canceled
-
track
Tracks the shipment of a logistics order.
- Parameters:
orderIO - the logistics order to track
- Returns:
- the shipment details of the logistics order