public function addNote(Note $note)
    {
        $this->connection()->post($this->endpoint . '/' . $this->id . '/notes',
            $note->jsonWithNamespace()
        );

        return $this;
    }
public function addNote(Note $note)
    {
        $this->connection()->post($this->endpoint . '/' . $this->id . '/notes',
            $note->jsonWithNamespace()
        );

        return $this;
    }
public function addNote ( Note $ note ) { $ this -> connection ( ) -> post ( $ this -> endpoint . '/' . $ this -> id . '/notes' , $ note -> jsonWithNamespace ( ) ) ; return $ this ; }
Add a note to the current invoice.

@param Note $note
@return $this
@throws ApiException
Add a note to the current invoice .