![]() 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/module-bundle/Model/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Bundle\Model; use Magento\Framework\Model\AbstractExtensibleModel; use Magento\Bundle\Api\Data\BundleOptionInterface; class BundleOption extends AbstractExtensibleModel implements BundleOptionInterface { /**#@+ * Constants */ const OPTION_ID = 'option_id'; const OPTION_QTY = 'option_qty'; const OPTION_SELECTIONS = 'option_selections'; /**#@-*/ /** * {@inheritdoc} * @codeCoverageIgnore */ public function getOptionId() { return $this->getData(self::OPTION_ID); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function getOptionQty() { return $this->getData(self::OPTION_QTY); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function getOptionSelections() { return $this->getData(self::OPTION_SELECTIONS); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function setOptionId($optionId) { return $this->setData(self::OPTION_ID, $optionId); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function setOptionQty($optionQty) { return $this->setData(self::OPTION_QTY, $optionQty); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function setOptionSelections(array $optionSelections) { return $this->setData(self::OPTION_SELECTIONS, $optionSelections); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function getExtensionAttributes() { return $this->_getExtensionAttributes(); } /** * {@inheritdoc} * @codeCoverageIgnore */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\BundleOptionExtensionInterface $extensionAttributes) { return $this->_setExtensionAttributes($extensionAttributes); } }