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/wyomind/msicustomattributes/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/wyomind/msicustomattributes/Model/CustomAttributeValue.php
<?php

/**
 * Copyright © 2020 Wyomind. All rights reserved.
 * See LICENSE.txt for license details.
 */

declare(strict_types=1);

namespace Wyomind\MsiCustomAttributes\Model;

use Wyomind\MsiCustomAttributes\Api\Data\CustomAttributeValueExtensionInterface;
use Wyomind\MsiCustomAttributes\Api\Data\CustomAttributeValueInterface;
use Magento\Framework\Model\AbstractExtensibleModel;

/**
 * @inheritdoc
 */
class CustomAttributeValue extends AbstractExtensibleModel implements CustomAttributeValueInterface
{

    /**
     *
     */
    protected function _construct()
    {
        $this->_init('Wyomind\MsiCustomAttributes\Model\ResourceModel\CustomAttributeValue');
    }

    /**
     * @return int|null
     */
    public function getValueId(): ?int
    {

        return $this->getData(self::VALUE_ID);
    }

    /**
     * @param int $valueId
     */
    public function setValueId(int $valueId): void
    {
        $this->setData(self::VALUE_ID, $valueId);
    }

    /**
     * @inheritdoc
     */
    public function getSourceCode(): ?string
    {
        return $this->getData(self::SOURCE_CODE);
    }

    /**
     * @inheritdoc
     */
    public function setSourceCode(string $sourceCode): void
    {
        $this->setData(self::SOURCE_CODE, $sourceCode);
    }


    /**
     * @inheritdoc
     */
    public /**
         * @return null|string
         */
    function getSku(): ?string
    {
        return $this->getData(self::SKU);
    }

    /**
     * @inheritdoc
     */
    public /**
         * @param string $sku
         */
    function setSku(
        string $sku
    ): void {
    
        $this->setData(self::SKU, $sku);
    }

    /**
     * @return null|string
     */
    public function getValue(): ?string
    {
        return $this->getData(self::VALUE);
    }

    /**
     * @param string|null $value
     */
    public function setValue(?string $value): void
    {
        $this->setData(self::VALUE, $value);
    }

    /**
     * @return int|null
     */
    public function getAttributeId(): ?int
    {
        return $this->getData(self::ATTRIBUTE_ID);
    }

    /**
     * @param int|null $attributeId
     */
    public function setAttributeId(?int $attributeId): void
    {
        $this->setData(self::ATTRIBUTE_ID, $attributeId);
    }
}

Spamworldpro Mini