Ejemplo n.º 1
0
 public PurchaseController(IOrder purchase, IOrderComponent purchaseComponent, IOrderProduct purchaseProduct, IOrderInvoice purchaseInvoice, IOrderPayment purchasePayment, IOrderItem purchaseitem)
 {
     _purchase          = purchase;
     _purchaseComponent = purchaseComponent;
     _purchaseProduct   = purchaseProduct;
     _purchaseInvoice   = purchaseInvoice;
     _purchasePayment   = purchasePayment;
     _purchaseItem      = purchaseitem;
 }
Ejemplo n.º 2
0
 public QuotationController(IOrder order, IOrderComponent orderComponent, IOrderProduct orderProduct, IOrderInvoice orderInvoice, IOrderPayment orderPayment, IOrderItem orderitem)
 {
     _quotation          = order;
     _quotationComponent = orderComponent;
     _quotationProduct   = orderProduct;
     _quotationInvoice   = orderInvoice;
     _quotationPayment   = orderPayment;
     _quotationItem      = orderitem;
 }
Ejemplo n.º 3
0
 public OrderController(IOrder order, IOrderComponent orderComponent, IOrderProduct orderProduct,
                        IOrderInvoice orderInvoice, IOrderPayment orderPayment, IOrderItem orderitem, IMakerSheet makerSheet,
                        IOrderService orderService)
 {
     _order          = order;
     _orderComponent = orderComponent;
     _orderProduct   = orderProduct;
     _orderInvoice   = orderInvoice;
     _orderPayment   = orderPayment;
     _orderItem      = orderitem;
     _makerSheet     = makerSheet;
     _orderService   = orderService;
 }
Ejemplo n.º 4
0
 public ApplyRedCard(IOrderPayment orderPayment) : base(orderPayment)
 {
     _price = orderPayment.GetPrice();
 }
Ejemplo n.º 5
0
 public ApplyCouponCode(IOrderPayment orderPayment) : base(orderPayment)
 {
     _price = orderPayment.GetPrice();
 }
Ejemplo n.º 6
0
 public PaymentDecorator(IOrderPayment orderPayment)
 {
     this.orderPayment = orderPayment;
 }