2020-10-15 03:06:13 +06:30
|
|
|
import 'package:fcs/domain/entities/shipment.dart';
|
|
|
|
|
|
2020-10-16 10:58:31 +06:30
|
|
|
abstract class ShipmentService {
|
2020-10-15 03:06:13 +06:30
|
|
|
Future<void> createShipment(Shipment shipment);
|
2020-10-16 10:58:31 +06:30
|
|
|
Future<void> updateShipment(Shipment shipment);
|
|
|
|
|
Future<void> cancelShipment(Shipment shipment);
|
|
|
|
|
Future<void> confirmShipment(Shipment shipment);
|
2020-10-19 05:13:49 +06:30
|
|
|
Future<void> completeConfirmShipment(Shipment shipment);
|
|
|
|
|
Future<void> completeReceiveShipment(Shipment shipment);
|
2020-10-16 10:58:31 +06:30
|
|
|
Future<void> pickupShipment(Shipment shipment);
|
|
|
|
|
Future<void> receiveShipment(Shipment shipment);
|
2020-10-19 05:13:49 +06:30
|
|
|
Future<void> assignShipment(Shipment shipment);
|
|
|
|
|
Future<void> completeAssignShipment(Shipment shipment);
|
|
|
|
|
Future<void> completePickupShipment(Shipment shipment);
|
|
|
|
|
Future<void> packShipment(Shipment shipment);
|
|
|
|
|
Future<void> completePackShipment(Shipment shipment);
|
2020-10-15 03:06:13 +06:30
|
|
|
}
|