public void SetProductDiscountAndPrice(ProductPrice price) { AssertionConcerns.AssertArugmentNotNull(price, $"{Reasons.NotNullable}: ProductPrice cannot be set to null"); ProductPrice = price; }
public ProductCombination(ProductPrice productPrice, IList <SelectedAttribute> combination) { ProductPrice = productPrice; SelectedAttributes = combination; }