Class dosamigos\nexmo\Object

Inheritancedosamigos\nexmo\Object » yii\base\Object
Subclassesdosamigos\nexmo\DeliveryReceipt, dosamigos\nexmo\InboundMessage
Class Object is the base calls for dosamigos\nexmo\DeliveryReceipt and dosamigos\nexmo\InboundMessage objects.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined 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

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor override. Required to transform the parameter names to variable names. dosamigos\nexmo\Object

Property Details

$messageId public property

The message ID.

$messageTimestamp public property

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

$msisdn public property
string $msisdn null

The number message was delivered to.

$networkCode public property

The optional identifier of a mobile network MCCMNC.

See also http://en.wikipedia.org/wiki/Mobile_Network_Code.

$to public property
string $to null

The sender id of the message

Method Details

__construct() public method

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