SelectionPriceListProviderInterface.php 618 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Bundle\Pricing\Adjustment;
  7. use Magento\Catalog\Model\Product;
  8. /**
  9. * Provide list of bundle selection prices
  10. * @api
  11. * @since 100.2.0
  12. */
  13. interface SelectionPriceListProviderInterface
  14. {
  15. /**
  16. * @param Product $bundleProduct
  17. * @param boolean $searchMin
  18. * @param boolean $useRegularPrice
  19. * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[]
  20. * @since 100.2.0
  21. */
  22. public function getPriceList(Product $bundleProduct, $searchMin, $useRegularPrice);
  23. }