Skip to content

CreditNoteService should implemented INestedListable? #2022

Open
@clement911

Description

CreditNoteService can list its nested lines in a separate endpoint, currently implemented with ListLineItems().
To be consistent with the other nested services, shouldn't it implement INestedListable?
It would allow for generic code to handle nested pages consistently.

I guess CreditNoteService is unique in the sense that it is used to list both credit notes and credit note lines. That seems to be just a consequence of how the docs are structured. I guess a separate CreditNoteLineService could make sense also?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions