![]() 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/AdminHistory/Api/Data/ |
<?php /** * Copyright (c) 2020 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved. * https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * Cnc * Radosław Stępień <[email protected]> <[email protected]> */ declare(strict_types=1); namespace Cnc\AdminHistory\Api\Data; use Magento\Framework\Api\ExtensibleDataInterface; /** * Interface ProductInterface */ interface ProductInterface extends ExtensibleDataInterface { const ENTITY_ID = 'entity_id'; const PRODUCT_ID = 'product_id'; const ATTRIBUTE_CODE = 'attribute_code'; const OLD_VALUE = 'old_value'; const NEW_VALUE = 'new_value'; const UPDATED_AT = 'updated_at'; const USER = 'user'; /** * @return int */ public function getEntityId(): ?int; /** * @param int $id * @return ProductInterface */ public function setEntityId($id): self; /** * @return int */ public function getProductId(): ?int; /** * @param int $id * @return ProductInterface */ public function setProductId($id): self; /** * @return string|null */ public function getAttributeCode(): ?string; /** * @param string $attributeCode * @return ProductInterface */ public function setAttributeCode(string $attributeCode): self; /** * @return string|null */ public function getOldValue(): ?string; /** * @param string $value * @return ProductInterface */ public function setOldValue(string $value): self; /** * @return string|null */ public function getNewValue(): ?string; /** * @param string $value * @return ProductInterface */ public function setNewValue(string $value): self; /** * @return string|null */ public function getUpdatedAt(): ?string; /** * @param string $timestamp * @return ProductInterface */ public function setUpdatedAt(string $timestamp): self; /** * @return string|null */ public function getUser(): ?string; /** * @param string $user * @return ProductInterface */ public function setUser(string $user): self; }