xero-php-oauth2 icon indicating copy to clipboard operation
xero-php-oauth2 copied to clipboard

deleteCreditNoteAllocations has incorrect return type Allocation instead of Allocations

Open MasonD opened this issue 2 years ago • 2 comments

SDK you're using (please complete the following information):

  • Version 2.23.2

Describe the bug deleteCreditNoteAllocations returns an (empty) Allocation object, but the DELETE /CreditNotes/{CreditNoteID}/Allocations/{AllocationID} endpoint actually returns an Allocation**s** collection.

To Reproduce Steps to reproduce the behavior: Call deleteCreditNoteAllocations. Observe that the return value is a null-filled Allocation object.

Expected behavior The return value of deleteCreditNoteAllocations is an Allocations collection.

MasonD avatar Jan 16 '24 00:01 MasonD

PETOSS-383

github-actions[bot] avatar Jan 16 '24 00:01 github-actions[bot]

Thanks for raising an issue, a ticket has been created to track your request

github-actions[bot] avatar Jan 16 '24 00:01 github-actions[bot]