public BasketItem(GoodsItem goodsItem, IDiscount discount) { this._goodsItem = goodsItem; this._discount = discount; }
public BasketItem(GoodsItem goodsItem) { this._goodsItem = goodsItem; this._discount = new NoDiscount(); }