Exemplo n.º 1
0
        public override void VisitAddPhysicalOrderCommand(AddOrderCommandBase command)
        {
            var instalmentOrderCommand = (AddInstalmentOrderOrderCommand)command;

            this.ParseCommon(instalmentOrderCommand);
            command.CreateOrder();
            command.Result.CopyHitInfoFrom(instalmentOrderCommand.OldOrder);
        }
Exemplo n.º 2
0
        protected void CreateOrder(AddOrderCommandBase command)
        {
            Order order = command.CreateOrder();

            if (!order.IsOpen)
            {
                this.CreateOrderRelation(order, command);
            }
        }