SpecialPriceInterface.php 761 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. /**
  8. * Special price interface
  9. */
  10. interface SpecialPriceInterface
  11. {
  12. /**
  13. * Returns special price
  14. *
  15. * @return float
  16. */
  17. public function getSpecialPrice();
  18. /**
  19. * Returns starting date of the special price
  20. *
  21. * @return mixed
  22. */
  23. public function getSpecialFromDate();
  24. /**
  25. * Returns end date of the special price
  26. *
  27. * @return mixed
  28. */
  29. public function getSpecialToDate();
  30. /**
  31. * @return bool
  32. */
  33. public function isScopeDateInInterval();
  34. /**
  35. * @return bool
  36. */
  37. public function isPercentageDiscount();
  38. }