TaxRateTitleInterface.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Tax\Api\Data;
  8. /**
  9. * Tax rate title interface.
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface TaxRateTitleInterface extends \Magento\Framework\Api\ExtensibleDataInterface
  14. {
  15. /**
  16. * Get store id
  17. *
  18. * @return string
  19. */
  20. public function getStoreId();
  21. /**
  22. * Set store id
  23. *
  24. * @param string $storeId
  25. * @return $this
  26. */
  27. public function setStoreId($storeId);
  28. /**
  29. * Get title value
  30. *
  31. * @return string
  32. */
  33. public function getValue();
  34. /**
  35. * Set title value
  36. *
  37. * @param string $value
  38. * @return string
  39. */
  40. public function setValue($value);
  41. /**
  42. * Retrieve existing extension attributes object or create a new one.
  43. *
  44. * @return \Magento\Tax\Api\Data\TaxRateTitleExtensionInterface|null
  45. */
  46. public function getExtensionAttributes();
  47. /**
  48. * Set an extension attributes object.
  49. *
  50. * @param \Magento\Tax\Api\Data\TaxRateTitleExtensionInterface $extensionAttributes
  51. * @return $this
  52. */
  53. public function setExtensionAttributes(\Magento\Tax\Api\Data\TaxRateTitleExtensionInterface $extensionAttributes);
  54. }