Class ShipmentStatusBulkRefreshConsumer
Consumer for bulk shipment status refresh commands
Inheritance
System.Object
ShipmentStatusBulkRefreshConsumer
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ShipmentStatusBulkRefreshConsumer : ConsumerBase<BulkShipmentStatusRefreshCommand>
Constructors
| Improve this Doc View SourceShipmentStatusBulkRefreshConsumer(IKeyValueStore, IShipmentStatusService, ITransportOrderStatusService, ITourTotalsService)
Initializes a new instance of ShipmentStatusBulkRefreshConsumer
Declaration
public ShipmentStatusBulkRefreshConsumer(IKeyValueStore keyValueStore, IShipmentStatusService shipmentStatusService, ITransportOrderStatusService transportOrderStatusService, ITourTotalsService tourTotalsService)
Parameters
Type | Name | Description |
---|---|---|
IKeyValueStore | keyValueStore | |
IShipmentStatusService | shipmentStatusService | |
ITransportOrderStatusService | transportOrderStatusService | |
ITourTotalsService | tourTotalsService |
Methods
| Improve this Doc View SourceExecute(ConsumeContext<BulkShipmentStatusRefreshCommand>)
Consumes a bulk shipment status refresh command to refresh the status of multiple shipments and their transport orders
Declaration
public override async Task Execute(ConsumeContext<BulkShipmentStatusRefreshCommand> context)
Parameters
Type | Name | Description |
---|---|---|
ConsumeContext<BulkShipmentStatusRefreshCommand> | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |