![]() 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/magento/module-gift-message/Api/Data/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\GiftMessage\Api\Data; /** * Interface MessageInterface * @api * @since 100.0.2 */ interface MessageInterface extends \Magento\Framework\Api\ExtensibleDataInterface { /**#@+ * Constants for keys of data array. Identical to the name of the getter in snake case */ const GIFT_MESSAGE_ID = 'gift_message_id'; const CUSTOMER_ID = 'customer_id'; const SENDER = 'sender'; const RECIPIENT = 'recipient'; const MESSAGE = 'message'; /**#@-*/ /** * Return the gift message ID. * * @return int|null Gift message ID. Otherwise, null. */ public function getGiftMessageId(); /** * Set the gift message ID. * * @param int|null $id * @return $this */ public function setGiftMessageId($id); /** * Return the customer ID. * * @return int|null Customer ID. Otherwise, null. */ public function getCustomerId(); /** * Set the customer ID. * * @param int|null $id * @return $this */ public function setCustomerId($id); /** * Return the sender name. * * @return string Sender name. */ public function getSender(); /** * Set the sender name. * * @param string $sender * @return $this */ public function setSender($sender); /** * Return the recipient name. * * @return string Recipient name. */ public function getRecipient(); /** * Get the recipient name. * * @param string $recipient * @return $this */ public function setRecipient($recipient); /** * Return the message text. * * @return string Message text. */ public function getMessage(); /** * Set the message text. * * @param string $message * @return $this */ public function setMessage($message); /** * Retrieve existing extension attributes object or create a new one. * * @return \Magento\GiftMessage\Api\Data\MessageExtensionInterface|null */ public function getExtensionAttributes(); /** * Set an extension attributes object. * * @param \Magento\GiftMessage\Api\Data\MessageExtensionInterface $extensionAttributes * @return $this */ public function setExtensionAttributes( \Magento\GiftMessage\Api\Data\MessageExtensionInterface $extensionAttributes ); }