Example #1
0
 public StudentTicket(ScheduleItem scheduleItem, Seat seat, double discount) : base(scheduleItem, seat)
 {
     this.Discount = discount;
     this.Price    = CalcPrice();
 }
Example #2
0
 public Ticket(ScheduleItem scheduleItem, Seat seat)
 {
     this.ScheduleItem = scheduleItem;
     this.Seat         = seat;
     this.Price        = CalcPrice();
 }