private function applyDiscounts(OrderProduct $product, ?string $code = null, ?string $points = null): void 	{ 		foreach (Discount::checkoutApplicableDiscounts() as $discount) { 			$discountData = DiscountServiceFactory::make($discount)->apply($product, $code, $points);  			if ($discountData) { 				$product->addDiscount($discountData); 			} 		} 	}