Exemplo n.º 1
0
 public function process(OrderInterface $order)
 {
     $order->setCheckoutState(OrderCheckoutStates::STATE_ADDRESSED);
     $this->orderShipmentProcessor->process($order);
 }
Exemplo n.º 2
0
 public function init(GenericEvent $event)
 {
     $cart = $event->getSubject();
     $this->orderInitProcessor->process($cart);
 }
Exemplo n.º 3
0
 public function update(ResourceControllerEvent $event)
 {
     if ($event->getSubject() instanceof OrderInterface) {
         $this->trackingProcessor->process($event->getSubject());
     }
 }