smsplatform-1.0.x-dev/src/Entity/SmsDeliveryReportInterface.php
src/Entity/SmsDeliveryReportInterface.php
<?php
declare(strict_types=1);
namespace Drupal\smsplatform\Entity;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\smsplatform\Message\SmsDeliveryReportInterface as PlainDeliveryReportInterface;
/**
* Interface for SMS delivery report entity.
*/
interface SmsDeliveryReportInterface extends PlainDeliveryReportInterface, ContentEntityInterface, EntityChangedInterface {
/**
* Gets the parent SMS message entity.
*
* @return \Drupal\smsplatform\Entity\SmsMessageInterface
* The parent SMS message entity.
*/
public function getSmsMessage();
/**
* Sets the parent SMS message entity.
*
* @param \Drupal\smsplatform\Entity\SmsMessageInterface $sms_message
* The parent SMS message object.
*
* @return $this
* Returns this report object for chaining.
*/
public function setSmsMessage(SmsMessageInterface $sms_message);
}
