Beispiel #1
0
 public FamilyRental(IClient client, FamilyRentalInformation information, IList <IRental> rentals)
 {
     this.Client      = client;
     this.Information = information;
     this.Rentals     = rentals;
     this.Payment     = null;
 }
 public RentalOperator(FamilyRentalInformation updatedFamilyRentalInformation,
                       RentalByHour updatedRentalByHour, RentalByDay updatedRentalByDay, RentalByWeek updatedRentalByWeek)
 {
     this.CurrentFamilyRentalInformation = updatedFamilyRentalInformation;
     this.CurrentRentalByHourModality    = updatedRentalByHour;
     this.CurrentRentalByDayModality     = updatedRentalByDay;
     this.CurrentRentalByWeekModality    = updatedRentalByWeek;
 }
 public void UpdateCurrentFamilyRentalInformation(FamilyRentalInformation updatedFamilyRentalInformation)
 {
     this.CurrentFamilyRentalInformation = updatedFamilyRentalInformation;
 }