public function setNotificationUrl($notificationUrl) { if (!empty($notificationUrl) && ctype_print($notificationUrl)) { $this->notificationUrl = trim($notificationUrl); } return $this; }