public function setTemplatesStatus(string $templates_status = "D") : CNabuDataObject
    {
        if ($templates_status === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$templates_status")
            );
        }
        $this->setValue('nb_messaging_lang_templates_status', $templates_status);
        
        return $this;
    }
public function setTemplatesStatus(string $templates_status = "D") : CNabuDataObject
    {
        if ($templates_status === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$templates_status")
            );
        }
        $this->setValue('nb_messaging_lang_templates_status', $templates_status);
        
        return $this;
    }
public function setTemplatesStatus ( string $ templates_status = "D" ) : CNabuDataObject { if ( $ templates_status === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$templates_status" ) ) ; } $ this -> setValue ( 'nb_messaging_lang_templates_status' , $ templates_status ) ; return $ this ; }
Sets the Messaging Lang Templates Status attribute value.
@param string $templates_status New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
Sets the Messaging Lang Templates Status attribute value .