You are here

public function SmsDeliveryReport::getMessageId in SMS Framework 2.1.x

Same name in this branch
  1. 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::getMessageId()
  2. 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getMessageId()
Same name and namespace in other branches
  1. 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getMessageId()
  2. 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getMessageId()

Gets the gateway tracking ID for the message.

Return value

string|null The gateway tracking ID for the message, or NULL if there is no tracking ID.

Overrides SmsDeliveryReportInterface::getMessageId

File

src/Entity/SmsDeliveryReport.php, line 48

Class

SmsDeliveryReport
Defines the SMS message delivery report entity.

Namespace

Drupal\sms\Entity

Code

public function getMessageId() {
  return $this
    ->get('message_id')->value;
}