public static function generateProductVariantCode(ProductInterface $product, array $productOptions): CodeInterface
    {
        $productVariantCodeGenerator = new ProductVariantCodeGenerator();

        return $productVariantCodeGenerator->generate($product->getCode(), $productOptions);
    }
public static function generateProductVariantCode(ProductInterface $product, array $productOptions): CodeInterface
    {
        $productVariantCodeGenerator = new ProductVariantCodeGenerator();

        return $productVariantCodeGenerator->generate($product->getCode(), $productOptions);
    }
public static function generateProductVariantCode ( ProductInterface $ product , array $ productOptions ) : CodeInterface { $ productVariantCodeGenerator = new ProductVariantCodeGenerator ( ) ; return $ productVariantCodeGenerator -> generate ( $ product -> getCode ( ) , $ productOptions ) ; }
Generate product variant code.

@param ProductInterface $product        Current Product
@param array|Option[]   $productOptions array of Options

@return CodeInterface Generated Code
Generate product variant code .