![]() 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-checkout/Model/ |
<?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\ShippingInformationInterface; /** * @codeCoverageIgnoreStart */ class ShippingInformation extends AbstractExtensibleModel implements ShippingInformationInterface { /** * {@inheritdoc} */ public function getShippingAddress() { return $this->getData(self::SHIPPING_ADDRESS); } /** * {@inheritdoc} */ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $address) { return $this->setData(self::SHIPPING_ADDRESS, $address); } /** * {@inheritdoc} */ public function getBillingAddress() { return $this->getData(self::BILLING_ADDRESS); } /** * {@inheritdoc} */ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $address) { return $this->setData(self::BILLING_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\ShippingInformationExtensionInterface $extensionAttributes ) { return $this->_setExtensionAttributes($extensionAttributes); } }