public Order(DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike) { DeliveryDate = deliveryDate; RentDate = rentDate; Rentee = rentee; Bike = bike; price = GetPrice(); }
//Constructors public Order(int id, DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike) { ID = id; DeliveryDate = deliveryDate; RentDate = rentDate; Rentee = rentee; Bike = bike; }
public Order(Bike bike, Rentee rentee, DateTime rentDate, DateTime deliveryDate, int id) { Bike = bike; Rentee = rentee; RentDate = rentDate; DeliveryDate = deliveryDate; ID = id; }
public Order(Bike bike, Rentee rentee, DateTime rentDate, DateTime deliveryDate, int id) { this.bike = bike; this.rentee = rentee; this.rentDate = rentDate; this.deliveryDate = deliveryDate; this.id = id; }
public Order(Bike b, Rentee r, DateTime rD, DateTime dD, int id) { Bike = b; Rentee = r; RentDate = rD; DeliveryDate = dD; Id = id; }
public Order(int id, DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike) : this(deliveryDate, rentDate, rentee, bike) { Id = id; }