public function attributeMapper(?string $attribute): null|string|callable 	{ 		return match ($attribute) { 			'buyer_id' => $this->getBuyerDetails()->id, 			'products' => function (array $products): bool { 				$savedProducts = $this->getProducts();  				foreach ($products as $product) { 					$result = $savedProducts 						->where('note', $product['note'] ?? null) 						->where('wand_id', $product['wand_id'] ?? null) 						->where('brand', $product['brand'] ?? null) 						->where('name', $product['name'] ?? null) 						->where('quantity', $product['quantity'] ?? null) 						->first();  					if (!$result) { 						return false; 					} 				}  				return true; 			}, 			default => $attribute, 		}; 	}