$this->id, 'order_id' => $this->order_id, 'product_category_id' => $this->product_category_id, 'product_category' => OfflineProductCategoryResource::make($this->whenLoaded('productCategory')), 'products_total_amount' => $this->products_total_amount, 'discount_reduction_amount' => $this->discount_reduction_amount, ]; } }