internal Product(string code, string name, DrugTerminology terminology, long?groupId, string groupName) { Reference = new RxProduct.Reference(code, name, terminology); Group = groupId.HasValue ? new RxProduct.Grouping(groupId.Value, groupName) : RxProduct.Grouping.Empty; }
public ProductBuilder WithGroup(RxProduct.Grouping group) { this.group = group; return(this); }