![]() 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/cartforge.co/app/code/Webkul/PrivateShop/Api/Data/ |
<?php /** * Webkul Software * * @category Webkul * @package Webkul_PrivateShop * @author Webkul Software Private Limited * @copyright Webkul Software Private Limited (https://webkul.com) * @license https://store.webkul.com/license.html */ namespace Webkul\PrivateShop\Api\Data; interface MessageInterface { public const STATUS_TO_PROCESS = 0; public const STATUS_MAX_RETRIES_EXCEEDED = 1; public const RETRIES = 'retries'; public const QUEUE_NAME = 'queue_name'; public const MESSAGE_BODY = 'message_body'; public const ENTITY_ID = 'entity_id'; public const CREATED_AT = 'created_at'; public const UPDATED_AT = 'updated_at'; public const STATUS = 'status'; /** * Gets the entity ID. * * @return int|null Entity ID. */ public function getEntityId(); /** * Sets entity ID. * * @param int $entityId * @return $this */ public function setEntityId($entityId); /** * Gets creation timestamp. * * @return string */ public function getCreatedAt(); /** * Sets creation timestamp. * * @param string $timestamp * @return $this */ public function setCreatedAt($timestamp); /** * Gets last update timestamp. * * @return string */ public function getUpdatedAt(); /** * Sets last update timestamp. * * @param string $timestamp * @return $this */ public function setUpdatedAt($timestamp); /** * Gets the message status. * * @return int */ public function getStatus(); /** * Sets the message status. * * @param int $status * @return $this */ public function setStatus($status); /** * Gets the retries count. * * @return int */ public function getRetries(); /** * Sets retries count. * * @param int $retries * @return $this */ public function setRetries($retries); /** * Gets the queue name. * * @return string */ public function getQueueName(); /** * Sets the queue name. * * @param string $queueName * @return $this */ public function setQueueName($queueName); /** * Gets the message body. * * @return string */ public function getMessageBody(); /** * Sets the message body. * * @param string $messageBody * @return $this */ public function setMessageBody($messageBody); }