public ServiceBooking(Customer customer, VehicleRegistration vehicleRegistration, DateTime dueDate)
 {
     _customer = customer;
     _vehicleRegistration = vehicleRegistration;
     _dueDate = dueDate;
     _serviceBookingItems = new List<ServiceBookingItem>();
 }
 public ServiceBooking(Customer customer, VehicleRegistration vehicleRegistration, DateTime dueDate, string additionalInformation)
 {
     _customer = customer;
     _vehicleRegistration = vehicleRegistration;
     _dueDate = dueDate;
     _additionalInformation = additionalInformation;
     _serviceBookingItems = new List<ServiceBookingItem>();
 }
 public ServiceOrder(Customer customer, VehicleRegistration vehicleRegistration, string additionalInformation = null)
 {
     _customer = customer;
     _vehicleRegistration = vehicleRegistration;
     _additionalInformation = additionalInformation;
     _serviceOrderItems = new List<ServiceOrderItem>();
     _serviceOrderProduct = new List<ServiceOrderProduct>();
 }
        public PointRedemption(Customer customer)
        {
            if (!customer.IsInActiveMembership)
            {
                throw new ApplicationException(@"Customer is not in active membership");
            }

            _customer = customer;
            _pointRedemptionItems = new List<PointRedemptionItem>();
        }
        public ServiceOrder(ServiceBooking serviceBooking)
        {
            _customer = serviceBooking.Customer;
            _vehicleRegistration = _serviceBooking.VehicleRegistration;
            _additionalInformation = _serviceBooking.AdditionalInformation;

            foreach (var serviceBookingItem in _serviceBooking.ServiceBookingItems)
            {
                AddServiceOrderItem(serviceBookingItem.Service, serviceBookingItem.Price);
            }

            _serviceBooking = serviceBooking;
        }
 public Payment MakePayment(Customer customer, IChargable chargable)
 {
 }
 public PurchaseOrder(Customer customer)
 {
     _customer = customer;
     _purchaseOrderItems = new List<PurchaseOrderItem>();
 }
 public VehicleAlreadyRegisteredException(Customer customer, Vehicle vehicle)
 {
     _customer = customer;
     _vehicle = vehicle;
 }
 public MembershipRegistration(Customer customer)
 {
     _customer = customer;
 }
 public VehicleRegistration(Customer customer, Vehicle vehicle, DateTime expiryDate)
 {
     _registeredTo = customer;
     _registeredVehicle = vehicle;
     _expiryDate = expiryDate;
 }
 public VehicleRegistration(Customer customer, Vehicle vehicle)
 {
     _registeredTo = customer;
     _registeredVehicle = vehicle;
 }