public function getCurrentlyApplicableDiscount(): Discount|null 	{ 		return Discount::applicable([Discount::GENERAL_DISCOUNT])->whereHas('items', function ($query) { 			$query->where(function ($query) { 				$query->where('item_id', $this->product_id)->orWhereIn('item_id', $this->product->productCategories()->pluck('category_id')->all()); 			}); 		})->orderByDesc('amount')->orderByDesc('is_percentage')->first(); 	}