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/app/code/Cnc/Checkout/Model/Data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Cnc/Checkout/Model/Data/DeliveryEstimationData.php
<?php

namespace Cnc\Checkout\Model\Data;

use Cnc\Checkout\Api\Data\DeliveryEstimationInterface;
use Magento\Framework\DataObject;

class DeliveryEstimationData extends DataObject implements DeliveryEstimationInterface
{
    /**
     * @inheritDoc
     */
    public function getEntityId(): ?int
    {
        return $this->getData(self::ENTITY_ID) === null ? null
            : (int)$this->getData(self::ENTITY_ID);
    }

    /**
     * @inheritDoc
     */
    public function setEntityId(?int $entityId): void
    {
        $this->setData(self::ENTITY_ID, $entityId);
    }

    /**
     * @inheritDoc
     */
    public function getCountryCode(): ?string
    {
        return $this->getData(self::COUNTRY_CODE);
    }

    /**
     * @inheritDoc
     */
    public function setCountryCode(?string $countryCode): void
    {
        $this->setData(self::COUNTRY_CODE, $countryCode);
    }

    /**
     * @inheritDoc
     */
    public function getCountryName(): ?string
    {
        return $this->getData(self::COUNTRY_NAME);
    }

    /**
     * @inheritDoc
     */
    public function setCountryName(?string $countryName): void
    {
        $this->setData(self::COUNTRY_NAME, $countryName);
    }

    /**
     * @inheritDoc
     */
    public function getEstimation(): ?string
    {
        return $this->getData(self::ESTIMATION);
    }

    /**
     * @inheritDoc
     */
    public function setEstimation(?string $estimation): void
    {
        $this->setData(self::ESTIMATION, $estimation);
    }
}

Spamworldpro Mini