SoftToy(string name, double price, string manufacturerName, int ageLimit, EnMaterialSoftToy material, EnFillerSoftToy filler, BaseInfoAboutGood bsInfo) : base(name, price, manufacturerName, ageLimit) { this.material = material; this.filler = filler; this.bsInfo = bsInfo; }
public SoftToy(SoftToyBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit()) { material = builder.GetMaterial(); filler = builder.GetFiller(); bsInfo = builder.GetBsInfo(); }
public SoftToyBuilder SetFiller(EnFillerSoftToy filler) { this.filler = filler; return(this); }