public Customer GetBuyer() { if (buyer == null) { List<int> emptyPN = new List<int>(); emptyPN.Add(00000000); List<CustomerAdress> emptyAdress = new List<CustomerAdress>(); emptyAdress.Add(new CustomerAdress("N/A", 0000)); Customer empty = new Customer(0, "N/A", "N/A", emptyPN, emptyAdress); return empty; } return buyer; }
public void SetBuyer(Customer buyer) { this.buyer = buyer; }