Example #1
0
        private void OnShowOrderStatesExecute(OrderStateGroup orderStateGroup)
        {
            var orderStateData = new OrderStateData
            {
                SelectedOrders  = SelectedOrders,
                OrderStateGroup = orderStateGroup,
                Ticket          = SelectedTicket
            };

            orderStateData.PublishEvent(EventTopicNames.SelectOrderState);
        }
        private void OnOrderStateSelected(OrderStateButtonViewModel orderState)
        {
            var orderStateData = new OrderStateData
            {
                OrderStateGroup    = SelectedOrderStateData.OrderStateGroup,
                SelectedOrderState = orderState.Model,
                Ticket             = SelectedTicket
            };

            orderStateData.PublishEvent(EventTopicNames.OrderStateSelected, true);

            OrderStates.ToList().ForEach(x => x.Refresh());
        }
Example #3
0
 public OrderCreatedEvent(OrderStateData orderStateData)
 {
     this._orderSagaState = orderStateData;
 }
 public OrderCheckoutSessionCreatedEvent(OrderStateData orderStateData)
 {
     this._orderSagaState = orderStateData;
 }