getRefundNotes function
GET /api/{api_version}/refunds/{refund_id}/notes
List a refund's notes; a paged listing, under data.
Implementation
Future<ApiResponse<RefundNoteList>> getRefundNotes(
ExsitedClient client,
Object refundId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(RefundsUrls.refundNotes,
pathParams: {'refund_id': refundId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: RefundNoteList.fromMap);