CustomAttributeNestedDataObject.php 829 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestModuleMSC\Model\Data;
  7. use Magento\TestModuleMSC\Api\Data\CustomAttributeNestedDataObjectInterface;
  8. /**
  9. * Class CustomAttributeNestedDataObject
  10. *
  11. * @method \Magento\TestModuleMSC\Api\Data\CustomAttributeNestedDataObjectExtensionInterface getExtensionAttributes()
  12. */
  13. class CustomAttributeNestedDataObject extends \Magento\Framework\Model\AbstractExtensibleModel implements
  14. CustomAttributeNestedDataObjectInterface
  15. {
  16. /**
  17. * @return string
  18. */
  19. public function getName()
  20. {
  21. return $this->_data['name'];
  22. }
  23. /**
  24. * @param string $name
  25. * @return $this
  26. */
  27. public function setName($name)
  28. {
  29. return $this->setData('name', $name);
  30. }
  31. }