Class dosamigos\nexmo\Object
Inheritance | dosamigos\nexmo\Object » yii\base\Object |
---|---|
Subclasses | dosamigos\nexmo\DeliveryReceipt, dosamigos\nexmo\InboundMessage |
Class Object is the base calls for dosamigos\nexmo\DeliveryReceipt and dosamigos\nexmo\InboundMessage objects.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$messageId | string | The message ID. | dosamigos\nexmo\Object |
$messageTimestamp | string | When Nexmo started to push the receipt to your callback URL in the following format YYYY-MM-DD HH:MM:SS e. | dosamigos\nexmo\Object |
$msisdn | string | The number message was delivered to. | dosamigos\nexmo\Object |
$networkCode | string | The optional identifier of a mobile network MCCMNC. | dosamigos\nexmo\Object |
$to | string | The sender id of the message | dosamigos\nexmo\Object |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructor override. Required to transform the parameter names to variable names. | dosamigos\nexmo\Object |
Property Details
The message ID.
When Nexmo started to push the receipt to your callback URL in the following format YYYY-MM-DD HH:MM:SS e.g. 2012-04-05 09:22:57
The number message was delivered to.
The optional identifier of a mobile network MCCMNC.
See also http://en.wikipedia.org/wiki/Mobile_Network_Code.
The sender id of the message
Method Details
Constructor override. Required to transform the parameter names to variable names.
From \yii\base\Object: The default implementation does two things:
- Initializes the object with the given configuration
$config
. - Call init().
If this method is overridden in a child class, it is recommended that
- the last parameter of the constructor is a configuration array, like
$config
here. - call the parent implementation at the end of the constructor.
void __construct( $config = [] ) | ||
$config | array |