getCreditNoteApplication function

Future<ApiResponse<CreditNoteApplicationRead>> getCreditNoteApplication(
  1. ExsitedClient client,
  2. Object creditNoteApplicationId, {
  3. Map<String, Object?>? queryParams,
  4. bool? raiseOnError,
  5. String? responseFormat,
})

GET /api/{api_version}/credit_note_applications/{credit_note_application_id}

Implementation

Future<ApiResponse<CreditNoteApplicationRead>> getCreditNoteApplication(
  ExsitedClient client,
  Object creditNoteApplicationId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(CreditNoteApplicationsUrls.creditNoteApplication,
        pathParams: {'credit_note_application_id': creditNoteApplicationId},
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: CreditNoteApplicationRead.fromMap);