Esempio n. 1
0
 public RunningTotal ApplyPrice(Gbp price, params Item[] items) => new RunningTotal(_remainingBasket.Without(items), Total + price);
Esempio n. 2
0
 private RunningTotal(RemainingBasket remainingBasket, Gbp total)
 {
     _remainingBasket = remainingBasket;
     Total            = total;
 }