Interface ITourShipmentService
Tour shipment service
Inherited Members
Namespace: Simplic.Logistics
Assembly: Simplic.Logistics.dll
Syntax
public interface ITourShipmentService : ITourShipmentRepository
Methods
| Improve this Doc View SourceCreateTourShipments(Guid, IList<Guid>)
Create tour shipments from tour guid and shipment guids
Declaration
IList<TourShipment> CreateTourShipments(Guid tourGuid, IList<Guid> shipmentGuids)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | tourGuid | Tour guid |
System.Collections.Generic.IList<System.Guid> | shipmentGuids | Shipments guids |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<TourShipment> | List of tour shipments |
OverrideLoadDeliveryAddress(Guid, IList<TourShipment>, Boolean)
Override the load and delivery address by using the assigned shipments
Declaration
void OverrideLoadDeliveryAddress(Guid tourGuid, IList<TourShipment> tourShipments, bool clearIfNoShipment)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | tourGuid | Unique tour id |
System.Collections.Generic.IList<TourShipment> | tourShipments | Shipments |
System.Boolean | clearIfNoShipment | If set to true and no shipment is set, the address fields will be cleared |