public function toString()
    {
        $string = (string) $this->buildMessageHeader();

        foreach ($this->segments as $segment) {
            $string .= (string) $segment;
        }

        return $string;
    }
public function toString()
    {
        $string = (string) $this->buildMessageHeader();

        foreach ($this->segments as $segment) {
            $string .= (string) $segment;
        }

        return $string;
    }
public function toString ( ) { $ string = ( string ) $ this -> buildMessageHeader ( ) ; foreach ( $ this -> segments as $ segment ) { $ string .= ( string ) $ segment ; } return $ string ; }
Transform message to HBCI string.

@return string
Transform message to HBCI string .