1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\ConfigurableProduct\Api;
- /**
- * Interface ConfigurableProductManagementInterface
- * @api
- * @since 100.0.2
- */
- interface ConfigurableProductManagementInterface
- {
- /**
- * Generate variation based on same product
- *
- * @param \Magento\Catalog\Api\Data\ProductInterface $product
- * @param \Magento\ConfigurableProduct\Api\Data\OptionInterface[] $options
- * @return \Magento\Catalog\Api\Data\ProductInterface[]
- */
- public function generateVariation(\Magento\Catalog\Api\Data\ProductInterface $product, $options);
- /**
- * Provide the number of product count
- *
- * @param int|null $status
- * @return int
- */
- public function getCount($status = null);
- }
|