FakeAttributeMetadataInterface.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\TestModuleExtensionAttributes\Api\Data;
  8. /**
  9. * Customer attribute metadata interface.
  10. */
  11. interface FakeAttributeMetadataInterface extends \Magento\Framework\Api\MetadataObjectInterface
  12. {
  13. /**#@+
  14. * Constants used as keys of data array
  15. */
  16. const ATTRIBUTE_CODE = 'attribute_code';
  17. const STORE_LABEL = 'store_label';
  18. const FRONTEND_LABEL = 'frontend_label';
  19. const NOTE = 'note';
  20. /**#@-*/
  21. /**
  22. * Get label of the store.
  23. *
  24. * @return string
  25. */
  26. public function getStoreLabel();
  27. /**
  28. * Set label of the store.
  29. *
  30. * @param string $storeLabel
  31. * @return $this
  32. */
  33. public function setStoreLabel($storeLabel);
  34. /**
  35. * Get label which supposed to be displayed on frontend.
  36. *
  37. * @return string
  38. */
  39. public function getFrontendLabel();
  40. /**
  41. * Set label which supposed to be displayed on frontend.
  42. *
  43. * @param string $frontendLabel
  44. * @return $this
  45. */
  46. public function setFrontendLabel($frontendLabel);
  47. /**
  48. * Get the note attribute for the element.
  49. *
  50. * @return string
  51. */
  52. public function getNote();
  53. /**
  54. * Set the note attribute for the element.
  55. *
  56. * @param string $note
  57. * @return $this
  58. */
  59. public function setNote($note);
  60. }