public CustomerBase(IValidation <ICustomer> obj, IDiscount dis, IExtraCharge extra) { validation = obj; discount = dis; extracharge = extra; }
public Customer(IValidation <ICustomer> obj, IDiscount dis, IExtraCharge extra, string _CustType) : base(obj, dis, extra) { CustomerType = _CustType; CustomerName = ""; PhoneNumber = ""; BillAmount = 0; BillDate = DateTime.Now; Address = ""; }
public bool CheckOut(IRoom room, IBooking booking, IExtraCharge extraCharge) { DataLayer.CheckOutDB(room, booking, extraCharge); return(true); }
public static void SetExtraCharge(IExtraCharge aExtraCharge) { extraCharge = aExtraCharge; }
public CustomerBase(IValidation <ICustomer> validation, IDiscount discount, IExtraCharge extraCharge) { _validation = validation; _discount = discount; _extraCharge = extraCharge; }
public Customer(IValidation <ICustomer> validation, IDiscount discount, IExtraCharge extraCharge, string customerType) : base(validation, discount, extraCharge) { CustomerType = customerType; }