Interface ProductReferenceTargetStrategy

    • Method Detail

      • getTarget

        ProductModel getTarget​(ProductModel sourceProduct,
                               ProductReferenceModel reference)
        Gets the target product for the given product reference. Should return either the a proposed target product or null if this strategy cannot offer a better target than the default.
        Parameters:
        sourceProduct - the source product
        reference - the product reference
        Returns:
        the target product