private static void CheckOrderLineCommand(BaseProductLineItem item, AddMainOrderLineItemCommand command) { Assert.AreEqual(item.Price, command.ValueLineItem, "Line item value"); Assert.AreEqual(item.VatValue, command.LineItemVatValue, "Line item VAT value"); Assert.AreEqual(item.Quantity, command.Qty, "Line item Qauntity"); Assert.AreEqual(item.ProductMasterId, command.ProductId, "Line item Product ID"); Assert.AreEqual(item.ProductDiscount, command.ProductDiscount, "Line item Product Discount"); }
protected override void ProcessLineItem(BaseProductLineItem item, decimal quantity) { //Not used for OutletVisitNote }
public void Handle(BaseProductLineItem item, decimal quantity) { }