def get_all_comments_of_credit_note(self, credit_note_id):
        """
        Get all comments of credit note
        This will iterate over all pages until it gets all elements.
        So if the rate limit exceeded it will throw an Exception and you will get nothing

        :param credit_note_id: the credit note id
        :return: list
        """
        return self._iterate_through_pages(
            get_function=self.get_comments_of_credit_note_per_page,
            resource=CREDIT_NOTE_COMMENTS,
            **{'credit_note_id': credit_note_id}
        )
Get all comments of credit note
        This will iterate over all pages until it gets all elements.
        So if the rate limit exceeded it will throw an Exception and you will get nothing

        :param credit_note_id: the credit note id
        :return: list