private Customer(RegisteredCustomer registeredCustomer, Basket basket, ImmutableDictionary <string, IPaymentMethod> paymentMethods, IPaymentMethodFactory paymentMethodFactory) : this(registeredCustomer, paymentMethodFactory) { Basket = basket; PaymentMethods = paymentMethods; }
private Customer(RegisteredCustomer registeredCustomer, IPaymentMethodFactory paymentMethodFactory) { _registeredCustomer = registeredCustomer; _paymentMethodFactory = paymentMethodFactory; Basket = Basket.Empty; PaymentMethods = ImmutableDictionary <string, IPaymentMethod> .Empty; }
private Customer() { _registeredCustomer = RegisteredCustomer.None; }