12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\ConfigurableProduct\Api\Data;
- /**
- * Interface ConfigurableItemOptionValueInterface
- * @api
- * @since 100.0.2
- */
- interface ConfigurableItemOptionValueInterface extends \Magento\Framework\Api\ExtensibleDataInterface
- {
- /**#@+
- * Constants defined for keys of array, makes typos less likely
- */
- const OPTION_ID = 'option_id';
- const OPTION_VALUE = 'option_value';
- /**#@-*/
- /**
- * Get option SKU
- *
- * @return string
- */
- public function getOptionId();
- /**
- * Set option SKU
- *
- * @param string $value
- * @return void
- */
- public function setOptionId($value);
- /**
- * Get item id
- *
- * @return int|null
- */
- public function getOptionValue();
- /**
- * Set item id
- *
- * @param int|null $value
- * @return void
- */
- public function setOptionValue($value);
- /**
- * Retrieve existing extension attributes object or create a new one.
- *
- * @return \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface|null
- */
- public function getExtensionAttributes();
- /**
- * Set an extension attributes object.
- *
- * @param \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes
- * @return $this
- */
- public function setExtensionAttributes(
- \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes
- );
- }
|