private void sendSlipToWarehouse(IEnumerable <PaymentTags> tags, IPackingSlipBuilder packingSlip) { if (tags.Contains(PaymentTags.PhysicalProduct)) { packingSlip.SendPackingSlipTo(Departments.Warehouse); } }
private void addFirstAidVideo(IEnumerable <PaymentTags> tags, IPackingSlipBuilder packingSlip) { if (tags.Contains(PaymentTags.AddFirstAidVideo)) { packingSlip.AddItemToOrder(productCatalog.GetProductId(FirstAidVideo)); } }
private void sendSlipToRoyalty(IEnumerable <PaymentTags> tags, IPackingSlipBuilder packingSlip) { if (tags.Contains(PaymentTags.Book)) { packingSlip.SendPackingSlipTo(Departments.Royalty); } }