ConfiguredPriceInterface.php 642 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Catalog\Pricing\Price;
  7. use Magento\Catalog\Model\Product\Configuration\Item\ItemInterface;
  8. /**
  9. * Configured price interface.
  10. */
  11. interface ConfiguredPriceInterface
  12. {
  13. /**
  14. * Price type configured.
  15. */
  16. const CONFIGURED_PRICE_CODE = 'configured_price';
  17. /**
  18. * Regular price type configured.
  19. */
  20. const CONFIGURED_REGULAR_PRICE_CODE = 'configured_regular_price';
  21. /**
  22. * @param ItemInterface $item
  23. * @return $this
  24. */
  25. public function setItem(ItemInterface $item);
  26. }