![]() 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/amasty/product-attachment/Api/Data/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Product Attachments Base for Magento 2 */ namespace Amasty\ProductAttachment\Api\Data; interface IconInterface { /**#@+ * Constants defined for keys of data array */ public const ICON_ID = 'icon_id'; public const FILE_TYPE = 'filetype'; public const IMAGE = 'image'; public const IS_ACTIVE = 'is_active'; public const EXTENSION = 'extension'; public const ATTACHMENT_TYPE = 'attachment_type'; /**#@-*/ /** * @return int */ public function getIconId(); /** * @param int $iconId * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setIconId($iconId); /** * @return string */ public function getFileType(); /** * @param string $fileType * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setFileType($fileType); /** * @return string */ public function getImage(); /** * @param string $image * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setImage($image); /** * @return bool */ public function isActive(); /** * @param bool $isActive * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setIsActive($isActive); /** * @return array */ public function getExtension(); /** * @param array $extensions * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setExtension($extensions); /** * @return int */ public function getAttachmentType(): int; /** * @param int $type * * @return \Amasty\ProductAttachment\Api\Data\IconInterface */ public function setAttachmentType(int $type): IconInterface; }