class SmsMessageResultStatus in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageResultStatus.php \Drupal\sms\Message\SmsMessageResultStatus
- 2.1.x src/Message/SmsMessageResultStatus.php \Drupal\sms\Message\SmsMessageResultStatus
Defines states for SMS message results.
Usually setting a status on a result indicates something went wrong with the entire transaction.
Hierarchy
- class \Drupal\sms\Message\SmsMessageStatus
- class \Drupal\sms\Message\SmsMessageResultStatus
Expanded class hierarchy of SmsMessageResultStatus
1 file declares its use of SmsMessageResultStatus
- SmsFrameworkMessageResultEntityTest.php in tests/
src/ Kernel/ SmsFrameworkMessageResultEntityTest.php
File
- src/
Message/ SmsMessageResultStatus.php, line 11
Namespace
Drupal\sms\MessageView source
class SmsMessageResultStatus extends SmsMessageStatus {
/**
* Account error.
*
* Some configuration is required that can only be resolved on the gateway
* end.
*/
const ACCOUNT_ERROR = 'account_error';
/**
* Too many requests.
*/
const EXCESSIVE_REQUESTS = 'flooded';
/**
* Message could not be processed due to low credit.
*/
const NO_CREDIT = 'no_credit';
/**
* Indicates the sender ID is invalid.
*/
const INVALID_SENDER = 'invalid_sender';
/**
* Failed to authenticate with gateway.
*/
const AUTHENTICATION = 'authentication';
/**
* Invalid or missing request parameters.
*/
const PARAMETERS = 'parameters';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SmsMessageResultStatus:: |
constant | Account error. | ||
SmsMessageResultStatus:: |
constant | Failed to authenticate with gateway. | ||
SmsMessageResultStatus:: |
constant | Too many requests. | ||
SmsMessageResultStatus:: |
constant | Indicates the sender ID is invalid. | ||
SmsMessageResultStatus:: |
constant | Message could not be processed due to low credit. | ||
SmsMessageResultStatus:: |
constant | Invalid or missing request parameters. | ||
SmsMessageStatus:: |
constant | Message could not be processed due to an unknown problem with the gateway. |