You are here

class SmsMessageReportStatus in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Message/SmsMessageReportStatus.php \Drupal\sms\Message\SmsMessageReportStatus
  2. 2.x src/Message/SmsMessageReportStatus.php \Drupal\sms\Message\SmsMessageReportStatus

Defines states for SMS message reports.

Hierarchy

Expanded class hierarchy of SmsMessageReportStatus

7 files declare their use of SmsMessageReportStatus
Memory.php in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php
SmsDeliveryReport.php in src/Entity/SmsDeliveryReport.php
SmsFrameworkDeliveryReportEntityTest.php in tests/src/Kernel/SmsFrameworkDeliveryReportEntityTest.php
SmsFrameworkDeliveryReportTest.php in tests/src/Functional/SmsFrameworkDeliveryReportTest.php
SmsFrameworkDeliveryReportUpdateTest.php in tests/src/Kernel/SmsFrameworkDeliveryReportUpdateTest.php

... See full list

File

src/Message/SmsMessageReportStatus.php, line 10

Namespace

Drupal\sms\Message
View source
class SmsMessageReportStatus extends SmsMessageStatus {

  /**
   * Message was queued for sending.
   */
  const QUEUED = 'queued';

  /**
   * Message was successfully delivered to the recipient.
   */
  const DELIVERED = 'delivered';

  /**
   * Message expired and was not sent.
   */
  const EXPIRED = 'expired';

  /**
   * Message was rejected by the gateway.
   */
  const REJECTED = 'rejected';

  /**
   * Indicates a recipient of the message is invalid.
   */
  const INVALID_RECIPIENT = 'invalid_recipient';

  /**
   * Content of message invalid or not supported by gateway.
   */
  const CONTENT_INVALID = 'content_invalid';

}

Members

Namesort descending Modifiers Type Description Overrides
SmsMessageReportStatus::CONTENT_INVALID constant Content of message invalid or not supported by gateway.
SmsMessageReportStatus::DELIVERED constant Message was successfully delivered to the recipient.
SmsMessageReportStatus::EXPIRED constant Message expired and was not sent.
SmsMessageReportStatus::INVALID_RECIPIENT constant Indicates a recipient of the message is invalid.
SmsMessageReportStatus::QUEUED constant Message was queued for sending.
SmsMessageReportStatus::REJECTED constant Message was rejected by the gateway.
SmsMessageStatus::ERROR constant Message could not be processed due to an unknown problem with the gateway.