![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Api/Test/Unit/Code/Generator/_files/ |
namespace Magento\Catalog\Api\Data; /** * Extension class for @see \Magento\Catalog\Api\Data\ProductInterface */ class ProductExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ProductExtensionInterface { /** * @return string|null */ public function getStringAttribute() { return $this->_get('string_attribute'); } /** * @param string $stringAttribute * @return $this */ public function setStringAttribute($stringAttribute) { $this->setData('string_attribute', $stringAttribute); return $this; } /** * @return \Magento\Bundle\Api\Data\OptionInterface[]|null */ public function getComplexObjectAttribute() { return $this->_get('complex_object_attribute'); } /** * @param \Magento\Bundle\Api\Data\OptionInterface[] $complexObjectAttribute * @return $this */ public function setComplexObjectAttribute($complexObjectAttribute) { $this->setData('complex_object_attribute', $complexObjectAttribute); return $this; } /** * @return \Magento\Bundle\Api\Data\BundleOptionInterface|null */ public function getComplexObjectAttributeWithTypeDeclaration() { return $this->_get('complex_object_attribute_with_type_declaration'); } /** * @param \Magento\Bundle\Api\Data\BundleOptionInterface $complexObjectAttributeWithTypeDeclaration * @return $this */ public function setComplexObjectAttributeWithTypeDeclaration(\Magento\Bundle\Api\Data\BundleOptionInterface $complexObjectAttributeWithTypeDeclaration) { $this->setData('complex_object_attribute_with_type_declaration', $complexObjectAttributeWithTypeDeclaration); return $this; } }