public ProcessedOrder(IDeliveryService Service, List <IProduct> Products, IShippingLocation Location) : base(Service, Products, Location) { this.DeliveryService = Service; this.Products = Products; this.ShippingLocation = Location; }
/// <summary> /// Used to caclulate the cost of shipping a list of products to a location using a delivery service /// </summary> /// <param name="Service"></param> /// <param name="Products"></param> /// <param name="Location"></param> public DefaultShippingService(IDeliveryService Service, List <IProduct> Products, IShippingLocation Location) { DeliveryService = Service; this.Products = Products; ShippingLocation = Location; this.ShippingLocation.StartZipCode = 60605; this.ShippingLocation.DestinationZipCode = 60805; }
/// <summary> /// Used to caclulate the cost of shipping a list of products to a location using a delivery service /// </summary> /// <param name="Service"></param> /// <param name="Products"></param> /// <param name="Location"></param> public DefaultShippingService(IDeliveryService Service, List <IProduct> Products, IShippingLocation Location) { DeliveryService = Service; ShippingLocation = Location; this.Products = Products; }
public CarrierPigeonService(IDeliveryService Service, List <IProduct> Products, IShippingLocation Location) : base(Service, Products, Location) { }
public EuropeanSwallowFakeShippingService(IDeliveryService Service, List <IProduct> Products, IShippingLocation Location) : base(Service, Products, Location) { this.Products = Products; this.ShippingLocation.StartZipCode = 6450; }