예제 #1
0
 public Bill(int id, Adress billingAddress, Order order)
 {
     this.id             = id;
     this.billingAddress = billingAddress;
     this.order          = order;
 }
예제 #2
0
 public Customer(string firstName, string lastName, string emailAdress, string password, Adress billingAdress = null, Adress deliveryAdress = null, DateTime birthDayDate = default) : base(firstName, lastName, emailAdress, password)
 {
     _billingAdress  = billingAdress;
     _deliveryAdress = deliveryAdress;
     _birthDayDate   = birthDayDate;
 }