Spamworldpro Mini Shell
Spamworldpro


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-weee/Model/ProductRender/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-weee/Model/ProductRender/WeeeAdjustmentAttribute.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

namespace Magento\Weee\Model\ProductRender;

use Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeInterface;

/**
 * Price interface.
 * @api
 * @since 100.2.0
 */
class WeeeAdjustmentAttribute extends \Magento\Framework\Model\AbstractExtensibleModel implements
    WeeeAdjustmentAttributeInterface
{
    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setAttributeCode($attributeCode)
    {
        $this->setData('attribute_code', $attributeCode);
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getAttributeCode()
    {
        return $this->getData('attribute_code');
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setAmount($amount)
    {
        $this->setData('amount', $amount);
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getAmount()
    {
        return $this->getData('amount');
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getTaxAmount()
    {
        return $this->getData('tax_amount');
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setTaxAmount($taxAmount)
    {
        $this->setData('tax_amount', $taxAmount);
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setAmountExclTax($amountExclTax)
    {
        $this->setData('amount_excl_tax', $amountExclTax);
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getAmountExclTax()
    {
        return $this->getData('amount_excl_tax');
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setTaxAmountInclTax($amountInclTax)
    {
        $this->setData('tax_amount_incl_tax', $amountInclTax);
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getTaxAmountInclTax()
    {
        return $this->getData('tax_amount_incl_tax');
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function getExtensionAttributes()
    {
        $extensionAttributes = $this->_getExtensionAttributes();
        if (!$extensionAttributes) {
            return $this->extensionAttributesFactory->create(WeeeAdjustmentAttributeInterface::class);
        }
        return $extensionAttributes;
    }

    /**
     * @inheritdoc
     * @since 100.2.0
     */
    public function setExtensionAttributes(
        \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface $extensionAttributes
    ) {
        $this->_setExtensionAttributes($extensionAttributes);
    }
}

Spamworldpro Mini