Beispiel #1
0
 public OrderItemProduct(IOrderProductItem source)
     : base(source, source.Product.Name)
 {
     IntegerAmountPart    = GetFormattedIntegerAmountPart(source.Amount);
     FractionalAmountPart = GetFormattedFractionalAmountPart(source.Amount);
     Price = source.Price;
 }
Beispiel #2
0
 public void AddItem(IOrderProductItem orderItemProduct, int index)
 {
     Items.Insert(index, new OrderItemProduct(orderItemProduct));
 }