deleteRefundNoteFile function

Future<ApiResponse<Object?>> deleteRefundNoteFile(
  1. ExsitedClient client,
  2. Object refundId,
  3. Object noteId,
  4. Object fileId, {
  5. bool? raiseOnError,
  6. String? responseFormat,
})

DELETE /api/{api_version}/refunds/{refund_id}/notes/{note_id}/files/{file_id}

Delete one attachment, by the attachment's uuid; 204.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteRefundNoteFile(
  ExsitedClient client,
  Object refundId,
  Object noteId,
  Object fileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(RefundsUrls.refundNoteFile,
        pathParams: {
          'refund_id': refundId,
          'note_id': noteId,
          'file_id': fileId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);