![]() 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/Model/Queue/ |
<?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\Model\Queue; use Magento\Framework\Model\AbstractModel; use Webkul\PrivateShop\Api\Data\MessageInterface; class Message extends AbstractModel implements MessageInterface { /** * @var string */ protected $_eventPrefix = 'webkul_queue_message'; /** * @inheritdoc */ protected function _construct() { $this->_init(\Webkul\PrivateShop\Model\ResourceModel\Queue\Message::class); } /** * @inheritdoc */ public function getCreatedAt() { return $this->getData(MessageInterface::CREATED_AT); } /** * @inheritdoc */ public function setCreatedAt($timestamp) { $this->setData(MessageInterface::CREATED_AT, $timestamp); return $this; } /** * @inheritdoc */ public function getUpdatedAt() { return $this->getData(MessageInterface::UPDATED_AT); } /** * @inheritdoc */ public function setUpdatedAt($timestamp) { $this->setData(MessageInterface::UPDATED_AT, $timestamp); return $this; } /** * @inheritdoc */ public function getStatus() { return $this->getData(MessageInterface::STATUS); } /** * @inheritdoc */ public function setStatus($status) { $this->setData(MessageInterface::STATUS, $status); return $this; } /** * @inheritdoc */ public function getRetries() { return $this->getData(MessageInterface::RETRIES); } /** * @inheritdoc */ public function setRetries($retries) { $this->setData(MessageInterface::RETRIES, $retries); return $this; } /** * @inheritdoc */ public function getQueueName() { return $this->getData(MessageInterface::QUEUE_NAME); } /** * @inheritdoc */ public function setQueueName($queueName) { $this->setData(MessageInterface::QUEUE_NAME, $queueName); return $this; } /** * @inheritdoc */ public function getMessageBody() { return $this->getData(MessageInterface::MESSAGE_BODY); } /** * @inheritdoc */ public function setMessageBody($messageBody) { $this->setData(MessageInterface::MESSAGE_BODY, $messageBody); return $this; } }