LowestPriceOptionsProviderInterface.php 633 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\ConfigurableProduct\Pricing\Price;
  7. use Magento\Catalog\Api\Data\ProductInterface;
  8. /**
  9. * Retrieve list of products where each product contains lower price than others at least for one possible price type
  10. * @api
  11. * @since 100.1.3
  12. */
  13. interface LowestPriceOptionsProviderInterface
  14. {
  15. /**
  16. * @param ProductInterface $product
  17. * @return \Magento\Catalog\Api\Data\ProductInterface[]
  18. * @since 100.1.3
  19. */
  20. public function getProducts(\Magento\Catalog\Api\Data\ProductInterface $product);
  21. }