Exemplo n.º 1
0
 /// <summary>
 /// 代金を預かる
 /// </summary>
 /// <param name="money"></param>
 public void KeepPayment(IMoney money)
 {
     this._changeStocker.Add(money);
     this._payment += money.GetPrice();
 }
Exemplo n.º 2
0
 /// <summary>
 /// 代金を預かる
 /// </summary>
 /// <param name="money"></param>
 public void KeepPayment(IMoney money)
 {
     this._changeStockerContainer.Supplement(money);
     this._payment += money.GetPrice();
 }