public PurchaseOrder( Customer customer, IEnumerable <Product> lineItems, ICustomerRepository customerRepository, IShippingSlipGenerator shippingSlipGenerator, IMapper mapper) { Customer = customer; LineItems = lineItems; _customerRepository = customerRepository; _shippingSlipGenerator = shippingSlipGenerator; _mapper = mapper; }
public PhysicalProductRule(IShippingSlipGenerator shippingSlipGenerator) { _shippingSlipGenerator = shippingSlipGenerator; }
public PurchaseOrderProcessor(ICustomerRepository customerRepository, IShippingSlipGenerator shippingSlipGenerator) { _customerRepository = customerRepository; _shippingSlipGenerator = shippingSlipGenerator; }