AttributeOptionLabelInterface.php 801 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Eav\Api\Data;
  8. /**
  9. * Interface AttributeOptionLabelInterface
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface AttributeOptionLabelInterface
  14. {
  15. const LABEL = 'label';
  16. const STORE_ID = 'store_id';
  17. /**
  18. * Get store id
  19. *
  20. * @return int|null
  21. */
  22. public function getStoreId();
  23. /**
  24. * Set store id
  25. *
  26. * @param int $storeId
  27. * @return $this
  28. */
  29. public function setStoreId($storeId);
  30. /**
  31. * Get option label
  32. *
  33. * @return string|null
  34. */
  35. public function getLabel();
  36. /**
  37. * Set option label
  38. *
  39. * @param string $label
  40. * @return $this
  41. */
  42. public function setLabel($label);
  43. }