CreditNoteService should implemented INestedListable? #2022
Open
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
Labels
No labels