1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Checkout\Model;
- use Magento\Framework\Model\AbstractExtensibleModel;
- use Magento\Checkout\Api\Data\TotalsInformationInterface;
- /**
- * @codeCoverageIgnoreStart
- */
- class TotalsInformation extends AbstractExtensibleModel implements TotalsInformationInterface
- {
- /**
- * {@inheritdoc}
- */
- public function getAddress()
- {
- return $this->getData(self::ADDRESS);
- }
- /**
- * {@inheritdoc}
- */
- public function setAddress(\Magento\Quote\Api\Data\AddressInterface $address)
- {
- return $this->setData(self::ADDRESS, $address);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingMethodCode()
- {
- return $this->getData(self::SHIPPING_METHOD_CODE);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingMethodCode($code)
- {
- return $this->setData(self::SHIPPING_METHOD_CODE, $code);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingCarrierCode()
- {
- return $this->getData(self::SHIPPING_CARRIER_CODE);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingCarrierCode($code)
- {
- return $this->setData(self::SHIPPING_CARRIER_CODE, $code);
- }
- /**
- * {@inheritdoc}
- */
- public function getExtensionAttributes()
- {
- return $this->_getExtensionAttributes();
- }
- /**
- * {@inheritdoc}
- */
- public function setExtensionAttributes(
- \Magento\Checkout\Api\Data\TotalsInformationExtensionInterface $extensionAttributes
- ) {
- return $this->_setExtensionAttributes($extensionAttributes);
- }
- }
|