getCreditNoteCreditNoteApplications function
Future<ApiResponse<CreditNoteApplications> >
getCreditNoteCreditNoteApplications(
- ExsitedClient client,
- Object creditNoteId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/credit_notes/{credit_note_id}/credit_note_applications
A credit note's applications, under credit_note.applications; not a paged
listing.
Implementation
Future<ApiResponse<CreditNoteApplications>> getCreditNoteCreditNoteApplications(
ExsitedClient client,
Object creditNoteId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(CreditNotesUrls.creditNoteCreditNoteApplications,
pathParams: {'credit_note_id': creditNoteId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: CreditNoteApplications.fromMap);