DownloadableOptionInterface.php 623 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Downloadable\Api\Data;
  7. /**
  8. * Downloadable Option
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface DownloadableOptionInterface
  13. {
  14. const DOWNLOADABLE_LINKS = 'downloadable_links';
  15. /**
  16. * Returns the list of downloadable links
  17. *
  18. * @return int[]
  19. */
  20. public function getDownloadableLinks();
  21. /**
  22. * Sets the list of downloadable links
  23. *
  24. * @param int[] $downloadableLinks
  25. * @return $this
  26. */
  27. public function setDownloadableLinks($downloadableLinks);
  28. }