예제 #1
0
 public void constructDocument(InvoiceBuilder invoiceBuilder, Order order, List <ProductDecorator> shoppingCartDecoratorsList, List <Product> shoppingCartList)
 {
     invoiceBuilder.AddReceiptTitle();
     invoiceBuilder.AddSellerInfo();
     invoiceBuilder.AddDate();
     invoiceBuilder.AddPrice(order.Price);
     invoiceBuilder.AddProductsInfo(shoppingCartList.ToList(), shoppingCartDecoratorsList);
 }