protected Book(ValidNonEmptyString name, ValidPositiveIntegerNumber uid, USDollarsMoney basePrice) : base(name, uid, basePrice) { }
public void ChangeUidCode(ValidPositiveIntegerNumber newUid) { Uid = newUid.Value; }
public static Product CreateNew(ValidNonEmptyString name, ValidPositiveIntegerNumber uid, USDollarsMoney basePrice) { return(new Book(name, uid, basePrice)); }
protected Product(ValidNonEmptyString name, ValidPositiveIntegerNumber uid, USDollarsMoney basePrice) { Name = name.ToString(); Uid = uid.Value; BasePrice = basePrice; }