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