getRefundNoteFile function
GET /api/{api_version}/refunds/{refund_id}/notes/{note_id}/files/{file_id}
Retrieve one attachment, by the attachment's uuid; a JSON descriptor under
file, not the file's bytes.
Implementation
Future<ApiResponse<RefundNoteFile>> getRefundNoteFile(
ExsitedClient client,
Object refundId,
Object noteId,
Object fileId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(RefundsUrls.refundNoteFile,
pathParams: {
'refund_id': refundId,
'note_id': noteId,
'file_id': fileId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: RefundNoteFile.fromMap);