protected function saveStatus(Order $order, $json) { $status = $order->getStatus(); return $this->execute($this->factoryMap('saveStatus', ['itemId' => $order->getId(), 'status' => $status]), $json); }