1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Quote\Model\Cart;
- use Magento\Quote\Api\Data\TotalSegmentInterface;
- use Magento\Framework\Model\AbstractExtensibleModel;
- /**
- * Extensible Cart Totals
- *
- * @codeCoverageIgnore
- */
- class TotalSegment extends AbstractExtensibleModel implements TotalSegmentInterface
- {
- /**
- * {@inheritdoc}
- */
- public function getCode()
- {
- return $this->getData(self::CODE);
- }
- /**
- * {@inheritdoc}
- */
- public function setCode($code)
- {
- return $this->setData(self::CODE, $code);
- }
- /**
- * {@inheritdoc}
- */
- public function getValue()
- {
- return $this->getData(self::VALUE);
- }
- /**
- * {@inheritdoc}
- */
- public function setValue($value)
- {
- return $this->setData(self::VALUE, $value);
- }
- /**
- * {@inheritdoc}
- */
- public function getTitle()
- {
- return $this->getData(self::TITLE);
- }
- /**
- * {@inheritdoc}
- */
- public function setTitle($title = null)
- {
- return $this->setData(self::TITLE, $title);
- }
- /**
- * {@inheritdoc}
- */
- public function getArea()
- {
- return $this->getData(self::AREA);
- }
- /**
- * {@inheritdoc}
- */
- public function setArea($area = null)
- {
- return $this->setData(self::AREA, $area);
- }
- /**
- * {@inheritdoc}
- */
- public function getExtensionAttributes()
- {
- return $this->_getExtensionAttributes();
- }
- /**
- * {@inheritdoc}
- */
- public function setExtensionAttributes(
- \Magento\Quote\Api\Data\TotalSegmentExtensionInterface $extensionAttributes
- ) {
- return $this->_setExtensionAttributes($extensionAttributes);
- }
- }
|