123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Sales\Model\Order;
- use Magento\Sales\Api\Data\TotalInterface;
- use Magento\Framework\Model\AbstractExtensibleModel;
- class ShippingTotal extends AbstractExtensibleModel implements TotalInterface
- {
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingAmount()
- {
- return $this->_getData(self::BASE_SHIPPING_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingCanceled()
- {
- return $this->_getData(self::BASE_SHIPPING_CANCELED);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingDiscountAmount()
- {
- return $this->_getData(self::BASE_SHIPPING_DISCOUNT_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingDiscountTaxCompensationAmnt()
- {
- return $this->_getData(self::BASE_SHIPPING_DISCOUNT_TAX_COMPENSATION_AMNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingInclTax()
- {
- return $this->_getData(self::BASE_SHIPPING_INCL_TAX);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingInvoiced()
- {
- return $this->_getData(self::BASE_SHIPPING_INVOICED);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingRefunded()
- {
- return $this->_getData(self::BASE_SHIPPING_REFUNDED);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingTaxAmount()
- {
- return $this->_getData(self::BASE_SHIPPING_TAX_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getBaseShippingTaxRefunded()
- {
- return $this->_getData(self::BASE_SHIPPING_TAX_REFUNDED);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingAmount()
- {
- return $this->_getData(self::SHIPPING_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingCanceled()
- {
- return $this->_getData(self::SHIPPING_CANCELED);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingDiscountAmount()
- {
- return $this->_getData(self::SHIPPING_DISCOUNT_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingDiscountTaxCompensationAmount()
- {
- return $this->_getData(self::SHIPPING_DISCOUNT_TAX_COMPENSATION_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingInclTax()
- {
- return $this->_getData(self::SHIPPING_INCL_TAX);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingInvoiced()
- {
- return $this->_getData(self::SHIPPING_INVOICED);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingRefunded()
- {
- return $this->_getData(self::SHIPPING_REFUNDED);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingTaxAmount()
- {
- return $this->_getData(self::SHIPPING_TAX_AMOUNT);
- }
- /**
- * {@inheritdoc}
- */
- public function getShippingTaxRefunded()
- {
- return $this->_getData(self::SHIPPING_TAX_REFUNDED);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingAmount($amount)
- {
- return $this->setData(self::BASE_SHIPPING_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingCanceled($baseShippingCanceled)
- {
- return $this->setData(self::BASE_SHIPPING_CANCELED, $baseShippingCanceled);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingDiscountAmount($amount)
- {
- return $this->setData(self::BASE_SHIPPING_DISCOUNT_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingDiscountTaxCompensationAmnt($amnt)
- {
- return $this->setData(self::BASE_SHIPPING_DISCOUNT_TAX_COMPENSATION_AMNT, $amnt);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingInclTax($amount)
- {
- return $this->setData(self::BASE_SHIPPING_INCL_TAX, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingInvoiced($baseShippingInvoiced)
- {
- return $this->setData(self::BASE_SHIPPING_INVOICED, $baseShippingInvoiced);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingRefunded($baseShippingRefunded)
- {
- return $this->setData(self::BASE_SHIPPING_REFUNDED, $baseShippingRefunded);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingTaxAmount($amount)
- {
- return $this->setData(self::BASE_SHIPPING_TAX_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setBaseShippingTaxRefunded($baseShippingTaxRefunded)
- {
- return $this->setData(self::BASE_SHIPPING_TAX_REFUNDED, $baseShippingTaxRefunded);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingAmount($amount)
- {
- return $this->setData(self::SHIPPING_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingCanceled($shippingCanceled)
- {
- return $this->setData(self::SHIPPING_CANCELED, $shippingCanceled);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingDiscountAmount($amount)
- {
- return $this->setData(self::SHIPPING_DISCOUNT_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingDiscountTaxCompensationAmount($amount)
- {
- return $this->setData(self::SHIPPING_DISCOUNT_TAX_COMPENSATION_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingInclTax($amount)
- {
- return $this->setData(self::SHIPPING_INCL_TAX, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingInvoiced($shippingInvoiced)
- {
- return $this->setData(self::SHIPPING_INVOICED, $shippingInvoiced);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingRefunded($shippingRefunded)
- {
- return $this->setData(self::SHIPPING_REFUNDED, $shippingRefunded);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingTaxAmount($amount)
- {
- return $this->setData(self::SHIPPING_TAX_AMOUNT, $amount);
- }
- /**
- * {@inheritdoc}
- */
- public function setShippingTaxRefunded($shippingTaxRefunded)
- {
- return $this->setData(self::SHIPPING_TAX_REFUNDED, $shippingTaxRefunded);
- }
- /**
- * {@inheritdoc}
- */
- public function getExtensionAttributes()
- {
- return $this->_getExtensionAttributes();
- }
- /**
- * {@inheritdoc}
- */
- public function setExtensionAttributes(
- \Magento\Sales\Api\Data\TotalExtensionInterface $extensionAttributes
- ) {
- return $this->_setExtensionAttributes($extensionAttributes);
- }
- }
|