public function attributeMapper(?string $attribute): null|string|callable 	{ 		return match ($attribute) { 			'buyer_id' => $this->getBuyerDetails()->id, 			'product' => function (array $product): bool { 				$savedProduct = $this->getProducts();  				$result = $savedProduct 							->where('note', $product['note'] ?? null) 							->where('wand_id', $product['wand_id'] ?? null) 							->where('brand', $product['brand'] ?? null) 							->where('name', $product['name'] ?? null) 							->where('serial_number', $product['serial_number'] ?? null) 							->where('is_under_warranty', $product['is_under_warranty'] ?? null) 							->first();  				return (bool) $result; 			}, 			default => $attribute, 		}; 	}