'Single order', 'description' => 'Selected order' ]; } public function defineProperties() { return [ 'id' => [ 'title' => 'Order id', 'description' => 'Order id', 'type' => 'string', 'default' => '{{ :id }}' ] ]; } public function onRun() { $this->order = $this->loadOrder(); } protected function loadOrder() { $order = OrderItems::where('order_id', $this->property('id'))->first(); return $order; } }