_timestamp = $message->getMandatoryField("Timestamp"); $this->_releaseEnvironment = $message->getMandatoryField("ReleaseEnvironment"); $this->_notificationReferenceId = $message->getMandatoryField("NotificationReferenceId"); parent::__construct($parentNotificationMetadata); } /** * Message timestamp * * @return string timestamp */ public function getTimestamp() { return $this->_timestamp; } /** * Notification Reference identifier * * @return string notification reference id */ public function getNotificationReferenceId() { return $this->_notificationReferenceId; } /** * Release envionment of this notification * Can be sandbox or live * * @return string release environment name */ public function getReleaseEnvironment() { return $this->_releaseEnvironment; } /** * Return the implementation type of NotificationMetadata * * @return string type of message information */ public function getNotificationMetadataType() { return self::SOURCE_MESSAGE_TYPE; } } ?>